dbt-labs-dbt-agent-skills
πͺMarketplaceA curated collection of Agent Skills for working with dbt, to help AI agents understand and execute dbt workflows more effectively.
Add this Marketplace
/plugin marketplace add dbt-labs/dbt-agent-skillsThen open /plugin in Claude Code to pick and install its plugins.
Plugins in this Marketplace1
README.md
View on GitHub βdbt Agent Skills
A curated collection of Agent Skills for working with dbt. These skills help AI agents understand and execute dbt workflows more effectively.
What are Agent Skills?
Agent Skills are folders of instructions, scripts, and resources that agents can discover and use to do things more accurately and efficiently.
How They Work
These skills are not slash commands or user-invoked actions. Once installed, the agent automatically loads the relevant skill when your prompt matches its use case. Just describe what you need in natural language and the agent handles the rest. See skill invocation control for more details.
What's Included
- Analytics engineering: Build and modify dbt models, write tests, explore data sources
- Semantic layer: Create metrics, dimensions, and semantic models with MetricFlow
- Platform operations: Troubleshoot job failures, configure the dbt MCP server
- Migration: Move projects from dbt Core to the Fusion engine
Installation
Claude Code
Add the dbt skills marketplace and install the skills:
/plugin marketplace add dbt-labs/dbt-agent-skills
/plugin install dbt@dbt-agent-marketplace
Other AI Clients
Use the Vercel Skills CLI to install skills from this repository.
# Preview available skills
npx skills add dbt-labs/dbt-agent-skills --list
# Install all skills
npx skills add dbt-labs/dbt-agent-skills
# Install a specific skill
npx skills add dbt-labs/dbt-agent-skills --skill using-dbt-for-analytics-engineering
# Install globally (available in all projects, stored in ~/.<agent>/skills/)
npx skills add dbt-labs/dbt-agent-skills --global
# Check for updates
npx skills check
# Update installed skills
npx skills update
The Vercel Skills CLI supports 30+ AI agents including Cursor, Cline, GitHub Copilot, and others.
Compatible Agents
These skills work with AI agents that support the Agent Skills format.
Available Skills
| Skill | Description |
|---|---|
using-dbt-for-analytics-engineering | Build and modify dbt models, debug errors, explore data sources, write tests |
adding-dbt-unit-test | Add unit tests for dbt models, practice test-driven development |
building-dbt-semantic-layer | Create semantic models, metrics, and dimensions with MetricFlow |
answering-natural-language-questions-with-dbt | Answer business questions by querying the semantic layer |
troubleshooting-dbt-job-errors | Diagnose and resolve dbt platform job failures |
configuring-dbt-mcp-server | Set up the dbt MCP server for Claude, Cursor, or VS Code |
fetching-dbt-docs | Look up dbt documentation efficiently |
migrating-dbt-core-to-fusion | Migrate dbt projects to the Fusion engine |
running-dbt-commands | Run dbt CLI commands with correct flags, selectors, and parameter formats |
Prerequisites
Most skills assume:
- dbt is installed and configured
- A dbt project with
dbt_project.ymlexists - Basic familiarity with dbt concepts (models, tests, sources)
Some skills like fetching-dbt-docs and configuring-dbt-mcp-server can be used without an existing project.
Contributing
We welcome contributions! Whether you want to add a new dbt skill, improve existing ones, or fix issues, please see our Contributing Guide.
Format Specification
All skills in this repository follow the Agent Skills specification to ensure compatibility across different agent products.
Resources
Community
- Issues: Repo
More from this repository10
Helps the AI build and change data models with dbt, a tool that turns raw data into clean tables using SQL. It writes queries, adds tests, checks results, fixes errors and warns before changes that would break things other people rely on.
Lets the AI look up dbt documentation in clean text form. dbt is a tool for transforming data in data warehouses. It adds .md to page links, searches the docs index first, and uses a search script for full-text search when needed.
Writes unit tests for dbt models. dbt is a tool for shaping data with SQL. Each test feeds in small sample data and checks the result, so mistakes are caught before the data goes live.
Helps an AI run dbt commands correctly. dbt is a tool for transforming data with SQL. It picks the right dbt program, prefers build over run so tests also run, and always limits commands to the models you choose.
Answers business questions like "What were sales last quarter?" by querying your company's data with dbt. It tries the ready-made metric definitions first, then writes its own database queries if needed.
Helps you define shared business numbers, like revenue or order count, in a dbt project. It sets up the Semantic Layer files and picks the file format that fits your dbt version.
Helps you connect AI tools like Claude Desktop, Claude Code, Cursor or VS Code to dbt, a tool for managing data transformations. It asks a few questions, writes the setup file, and checks the connection works.
Helps find why a scheduled data job in dbt Cloud failed. It reads run logs, checks recent code changes and looks at the data, then proposes a fix or writes up what it found.
Helps when you change a dbt data model that other reports or projects rely on. dbt is a tool for building data tables with SQL. It helps judge if a change will break others, add versions and access rules, and link several dbt projects together.
Guides users through migrating a dbt Core project to the Fusion engine, identifying and resolving compatibility issues automatically.