Running Dbt Commands
This skill executes dbt commands directly from your workflow, streamlining transformations and automating your data build process for faster insights.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add running-dbt-commands npx -- -y @trustedskills/running-dbt-commands
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"running-dbt-commands": {
"command": "npx",
"args": [
"-y",
"@trustedskills/running-dbt-commands"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to execute core Data Build Tool (dbt) commands directly within a project environment. It facilitates the automation of data transformation workflows by allowing agents to run specific operations like compiling, testing, and running models without manual intervention.
When to use it
- Automating nightly data pipeline execution for scheduled reporting.
- Triggering model compilation and validation before deploying changes to production.
- Running specific tests to verify data quality after a schema update.
- Executing
dbt docs generateto automatically refresh project documentation.
Key capabilities
- Executes standard dbt CLI commands (e.g., run, test, compile, seed).
- Integrates with existing dbt project configurations and profiles.
- Supports running transformations against configured target environments.
- Enables programmatic control over data modeling lifecycle stages.
Example prompts
- "Run the full test suite for the
stagingschema to check for recent regressions." - "Compile all models in the project and report any parsing errors found."
- "Execute the
dbt docs generatecommand and save the output to the documentation folder."
Tips & gotchas
Ensure your AI agent has the correct environment variables set up, particularly those defining database connections within the dbt profile. The skill relies on a pre-configured dbt project structure; it will fail if the necessary dbt_project.yml or connection profiles are missing or misconfigured in the execution context.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.