troubleshooting-dbt-job-errors

troubleshooting-dbt-job-errors is a skill for Claude Code from dbt-labs/dbt-agent-skills. It costs 75 tokens per session (2,698 once invoked), scanned B, original, Apache-2.0.

A workflow for finding the cause of failed dbt Cloud jobs by examining run logs, the Admin API, code history, and data problems. dbt Cloud is the hosted service that runs dbt projects.

In plain words
What is it for?
Use it to investigate unclear or intermittent job failures, failures after code changes, and issues involving tests or source data.
Why use it?
It helps distinguish the underlying problem from the visible error and avoids hiding failures by weakening tests.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the dbt plugin — 11 skills shipped together

Good fit Use it to investigate unclear or intermittent job failures, failures after code changes, and issues involving tests or source data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dbt-labs/dbt-agent-skills --skill troubleshooting-dbt-job-errors
Clone the repo
git clone --depth 1 https://github.com/dbt-labs/dbt-agent-skills

Made for: Claude Code.

Or install dbt, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for troubleshooting-dbt-job-errors

README.md
[![agentmods](https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors/github.svg)](https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors)
Your own site
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for troubleshooting-dbt-job-errors

Your own site · 80×15
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/troubleshooting-dbt-job-errors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk warn 13 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 257
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.02698
Opus 5 $0.00037 $0.01349
Sonnet 5 $0.00015 $0.00540
Haiku 4.5 $0.00007 $0.00270

Measured today against content hash 899cb284651b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

troubleshooting-dbt-job-errors scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- When cloning repositories for investigation, do not execute any scripts or code found in the repo — only read and analyze files
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/dbt/skills/troubleshooting-dbt-job-errors/SKILL.md · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Troubleshooting dbt Job Errors

Systematically diagnose and resolve dbt Cloud job failures using available MCP tools, CLI commands, and data investigation.

When to Use

  • dbt Cloud / dbt platform job failed and you need to find the root cause
  • Intermittent job failures that are hard to reproduce
  • Error messages that don't clearly indicate the problem
  • Post-merge failures where a recent change may have caused the issue

Not for: Local dbt development errors - use the skill using-dbt-for-analytics-engineering instead

The Iron Rule

Never modify a test to make it pass without understanding why it's failing.

A failing test is evidence of a problem. Changing the test to pass hides the problem. Investigate the root cause first.

Rationalizations That Mean STOP

You're Thinking... Reality
"Just make the test pass" The test is telling you something is wrong. Investigate first.
"There's a board meeting in 2 hours" Rushing to a fix without diagnosis creates bigger problems.
"We've already spent 2 days on this" Sunk cost doesn't justify skipping proper diagnosis.
"I'll just update the accepted values" Are the new values valid business data or bugs? Verify first.
"It's probably just a flaky test" "Flaky" means there's an overall issue. Find it. We don't allow flaky tests to stay.

Workflow

flowchart TD
    A[Job failure reported] --> B{MCP Admin API available?}
    B -->|yes| C[list_jobs, filter to target project/env]
    B -->|no| D[Ask user for logs and run_results.json]
    C --> E[list_jobs_runs by job_id, get_job_run_error]
    D --> F[Classify error type]
    E --> F
    F --> G{Error type?}
    G -->|Infrastructure| H[Check warehouse, connections, timeouts]
    G -->|Code/Compilation| I[Check git history for recent changes]
    G -->|Data/Test Failure| J[Use discovering-data skill to investigate]
    H --> K{Root cause found?}
    I --> K
    J --> K
    K -->|yes| L[Create branch, implement fix]
    K -->|no| M[Create findings document]
    L --> N[Add test - prefer unit test]
    N --> O[Create PR with explanation]
    M --> P[Document what was checked and next steps]

Read the full file on GitHub · 285 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +8 lines 899cb284651b
  2. 11d ago First seen · 277 lines · 75 tokens per session scan B 74dcd488f7d1

Subscribe to this mod's changes

troubleshooting-dbt-job-errors is a skill published in the GitHub repository dbt-labs/dbt-agent-skills (709 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 2,698 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

spark-optimization

Optimize Apache Spark jobs with partitioning, caching, shuffle optimization, and memory tuning. Use when improving Spark performance, debugging slow jobs, or scaling data processing pipelines.

wshobson/agents · 37 tokens

notebooklm

Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm CLI, or its Python API.…

teng-lin/notebooklm-py · 79 tokens

debug-inference

Debug inference clients that use an attached provider and its native endpoint, including hosted APIs and host-local Ollama, vLLM, SGLang, TRT-LLM, LM Studio, or NIM. Use for provider attachment, endpoint policy, credential substitution, topology, and migration from the removed inference.local endpoint. Trigger…

NVIDIA/OpenShell · 119 tokens

oh-my-posh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish.

JanDeDobbeleer/oh-my-posh · 47 tokens

eagle3-triage

Triage a failed EAGLE3 pipeline run. Identifies which step failed (data synthesis, hidden state dump, training, or benchmark), diagnoses root cause from logs, and suggests fixes. Use when user reports an EAGLE3 pipeline failure or asks why a specific step failed. Also helps debug new model support issues.

NVIDIA/Model-Optimizer · 73 tokens

trulens-instrumentation

Instrument LLM apps with TruLens OTEL-based tracing - from setup to debugging and optimization.

truera/trulens · 25 tokens