data-lineage-mapper
Skill by a5c-ai
Data Lineage Mapper extracts data lineage from SQL, dbt, Airflow, Spark, and file sources. It builds lineage graphs for impact analysis and data governance, aimed at data and analytics engineers.
Install data-lineage-mapper
Built from the published package, never by AI.
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/babysitter && mkdir -p ~/.claude/skills && cp -r /tmp/babysitter/library/specializations/data-engineering-analytics/skills/data-lineage-mapper ~/.claude/skills/data-lineage-mapperRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/babysitter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/babysitter/library/specializations/data-engineering-analytics/skills/data-lineage-mapper ~/.gemini/antigravity-cli/skills/data-lineage-mapperAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install data-lineage-mapper in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Data Lineage Mapper is an agent skill that extracts data lineage from SQL queries, dbt projects, Airflow DAGs, and Spark jobs. It generates lineage graphs that show data flow from source to destination, including column-level transformations. The skill is described as enabling impact analysis and data governance.
The skill takes a list of sources, each typed as sql, dbt, airflow, spark, or file, and can merge them with an existing lineage graph. Its output includes nodes, edges, column lineage, upstream and downstream impact, and statistics. Results can be exported for DataHub, Amundsen, Alation, OpenLineage, or JSON. The source names data engineers and analytics engineers as its target roles.
Written from the project's SKILL.md and checked against it.
What it can do
- SQL parsing for lineage extractionParses SELECT, INSERT, MERGE, and related statements to find source and target tables.
- dbt lineage integrationExtracts lineage from a dbt manifest.json file.
- Airflow task lineage mappingMaps data flows across Airflow DAG tasks.
- Spark job lineage extractionParses Spark SQL and DataFrame operations for lineage.
- Column-level lineage tracingTracks how individual columns are transformed from source to target.
- Impact analysisAssesses upstream and downstream dependencies of a table or change.
- Lineage graph generationProduces lineage graphs in visual and machine-readable form.
- Data catalog exportExports lineage to DataHub, Amundsen, Alation, OpenLineage, or JSON.
What you need
- A dbt manifest.json file for dbt lineage
- A dbt catalog.json file for column-level dbt lineage
- Airflow DAG files or Spark jobs to parse, if used
Try asking
- Map column-level lineage from this dbt manifest.json file.
- Show which downstream models a change to raw.customers would affect.
- Export this SQL INSERT lineage in OpenLineage format.
Good to know
- Views are not resolved to underlying tables unless resolveViews is enabled.
- Temporary and CTE tables are excluded unless includeTemporary is enabled.
- Column-level dbt lineage depends on catalog.json.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: library/specializations/data-engineering-analytics/skills/data-lineage-mapper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlobBashWebFetch
Alternatives to data-lineage-mapper
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
data-lineage-mapper: common questions
What sources can Data Lineage Mapper parse?
The source says it parses SQL queries, dbt projects, Airflow DAGs, Spark jobs, and files. Each source is passed with a type of sql, dbt, airflow, spark, or file.
Which data catalogs can it export to?
The source lists DataHub, Amundsen, Alation, and OpenLineage, plus a plain JSON option. The default export format is JSON.
Does it trace column-level lineage?
Yes, column-level lineage is on by default and tracks how individual columns are transformed. The source lists direct, rename, expression, aggregation, and CASE transformations.
How do I install data-lineage-mapper?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is data-lineage-mapper free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is data-lineage-mapper safe to use?
It scores 66 of 100. Grades: maintenance B, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to data-lineage-mapper?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
