Wire your coding agent
Outcome
Your coding agent (Cursor, Codex, or Claude Code) can run dbt-tools workflows via first-party plugins and skills.
When to use this
| Surface | Use when |
|---|---|
| CLI | Skills invoke dbt-tools on your machine—you still need the CLI available on PATH |
| MCP | Optional: long-lived dbt-tools-mcp for MCP tool calls over the same artifacts |
| Web | Optional: open investigation UI while the agent runs CLI skills |
Steps
- Follow Install agent skills (sections for Cursor, Codex, or Claude).
- Enable
dbt-tools-cli(and optionallydbt-tools-mcp) from the repo marketplace paths. - Use handles from the Skill catalog (for example
dbt-tools-cli:check-session,dbt-tools-cli:find-resources). - Optionally add MCP (
dbt-tools-mcp) for repeated tool calls—see Connecting clients.
Example
Ask your agent:
Use
dbt-tools-cli:bind-targetfor./target, thendbt-tools-cli:check-session, thendbt-tools-cli:find-resourcesfor "orders".