legacy-to-dbt-migration-foundations

legacy-to-dbt-migration-foundations is a skill for Claude Code, Codex from hicham-bab/dbt-legacy-migration-skills. It costs 77 tokens per session (3,028 once invoked), scanned A, original, Apache-2.0.

A reference library for moving data transformations from Informatica, Talend, or stored procedures into dbt. dbt is a tool that turns SQL transformations into documented, testable models that run in a data warehouse; this library supplies shared migration guidance rather than a standalone workflow.

In plain words
What is it for?
Use it as supporting guidance for a migration to map original workloads, add tests and documentation, validate matching results in the warehouse, choose materializations, and report coverage and cost.
Why use it?
It gives the different migration workflows common rules for inventorying the original work, choosing suitable dbt structures, checking real data, and considering cloud cost.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it as supporting guidance for a migration to map original workloads, add tests and documentation, validate matching results in the warehouse, choose materializations, and report coverage and cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations
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 hicham-bab/dbt-legacy-migration-skills --skill legacy-to-dbt-migration-foundations
Clone the repo
git clone --depth 1 https://github.com/hicham-bab/dbt-legacy-migration-skills

Made for: Claude Code, Codex.

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 legacy-to-dbt-migration-foundations

README.md
[![agentmods](https://agentmods.dev/badge/skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations/github.svg)](https://agentmods.dev/skills/hicham-bab/dbt-legacy-migration-skills/legacy-to-dbt-migration-foundations)
Your own site
<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.

agentmods 80×15 button for legacy-to-dbt-migration-foundations

Your own site · 80×15
<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>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,028 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.
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.00077 $0.03028
Opus 5 $0.00039 $0.01514
Sonnet 5 $0.00015 $0.00606
Haiku 4.5 $0.00008 $0.00303

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

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/estate_ledger.py, scripts/inventory_estate.py, scripts/lint_idiomatic.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/legacy-to-dbt-migration-foundations/SKILL.md · 130 lines

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:

  1. Map the original workload — inventory every unit of work before writing any dbt code.
  2. Translate it into dbt with best practices — ref()/source(), tests, docs, contracts.
  3. Validate the result against real warehouse data — prove parity, not just that it compiles.
  4. Right-size for the target cloud — ask which warehouse is in use and pick cost-aware materializations.
  5. 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:

  1. Target platform (+ dev target) — Snowflake / Databricks / BigQuery / Redshift; Fusion vs Core.
  2. Target modeling approach — Data Vault / Kimball / Star (or a faithful layered port).
  3. Packages vs self-contained macros — external hub packages, or skill-written macros.
  4. 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.

Read the full file on GitHub · 130 lines

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. 12d ago First seen · 130 lines · 77 tokens per session scan A 8380c6b10dac

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

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.

ruvnet/ruflo · 62 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

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.

dosco/graphjin · 61 tokens

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…

aws/agent-toolkit-for-aws · 228 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens