← Explore all skills

DATA ENGINEERING / dbt-labs

dbt State Reuse

Configure and investigate server-backed reuse decisions separately from manifest selectors and deferral.

“Use when a user is enabling, configuring, optimizing, or debugging dbt State (the server-backed reuse mechanism that clones or skips nodes instead of rebuilding them). Use when they conflate dbt State with the `state:modified` selector or `--state` deferral. Use when asked about models rebuilding unexpectedly, views with `select *` rebuilding, volatile SQL (`current_timestamp()`, `random()`) rebuilding or not, cross-developer cloning, lag_tolerance.”

01 / THE REASONING

Why this made the selection.

  • It explains dbt State as a paid server that can skip or clone a node, and it separates that from state:modified.
  • The server receives timestamps and SQL text, not raw warehouse rows, and views are not billed as DATTs.
  • The definition explicitly separates server-backed reuse from file-manifest selectors and describes semantic/freshness decisions plus hook and volatile-SQL controls.
  • Explain why a node was built, skipped or cloned

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/dbt/skills/using-dbt-state/SKILL.md
  • README.md
  • LICENSE

Our findings

  • dbt State asks a server whether to skip, clone, or build, and it is not the state:modified selector.
  • The call requires a dbt platform account or a standalone account at app.state.dbt.com.
  • SQL text is hashed and discarded; the skill says dbt Labs cannot read the query afterwards and can never access raw data.
  • Views are never billed as DATTs, and a full build is not counted as reuse.
  • The definition explicitly separates server-backed reuse from file-manifest selectors and describes semantic/freshness decisions plus hook and volatile-SQL controls.

Not established by this review

  • The resource was not executed and its tools were not called.
  • No skill execution, authenticated service operation, or outcome benchmark was performed.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add dbt-labs/dbt-agent-skills/skills/dbt/skills/using-dbt-state

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/dbt-labs/dbt-agent-skills/tree/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/using-dbt-state
  1. Install the pinned skill directory interactively, retaining its bundled references and scripts.
  2. Check engine support and account configuration; distinguish dbt State from state:modified and --state.
  3. Review lag tolerance, volatile-function evaluation and hook settings, then inspect the version-appropriate decision diagnostics.

Before you start

  • A compatible dbt project and the selected CLI/MCP capabilities
  • Warehouse or platform credentials only for operations that require them

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Pinned skill definition ↗Checked

    https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/using-dbt-state/SKILL.md

    Supports: summary, whySelected, bestFor, limitations, install, access, review

  2. https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/README.md

    Supports: install

  3. Apache-2.0 licence ↗Checked

    https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/LICENSE

    Supports: license

  4. https://raw.githubusercontent.com/dbt-labs/dbt-agent-skills/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/using-dbt-state/SKILL.md

    Supports: upstreamDescription, review.notTested, review.reviewedAt

Evidence & Ask