CtrlK
BlogDocsLog inGet started
Tessl Logo

dbt-labs/dbt-agent-skills

A curated collection of Agent Skills for working with dbt, to help AI agents understand and execute dbt workflows more effectively.

90

Quality

90%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

setup-fusion.mdskills/dbt-extras/skills/using-dbt-index/references/

Setup: dbt Fusion Path

Use this when the project runs dbt Fusion.

Key insight

Adding --write-index (or setting DBT_USE_INDEX=1) to any Fusion command automatically generates the Parquet index as part of that command — there is no separate ingest step. The index is written after compilation, with ~2ms overhead.

Creating the index

Just add --write-index to your normal Fusion commands:

dbtf parse --write-index
dbtf build --write-index
dbtf run --write-index
dbtf test --write-index

Or set DBT_USE_INDEX=1 once so every Fusion command keeps the index fresh automatically:

export DBT_USE_INDEX=1

The index is written to target/index/ by default. Specifying a different location with --index-dir (or DBT_INDEX_DIR) is rarely needed — the default works in almost all cases:

dbtf parse --write-index --index-dir /path/to/index

Environment variables

FlagEnvironment variableDescription
--write-indexDBT_USE_INDEX=1Write parquet index alongside JSON artifacts
--index-dirDBT_INDEX_DIR=/path/to/indexDirectory for index output (default: <target>/index/)

Verify

dbt-index status

Keeping the index fresh

Since --write-index is additive to normal commands, the index stays fresh automatically as long as the flag (or env var) is set. Every dbtf build, dbtf run, etc. refreshes the index.

Differences from Core path

  • No separate dbt-index ingest step needed — index is generated as part of the command
  • Faster write path (Arrow → Parquet directly, ~2ms vs ~100ms)
  • Column lineage: Fusion's compile-time static analysis populates dbt.column_lineage with richer data
  • Everything else is identical — same commands, same schemas, same query surface

skills

CHANGELOG.md

CLAUDE.md

CONTRIBUTING.md

README.md

RELEASING.md

tile.json