Running Dbt Commands

🏢Official
by dbt-labs · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add running-dbt-commands npx -- -y @trustedskills/running-dbt-commands
2

Or manually add to ~/.claude/settings.json

~/.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 generate to 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 staging schema to check for recent regressions."
  • "Compile all models in the project and report any parsing errors found."
  • "Execute the dbt docs generate command 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dbt-labs
Installs
44

🏢 Official

Published by the company or team that built the technology.