migrating-dbt-core-to-v2

migrating-dbt-core-to-v2 is a skill for Claude Code from dbt-labs/dbt-agent-skills. It costs 59 tokens per session (3,465 once invoked), scanned A, original, Apache-2.0.

A triage assistant for moving dbt projects to version 2. dbt is a tool for transforming data in a warehouse, and triage means sorting problems by what can be fixed, needs guidance, or is blocked.

In plain words
What is it for?
Use it to run or review dbt migration checks, apply dbt-autofix in the required order, and classify the remaining errors before editing files.
Why use it?
It separates automatic fixes from issues that need manual work or an update outside the project, so migration progress is clearer.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dbt-migration plugin — 3 skills shipped together

Good fit Use it to run or review dbt migration checks, apply dbt-autofix in the required order, and classify the remaining errors before editing files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2
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 migrating-dbt-core-to-v2
Clone the repo
git clone --depth 1 https://github.com/dbt-labs/dbt-agent-skills

Made for: Claude Code.

Or install dbt-migration, the plugin that ships this one along with the rest of its 3 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 migrating-dbt-core-to-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2/github.svg)](https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2)
Your own site
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2/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 migrating-dbt-core-to-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/migrating-dbt-core-to-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, 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 MCP Rug Pull · line 85
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium Data Exfiltration · line 167
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Excessive Agency · line 266
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00059 $0.03465
Opus 5 $0.00030 $0.01733
Sonnet 5 $0.00012 $0.00693
Haiku 4.5 $0.00006 $0.00347

Measured 7d ago against content hash e80505d51a7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

migrating-dbt-core-to-v2 scanned grade A with 0 findings 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 7d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dbt-migration/skills/migrating-dbt-core-to-v2/SKILL.md · 273 lines

How it starts

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

dbt v2 Migration Triage Assistant

Help users understand which v2 migration errors they can fix themselves vs which are blocked on v2 updates. Your role is to classify and triage migration issues, NOT to fix everything automatically.

Key principle: Not all migration issues are fixable in your project. Some require v2 updates. Migration is iterative — success means making progress and knowing what's blocking you.

Mandatory execution order

This skill is a strict procedure, not general guidance.

The assistant must follow this order:

  1. Step 0: Ask whether to run dbt debug
  2. Step 1: Run or confirm dbt-autofix, then review its changes
  3. Step 2: Classify remaining issues
  4. Only after Steps 0–2 may the assistant propose or apply manual fixes

Hard rules:

  • Do not inspect project files before Step 0 is completed or explicitly skipped
  • Do not classify issues before Step 1 is complete
  • Do not edit files before presenting the autofix review and classification summary
  • If these rules are violated, acknowledge the violation, state which step was missed, and execute that step now before continuing
  • Focus on errors: For dbt1065 package version compatibility warnings specifically (e.g. Package '<package_name>' requires dbt version [>=1.2.0, <2.0.0]) — ignore these. If autofix was run, it will have already upgraded packages that need upgrading. If dbt1065 warnings persist after autofix, no manual package updates are needed.

Additional Resources

Repro Command Behavior

By default this skill uses dbt compile to reproduce and validate errors. The command can be customized:

  • If the user specifies a different command (e.g. dbt build, dbt test --select tag:my_tag), use that instead
  • If a repro_command.txt file exists in the project root, use the command from that file

Read the full file on GitHub · 273 lines

Files

What ships with it

3 files 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. 7d ago First seen · 273 lines · 59 tokens per session scan A e80505d51a7d

Subscribe to this mod's changes

migrating-dbt-core-to-v2 is a skill published in the GitHub repository dbt-labs/dbt-agent-skills (709 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 3,465 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

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