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 hicham-bab/dbt-legacy-migration-skills --skill legacy-to-dbt-migration-foundationsgit clone --depth 1 https://github.com/hicham-bab/dbt-legacy-migration-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/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations)<a href="https://agentmods.dev/skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations"><img src="https://agentmods.dev/badge/skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations/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/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations"><img src="https://agentmods.dev/badge/skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations.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.00077 | $0.03028 |
| Opus 5 | $0.00039 | $0.01514 |
| Sonnet 5 | $0.00015 | $0.00606 |
| Haiku 4.5 | $0.00008 | $0.00303 |
Grade A, and why
legacy-to-dbt-migration-foundations 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 12d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Legacy-to-dbt Migration Foundations
This is a shared reference library. It is not a standalone workflow. The three migration
skills — migrating-informatica-to-dbt, migrating-talend-to-dbt, and
migrating-stored-procedures-to-dbt — all run the same 8-step migration workflow and defer the
common steps to the references below. When one of those skills points you here, open the specific
reference named for that step.
Every migration, regardless of source, must:
- Map the original workload — inventory every unit of work before writing any dbt code.
- Translate it into dbt with best practices —
ref()/source(), tests, docs, contracts. - Validate the result against real warehouse data — prove parity, not just that it compiles.
- Right-size for the target cloud — ask which warehouse is in use and pick cost-aware materializations.
- Report cost (legacy run vs dbt dev run) and coverage (target ≥ 95%).
Core principle: compilation is not correctness. dbt compile (free, no warehouse queries) is
the fast iteration gate; data parity against the warehouse is the proof the migration
preserved business logic. Never declare a migration done on a clean compile alone.
Suggest, don't decide — put every up-front choice to the migrator. A handful of decisions reshape the whole migration (file layout, SQL dialect, what validation can reach), so getting them wrong means redoing dozens of files. Before writing any models, present them as one consolidated set of choices, each with your recommended default + a one-line why and the alternatives, then wait for the migrator's answer:
- Target platform (+ dev target) — Snowflake / Databricks / BigQuery / Redshift; Fusion vs Core.
- Target modeling approach — Data Vault / Kimball / Star (or a faithful layered port).
- Packages vs self-contained macros — external hub packages, or skill-written macros.
- Landing spot — a new standalone dbt project, or fold into an existing one.
Recommend based on the signals (e.g. "the workload looks Kimball, so I suggest Kimball"), but never silently default even when a choice looks obvious — offer it, recommend, and let them choose. This is the Step 0 / Step 2 gate; treat it as blocking.
Teach as you migrate — assume the migrator may be new to dbt. The person may know their legacy
tool well but not dbt. Whenever you introduce a dbt concept — a model, ref()/source(), a
materialization (view / table / incremental / ephemeral), a snapshot (SCD history), tests,
contracts, Fusion — explain it in one plain sentence and point to
dbt-concepts-explained.md. Explain the reasons, not just
the mechanics: why this table is incremental, why history uses a snapshot, why this target
modeling approach (see target-modeling.md). The migration should
leave the person understanding their dbt project, not just possessing it.
Packages: ask first, provision on demand, hub-only. The skill doesn't bundle or assume packages.
At Step 0 it asks the migrator whether to use external dbt packages or stay self-contained
(skill-written macros). If packages are allowed, it installs only from hub.getdbt.com (never
git/tarball/private sources) and only what each step detects it needs — dbt_utils, codegen,
audit_helper, dbt_expectations, dbt_project_evaluator, datavault4dbt/dbt_date per
modeling approach — pinned to a Fusion-badged version, then dbt deps. It never hand-rolls boilerplate a
hub package solves (when packages are allowed), and never bloats packages.yml. If the migrator
declines packages, it generates the equivalent macros instead. See
dbt-packages.md.
What ships with it
23 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.
- references/anti-patterns.md 3.5 KB
- references/building-datavault.md 5.3 KB
- references/building-kimball.md 5.4 KB
- references/building-starschema.md 3.1 KB
- references/cdc-deduplication.md 2.8 KB
- references/cloud-detection-and-materializations.md 6.9 KB
- references/cost-comparison.md 12 KB
- references/coverage-report.md 6.1 KB
- references/data-validation.md 16 KB
- references/dbt-best-practices.md 8.8 KB
- references/dbt-concepts-explained.md 7.2 KB
- references/dbt-features-for-migration.md 5.4 KB
- references/dbt-packages.md 8.0 KB
- references/estate-planning.md 2.8 KB
- references/feedback-capture.md 2.2 KB
- references/layer-classification.md 6.5 KB
- references/scd-history-strategies.md 4.7 KB
- references/target-modeling.md 13 KB
- references/warehouse-conformance.md 7.8 KB
- scripts/estate_ledger.py 2.9 KB runs code
- scripts/inventory_estate.py 10 KB runs code
- scripts/lint_idiomatic.py 5.9 KB runs code
- scripts/preflight_decisions.py 5.1 KB runs code
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.
- 12d ago First seen · 130 lines · 77 tokens per session scan A 8380c6b10dac
legacy-to-dbt-migration-foundations is a skill published in the GitHub repository hicham-bab/dbt-legacy-migration-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,028 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
pinecone
Managed vector DB for production RAG and search.
embeddings
Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.
data-engineer
Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.
graphjin-env
Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.
ingesting-into-data-lake
Import data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake, BigQuery, DynamoDB, or existing Glue catalog tables (migration). Default target is S3 Tables; standard Iceberg on a general purpose bucket is supported where…
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.