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.
npx skills add dbt-labs/dbt-agent-skills --skill upgrading-dbtgit clone --depth 1 https://github.com/dbt-labs/dbt-agent-skillsWrote 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.
[](https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/upgrading-dbt)<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/upgrading-dbt"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/upgrading-dbt/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.
<a href="https://agentmods.dev/skills/dbt-labs/dbt-agent-skills/upgrading-dbt"><img src="https://agentmods.dev/badge/skills/dbt-labs/dbt-agent-skills/upgrading-dbt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00207 | $0.09710 |
| Opus 5.5 | $0.00083 | $0.03884 |
| Sonnet 5.5 | $0.00041 | $0.01942 |
| Haiku 4.5 | $0.00021 | $0.00971 |
Grade A, and why
upgrading-dbt 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 705 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate a dbt project to dbt 1.12
You upgrade a dbt v1 project all the way to 1.12 — not one minor bump. Two different mechanisms apply, and you must not confuse them:
-
Up to 1.8 — genuinely breaking changes with no compatibility shim. You replay every version boundary in order from the project's current version, because consistent changelogs exist only per single minor version.
-
After 1.8 — every backwards-incompatible change ships gated behind a behavior-change flag in
dbt_project.ymlflags:. You do not fix those behaviors. Instead, for each such change the project actually exhibits, you pin its gating flag tofalseso the project keeps its current semantics and parses on 1.12. Several of these flags already default totruein 1.12, so for an affected project leaving the flag unset silently adopts the new behavior — pinning is what makes the migration behavior-preserving.Pin only what applies: a flag for a behavior the project does not use is dead config that hides the ones that matter. Detection per issue decides.
This skill is data-driven. The issues to resolve are not listed here —
they arrive as a precompiled bundle, references/kb_<FROM>_<ADAPTER>.json,
colocated with this SKILL.md. One bundle per starting version × adapter, each
self-contained: every issue carries its own action, automation_type, and
context.detection / context.fixing. Read the bundle; never fabricate an
issue or a fix from memory.
The
kb/YAML corpus is the source those bundles are compiled from, at build time, by CI. It is not read during a migration and does not ship in the package. Never try to read it at runtime — work from the bundle.
Each issue has an automation_type that decides how it is handled:
automation_type |
How you handle it |
|---|---|
deterministic |
Handled by a tool where your profile has one. Locally, run the autofix operation (dbt-migrate-1x) and map its diff onto the issue. In Studio there is no such tool for this — apply the fix yourself per context.fixing, exactly like an agentic issue, then record it the same way; see your profile's autofix operation. |
agentic |
You apply the fix directly (per context.fixing), then verify. |
human |
You propose the fix, show the diff, confirm with the user, then apply (HITL). Never apply a human issue without explicit confirmation. |
behavior_flag |
The set-flag operation handles it, only when detection found it present (Step 5). A post-1.8 change gated behind a flag: when the project actually exhibits the gated behavior, the flag named in the issue's behavior_flag.name is pinned to false in dbt_project.yml. Never pin one the project does not exhibit, and never "fix" the underlying behavior instead. |
Two orthogonal flags modify handling regardless of automation_type:
out_of_repo_risk: true— the fix may reach outside the repo (job--select,selectors.yml, BI tools, mesh refs). Record it for the user; you cannot complete it from the repo alone.environment_change: true— dependency / Python-runtime / profiles change. Make an advisory edit only (e.g. note therequirements.txt/profiles.ymlchange); never executepip/installers, and exclude it from the parse gate.
What ships with it
60 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.
- kb/_schema.json 5.0 KB
- kb/bigquery/1_3_008.yaml 1.7 KB
- kb/bigquery/1_3_009.yaml 1.5 KB
- kb/bigquery/1_3_012.yaml 1.0 KB
- kb/bigquery/1_4_015.yaml 1.7 KB
- kb/bigquery/1_6_006.yaml 1.7 KB
- kb/core/1_10_001.yaml 1.1 KB
- kb/core/1_10_002.yaml 1.2 KB
- kb/core/1_11_001.yaml 1.3 KB
- kb/core/1_11_002.yaml 1.2 KB
- kb/core/1_11_003.yaml 1.0 KB
- kb/core/1_11_004.yaml 1.2 KB
- kb/core/1_11_005.yaml 1.2 KB
- kb/core/1_11_006.yaml 1.1 KB
- kb/core/1_11_007.yaml 1.2 KB
- kb/core/1_3_001.yaml 1.9 KB
- kb/core/1_3_002.yaml 3.3 KB
- kb/core/1_3_003.yaml 1.7 KB
- kb/core/1_3_013.yaml 1.2 KB
- kb/core/1_3_014.yaml 1.0 KB
- kb/core/1_4_001.yaml 1.8 KB
- kb/core/1_4_002.yaml 1.6 KB
- kb/core/1_4_003.yaml 1.3 KB
- kb/core/1_4_004.yaml 1.1 KB
- kb/core/1_4_005.yaml 1.3 KB
- kb/core/1_4_006.yaml 1.1 KB
- kb/core/1_4_007.yaml 926 B
- kb/core/1_4_008.yaml 939 B
- kb/core/1_5_001.yaml 5.1 KB
- kb/core/1_5_002.yaml 3.2 KB
- kb/core/1_5_003.yaml 1.9 KB
- kb/core/1_6_001.yaml 2.9 KB
- kb/core/1_6_002.yaml 2.1 KB
- kb/core/1_6_003.yaml 2.1 KB
- kb/core/1_6_011.yaml 1.1 KB
- kb/core/1_7_001.yaml 1.7 KB
- kb/core/1_7_002.yaml 2.2 KB
- kb/core/1_7_003.yaml 3.2 KB
- kb/core/1_7_008.yaml 1.0 KB
- kb/core/1_7_009.yaml 949 B
- kb/core/1_7_010.yaml 1.0 KB
- kb/core/1_8_001.yaml 1.1 KB
- kb/core/1_8_002.yaml 1.3 KB
- kb/core/1_8_003.yaml 1.2 KB
- kb/core/1_8_004.yaml 1.2 KB
- kb/core/1_9_001.yaml 1.3 KB
- kb/core/1_9_002.yaml 1.1 KB
- kb/core/1_9_003.yaml 1.3 KB
- kb/databricks/1_3_004.yaml 1.8 KB
- kb/databricks/1_3_005.yaml 1.8 KB
- kb/databricks/1_3_006.yaml 1.7 KB
- kb/databricks/1_5_010.yaml 1.3 KB
- kb/databricks/1_6_005.yaml 1.9 KB
- kb/redshift/1_3_007.yaml 1.5 KB
- kb/redshift/1_4_011.yaml 1.7 KB
- kb/redshift/1_4_013.yaml 1.2 KB
- kb/redshift/1_4_014.yaml 1.6 KB
- kb/redshift/1_5_006.yaml 1.5 KB
- kb/redshift/1_5_007.yaml 1.5 KB
- kb/redshift/1_5_008.yaml 1.6 KB
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.
- 1mo ago Changed · +3 lines 830997dc9dfd
- 1mo ago Changed · +60 lines 68d328119a7c
- 2mo ago First seen · 642 lines · 207 tokens per session scan A f7a93e0fbc7d
upgrading-dbt is a skill published in the GitHub repository dbt-labs/dbt-agent-skills (774 stars, last pushed 24d ago), licensed Apache-2.0. It adds 207 tokens to every session and 9,710 once invoked, about $0.0008 per session on Opus 5.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-24.
upgrading-dbt compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upgrading-dbtdbt-labs/dbt-agent-skills | Skill | 774 | 24d ago | Apache-2.0 | A | 207 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |