using-dbt-for-analytics-engineering

using-dbt-for-analytics-engineering is a skill for Claude Code from dbt-labs/dbt-agent-skills. It costs 67 tokens per session (1,614 once invoked), scanned A, original, Apache-2.0.

A guide for using dbt, a tool that transforms warehouse data with SQL into reusable models.

In plain words
What is it for?
Creating or modifying models, sources, tests, and SQL transformations; debugging dbt projects; and assessing the impact of model changes.
Why use it?
It helps developers build and change data models carefully, test results, and spot changes that could affect downstream users.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dbt plugin — 12 skills shipped together

Good fit Creating or modifying models, sources, tests, and SQL transformations; debugging dbt projects; and assessing the impact of model changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dbt-labs/dbt-agent-skills --skill using-dbt-for-analytics-engineering
Clone the repo
git clone --depth 1 https://github.com/dbt-labs/dbt-agent-skills

Made for: Claude Code.

Or install dbt, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for using-dbt-for-analytics-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering/github.svg)](https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering)
Your own site
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for using-dbt-for-analytics-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/using-dbt-for-analytics-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk warn 14 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 106
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01614
Opus 5.5 $0.00027 $0.00646
Sonnet 5.5 $0.00013 $0.00323
Haiku 4.5 $0.00007 $0.00161

Measured 1mo ago against content hash bcbf2ea18ff5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

using-dbt-for-analytics-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/dbt/skills/using-dbt-for-analytics-engineering/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using dbt for Analytics Engineering

Core principle: Apply software engineering discipline (DRY, modularity, testing) to data transformation work through dbt's abstraction layer.

STOP — is this a breaking change to a model with consumers? Renaming, removing, or retyping a column — on a model that downstream models, exposures, or external/BI consumers depend on — is a breaking change. Do not edit it in place (that breaks those consumers the moment it deploys). REQUIRED SUB-SKILL: Use the working-with-dbt-mesh skill to roll it out with model versions (and a latest version pointer) so consumers get a migration window. Come back here for the SQL once the versioning approach is decided.

When to Use

  • Building new dbt models, sources, or tests
  • Modifying existing model logic or configurations
  • Refactoring a dbt project structure
  • Creating analytics pipelines or data transformations
  • Working with warehouse data that needs modeling

Do NOT use for:

  • Querying the semantic layer (use the answering-natural-language-questions-with-dbt skill)
  • Breaking changes to a model with consumers (column rename/remove/retype) — use the working-with-dbt-mesh skill to version the model instead of editing in place

Reference Guides

This skill includes detailed reference guides for specific techniques. Read the relevant guide when needed:

Guide Use When
references/planning-dbt-models.md Building new models - work backwards from desired output and use dbt show to validate results
references/discovering-data.md Exploring unfamiliar sources or onboarding to a project
references/writing-data-tests.md Adding tests - prioritize high-value tests over exhaustive coverage
references/debugging-dbt-errors.md Fixing project parsing, compilation, or database errors
references/evaluating-impact-of-a-dbt-model-change.md Assessing downstream effects before modifying models
references/writing-documentation.md Write documentation that doesn't just restate the column name
references/managing-packages.md Installing and managing dbt packages

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 107 lines · 67 tokens per session scan A bcbf2ea18ff5

Subscribe to this mod's changes

using-dbt-for-analytics-engineering is a skill published in the GitHub repository dbt-labs/dbt-agent-skills (746 stars, last pushed 3d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,614 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens