transform

transform is a skill for Claude Code from exmergo/dex. It costs 219 tokens per session (13,189 once invoked), scanned A, original, Apache-2.0.

A tool for creating and maintaining dbt projects, which use SQL models to turn raw data into organized datasets. It also manages tests, documentation, dependencies, and definitions for metrics and other business measurements.

In plain words
What is it for?
Use it to start a dbt project, write or refactor staging and reporting models, add schema tests and documentation, manage dependencies, and define semantic models, measures, and metrics.
Why use it?
It keeps data transformations and their checks as reviewable changes in the project, while validating proposed edits against a development environment before they are applied.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions Claude Code; mentions Codex.

Part of the dex plugin — 3 skills shipped together

Good fit Use it to start a dbt project, write or refactor staging and reporting models, add schema tests and documentation, manage dependencies, and define semantic models, measures, and metrics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/exmergo/dex/transform
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 exmergo/dex --skill transform
Clone the repo
git clone --depth 1 https://github.com/exmergo/dex

Made for: Claude Code.

Or install dex, 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 transform

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/exmergo/dex/transform"><img src="https://agentmods.dev/badge/skills/exmergo/dex/transform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 219 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,189 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.00219 $0.13189
Opus 5.5 $0.00088 $0.05276
Sonnet 5.5 $0.00044 $0.02638
Haiku 4.5 $0.00022 $0.01319

Measured yesterday against content hash 07534be4ec1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

transform 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.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.

claude/skills/transform/SKILL.md · 812 lines

How it starts

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

Transform

Author and refactor the dbt project, both the SQL (staging to marts, tests, docs) and the semantic layer on top. You write the file content; the engine validates it, computes the diffs, and stores a plan. Nothing reaches the project until transform apply, and any build runs against a dev target only.

Procedure

For project setup, run dex init (or init through an installed skill wrapper). It creates or adopts a project, installs managed README and agent instructions, and verifies the connection. It does not explore data or build models. Read its structured missing inputs and readiness before continuing; installing skills does not necessarily install a dex executable.

Dex works in one loop: explore, transform, maintain. dex <command> below is the dex CLI; where it is not installed, run the same command through the skill's scripts/run.py wrapper. Each command prints one JSON envelope: read it and decide the next step from it. Step 1 only reads. Steps 2 to 5 change the project, so take them only when the task asks for a change; a question about the data stops after step 1 and reports what it found. Explore and maintain report findings and hand repair work to transform; only the transform workflow performs the project edits, migrations and dev builds described below.

  1. Profile what the change reads. Before writing or fixing SQL against a table whose columns, types, grain or join keys you have not verified in this session, run dex explore profile <tables> on every relation the change reads (dex explore map when you do not yet know which), and dex explore relationships --verify for the joins it will make. Answer data questions with dex explore query, never with a raw database client.

  2. Plan with a declaration. Hand the SQL to dex transform plan "<intent>" --edits-file <file> with a declaration for every model you create or change, beside the edits:

    {"edits": [{"path": "models/marts/fct_orders.sql", "kind": "model_sql", "content": "..."}],
     "declarations": [{"model": "fct_orders", "description": "One row per order.",
       "grain": ["order_id"],
       "population": {"rule": "Placed orders; cancelled ones are excluded.",
                      "filters": [{"column": "status", "excludes": ["cancelled"]}]},
       "columns": {"order_id": {"role": "key"},
                   "amount": {"role": "measure", "aggregation": "sum",
                              "additivity": "additive", "unit": "currency:USD"}},
       "assumptions": [{"decision": "Which statuses count", "chosen": "all but cancelled",
                        "evidence": "precedent", "detail": "every sibling excludes cancelled"}]}]}
    

Read the full file on GitHub · 812 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. yesterday Changed · +3 lines 07534be4ec1d
  2. 7d ago Changed · +4 lines c2dbc13eb878
  3. 8d ago Changed · +18 lines 83b15fc9bf93
  4. 11d ago Changed · +4 lines 4910d71b973e
  5. 14d ago Changed · +24 lines 1528ca71a354
  6. 18d ago Changed · +24 lines c34e467a334d
  7. 19d ago Changed 9559cbba4f5c
  8. 21d ago Changed · +9 lines c26540072e8b
  9. 22d ago Changed · +21 lines 3982c4b513ea
  10. 24d ago First seen · 705 lines · 219 tokens per session scan A e6521777ad0b

Subscribe to this mod's changes

transform is a skill published in the GitHub repository exmergo/dex (161 stars, last pushed yesterday), licensed Apache-2.0. It adds 219 tokens to every session and 13,189 once invoked, about $0.0009 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

transform compared with skills from other repositories

transform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
transformexmergo/dexSkill161yesterdayApache-2.0A219Claude Code
data-engineerk1lgor/virtual-companySkill623d agoMITA30Claude Code
backend-architectk1lgor/virtual-companySkill623d agoMITA28Claude Code
sql_optimizerG-Schumacher44/strata-ossSkill116d agononeA0Claude Code, Codex
sql_builderG-Schumacher44/strata-ossSkill116d agononeA0Claude Code, Codex
bq_query_guardrailG-Schumacher44/strata-ossSkill116d agononeA0Claude Code, Codex
bq_schema_probeG-Schumacher44/strata-ossSkill116d agononeA0Claude Code, Codex