Skip to content
Skill

Dbt dag modeling

Guides agents through dbt manifest parsing, lineage DAGs and test coverage checks

Dbt dag modeling is an open-source agent skill for analytics and data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Dbt dag modeling

This skill points an AI coding agent at the internals of a dbt project's catalog layer. It describes how to read dbt manifest.json, run_results.json and sources.json, and how the bundled tooling derives lineage by parsing view SQL with sqlglot, without executing queries against a database. It also covers column-level lineage and ingesting OSI semantic models while keeping their joins separate from DAG edges.

The guide spells out two data contracts the agent should respect: the city.json and runs.json exports, which have validation schemas in the web layer and a byte-stable requirement for city.json at version 1. It also sets honesty rules, so unmeasured attributes such as freshness or test status are reported as unknown or with a named absence note rather than defaulted to passing.

The skill is a single SKILL.md with no scripts. It refers to source files in the tycoon-cli Python repository, so the agent is expected to work inside that codebase and have dbt artifacts available to read.

When your agent uses it

Best practices for dbt manifest parsing, model materialization, lineage DAG derivation, test coverage analysis, source freshness SLAs, and OSI semantic models.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (1 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/dbt-dag-modeling to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dbt-dag-modeling &&
cp -R "$tmp/skills/dbt-dag-modeling" ~/.claude/skills/dbt-dag-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/dbt-dag-modeling inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/dbt-dag-modeling to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dbt-dag-modeling &&
cp -R "$tmp/skills/dbt-dag-modeling" ~/.agents/skills/dbt-dag-modeling &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/dbt-dag-modeling inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/dbt-dag-modeling to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dbt-dag-modeling &&
cp -R "$tmp/skills/dbt-dag-modeling" ~/.cursor/skills/dbt-dag-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/dbt-dag-modeling inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Database-Tycoon/tycoon-cli.git --path skills/dbt-dag-modeling

Or copy the folder to ~/.gemini/skills/dbt-dag-modeling yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/dbt-dag-modeling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dbt-dag-modeling &&
cp -R "$tmp/skills/dbt-dag-modeling" ~/.copilot/skills/dbt-dag-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/dbt-dag-modeling inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git

Then copy tycoon-cli/skills/dbt-dag-modeling into your agent's skills folder as dbt-dag-modeling. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Manifest Parsing Guidance
Explains how to read dbt manifest, run results and sources artifacts in the catalog loader.
SQL Lineage Derivation
Covers deriving table and column lineage from view SQL with sqlglot, without database execution.
OSI Semantic Model Ingestion
Describes ingesting semantic models while keeping joins distinct from DAG edges.
Export Contract Boundaries
Lists the city.json and runs.json contracts and their validation locations.
Unknown-State Reporting Rules
Requires unmeasured attributes to be reported as unknown or as named absences.

Good for

  • Map upstream and downstream lineage for a dbt model
  • Check which dbt models lack test coverage
  • Review source freshness results against SLA expectations
  • Add a semantic model without mixing joins into DAG edges
  • Update the city.json export without breaking its byte-stable format

Dbt dag modeling FAQ

What does the skill need to run?

It is guidance only, with no scripts. It assumes the tycoon-cli Python codebase and dbt artifacts such as manifest.json, run_results.json and sources.json are available.

Does Dbt dag modeling execute SQL against my warehouse?

The described lineage parser uses sqlglot to parse view SQL without database execution.

How should missing data be reported?

Unmeasured attributes should be marked unknown or given an explicit named absence note, not treated as fine or passing.

How do I install Dbt dag modeling in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dbt-dag-modeling to use it in all your projects, or to .claude/skills/dbt-dag-modeling in one project.

Does Dbt dag modeling run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Dbt dag modeling?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Dbt dag modeling?

The closest alternatives to Dbt dag modeling are Building models and dashboards, Adding data sources, Data scientist, Operating pipelines and Data pipeline work.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Database-Tycoon/tycoon-cli

  1. Guides agents through branch targeting, PR steps and changelog updates for tycoon-cli

    • Open source
    • 8 GitHub stars
    • Developer tools
  2. Guides testing of tycoon-cli changes, from unit tests to subprocess and snapshot checks

    • Open source
    • 8 GitHub stars
    • Developer tools
  3. Walks maintainers through cutting a tycoon-cli release, from changelog to PyPI publish

    • Open source
    • 8 GitHub stars
    • Developer tools
  4. Registers, configures and runs data source ingestion in a tycoon project

    • Open source
    • 8 GitHub stars
    • Analytics and data
  5. Turns raw ingested data into dbt staging models and Rill dashboards in tycoon projects

    • Open source
    • 8 GitHub stars
    • Analytics and data
  6. Diagnoses broken tycoon projects: failing commands, dbt profile and DuckDB lock errors

    • Open source
    • 8 GitHub stars
    • Developer tools