altimate-code: Skill for OpenCode

.opencode/skills/dbt-analyze/SKILL.md

dbt-analyze is a skill for OpenCode from AltimateAI/altimate-code. It costs 41 tokens per session (1,036 once invoked), scanned A, original, MIT.

A read-only analysis of how a dbt model’s data flows through other models. dbt is a tool that builds SQL-based data transformations, and downstream models are the ones that depend on them.

In plain words
What is it for?
Use it to find model consumers, inspect parent and child dependencies, trace columns through the dependency graph, or assess a refactoring’s downstream impact.
Why use it?
It shows which models and columns may be affected before a change is released, helping assess the change’s risk and possible breakage.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is AltimateAI/altimate-code's own configuration. It tells OpenCode how to work on altimate-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything altimate-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AltimateAI/altimate-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AltimateAI/altimate-code/main/.opencode/skills/dbt-analyze/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AltimateAI/altimate-code

Made for: OpenCode.

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 dbt-analyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/altimateai/altimate-code/dbt-analyze/github.svg)](https://agentmods.dev/skills/altimateai/altimate-code/dbt-analyze)
Your own site
<a href="https://agentmods.dev/skills/altimateai/altimate-code/dbt-analyze"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/dbt-analyze/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 dbt-analyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/altimateai/altimate-code/dbt-analyze"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/dbt-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,036 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 pass 7 Sept 2026
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.00041 $0.01036
Opus 5.5 $0.00016 $0.00414
Sonnet 5.5 $0.00008 $0.00207
Haiku 4.5 $0.00004 $0.00104

Measured 1mo ago against content hash a5a1ac6de5e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dbt-analyze 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.

.opencode/skills/dbt-analyze/SKILL.md · 131 lines

How it starts

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

dbt Impact Analysis

Requirements

Agent: any (read-only analysis) Tools used: bash (runs altimate-dbt commands), read, glob, dbt_manifest, lineage_check, dbt_lineage, sql_analyze, altimate_core_extract_metadata

When to Use This Skill

Use when the user wants to:

  • Understand what breaks if they change a model
  • Evaluate downstream impact before shipping
  • Find all consumers of a model or column
  • Assess risk of a refactoring

Do NOT use for:

  • Creating or fixing models → use dbt-develop or dbt-troubleshoot
  • Adding tests → use dbt-test

Workflow

1. Identify the Changed Model

Accept from the user, or auto-detect:

# From git diff
git diff --name-only | grep '\.sql$'

# Or user provides a model name
altimate-dbt compile --model <name>    # verify it exists

2. Map the Dependency Graph

altimate-dbt children --model <name>    # direct downstream
altimate-dbt parents --model <name>     # what feeds it

For the full downstream tree, recursively call children on each downstream model.

3. Run Column-Level Lineage

With manifest (preferred): Use dbt_lineage to compute column-level lineage for a dbt model. This reads the manifest.json, extracts compiled SQL and upstream schemas, and traces column flow via the Rust engine. More accurate than raw SQL lineage because it resolves ref() and source() to actual schemas.

dbt_lineage(model: <model_name>)

Without manifest (fallback): Use lineage_check on the raw SQL to understand:

  • Which source columns flow to which output columns
  • Which columns were added, removed, or renamed

Extract structural metadata: Use altimate_core_extract_metadata on the SQL to get tables referenced, columns used, CTEs, subqueries — useful for mapping the full dependency surface.

4. Cross-Reference with Downstream

For each downstream model:

  1. Read its SQL
  2. Check if it references any changed/removed columns
  3. Classify impact:
Classification Meaning Action
BREAKING Removed/renamed column used downstream Must fix before shipping
SAFE Added column, no downstream reference Ship freely
UNKNOWN Can't determine (dynamic SQL, macros) Manual review needed

Read the full file on GitHub · 131 lines

Files

What ships with it

2 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. 1mo ago First seen · 131 lines · 41 tokens per session scan A a5a1ac6de5e0

Subscribe to this mod's changes

dbt-analyze is a skill published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,036 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

synthetic-sciences/openscience · 42 tokens

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…

synthetic-sciences/openscience · 74 tokens

hdf5-pde-data-loading

Patterns for loading PDE simulation datasets (PDEBench, PhiFlow, JAX-CFD) from HDF5 files. Handles layout detection (single tensor vs separate variables), spatial/temporal downsampling, multi-variable systems, HuggingFace and DaRUS data sources, and efficient PyTorch DataLoader creation. Use when preparing PDE data…

synthetic-sciences/openscience · 82 tokens

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

synthetic-sciences/openscience · 53 tokens

polars

Fast in-memory DataFrame library for datasets that fit in RAM. Use when pandas is too slow but data still fits in memory. Lazy evaluation, parallel execution, Apache Arrow backend. Best for 1-100GB datasets, ETL pipelines, faster pandas replacement. For larger-than-RAM data use dask or vaex.

synthetic-sciences/openscience · 69 tokens

hugging-face-datasets

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

synthetic-sciences/openscience · 49 tokens