running-dbt-commands

Execute dbt CLI commands with selectors and safe defaults.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/beauschwab/airflow-dbt-datahub --skill running-dbt-commands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: running-dbt-commands
Source: https://github.com/beauschwab/airflow-dbt-datahub/tree/main/.agents/skills/running-dbt-commands
Command: npx skills add https://github.com/beauschwab/airflow-dbt-datahub --skill running-dbt-commands

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps teams execute dbt commands from the command line, streamlining model runs, tests, builds, and inspections.

Core Features & Use Cases

  • Unified CLI execution: selects and runs the appropriate dbt CLI (dbt-core, dbt-fusion, or dbt-cloud) with correct paths and timeouts
  • Predictable workflows: provides recommended defaults (quiet mode, warn-errors, explicit select) to reduce typos and unnecessary runs
  • Versatile command coverage: supports actions like build, run, show, list, and inline SQL, with selectors and variables
  • Real-world use case: Example: run a model with a selector and verbose feedback

Quick Start

Run a targeted dbt build or run for a specific model using an explicit selector and quiet output.

Frequently Asked Questions about running-dbt-commands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute dbt commands from the CLI for specific models?

You can execute dbt commands from the CLI by using explicit selectors to run targeted model builds, applying safe defaults like quiet mode to reduce unnecessary output and typos. This skill supports actions like build, run, and show for deterministic execution.

What is the best way to run dbt tasks across different environments?

Running dbt tasks across development, CI, or production pipelines is handled by automatically selecting the appropriate dbt executable, such as dbt-core, dbt-fusion, or dbt-cloud. It applies correct paths and timeouts for reliable, predictable workflows.

Does this dbt CLI execution approach support inline SQL and tests?

Yes, this dbt CLI execution approach supports versatile command coverage including inline SQL, tests, list, and compile actions. It formats command parameters and applies selectors and variables to ensure reliable outcomes across your dbt projects.

Can I use dbt-cloud executables with custom variables and selectors?

Yes, you can use dbt-cloud executables alongside custom variables and selectors. The skill enforces selecting the right dbt CLI executable and formats command parameters to ensure deterministic, controlled execution regardless of the chosen environment.

Why should I use safe defaults when running dbt build commands?

Using safe defaults when running dbt build commands reduces typos and unnecessary runs by applying recommended settings like quiet mode, warn-errors, and explicit select. This ensures predictable workflows and reliable outcomes from the command line.