transform

transform is a skill for Claude Code from exmergo/dex. It costs 219 tokens per session (4,062 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 4,062 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.04062
Opus 5.5 $0.00088 $0.01625
Sonnet 5.5 $0.00044 $0.00812
Haiku 4.5 $0.00022 $0.00406

Measured yesterday against content hash d9f48a181b9c, 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.

skills/transform/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 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

dex works in one loop: explore, transform, maintain. Every step runs one engine command, reads the single JSON envelope it prints, and decides the next step from that envelope.

  1. Explore before you write. Before writing or fixing SQL against a table whose columns, types, grain, or join keys you have not verified in this session, run explore map (or explore profile <tables> for a few named ones) and read its grain, keys, PII flags, and data-quality findings. Answer ad-hoc questions with explore query, never with a raw database client.
  2. Plan the change. Author the file content and hand it to transform plan (or semantic define|update|plan for the semantic layer). Nothing is written yet. Read the diffs, the warnings, and, on a model that already exists, data.row_attribution; re-plan until they describe the change you meant.
  3. Apply it. transform apply <plan-id> writes the plan as a reviewable git diff. A human edit made since planning comes back as needs_confirmation: re-plan against the current files.
  4. Build and verify on dev. Run transform build --target dev --verify. Read data.verification.ran first, then relay the findings and anything under suppressed. A green build says dbt ran, not that the rows are right.
  5. Maintain. maintain check compares the warehouse and the project with the .dex/snapshot.json baseline, and maintain verify checks the project as it is now with no baseline. maintain reconcile proposes the fix as a plan, applied with transform apply. Take maintain snapshot after a known-good build.

Read the full file on GitHub · 269 lines

Files

What ships with it

7 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. yesterday Changed · +1 lines d9f48a181b9c
  2. 2d ago Changed · +10 lines c36e5efe776c
  3. 4d ago Changed · +16 lines · +2 tokens per session 1e75e5c058f7
  4. 6d ago Changed · +5 lines · -145 tokens per session 06de5ed2da83
  5. 8d ago Changed · +2 lines deb02d559bce
  6. 9d ago Changed · +1 lines scan C → A fa1e2f47933b
  7. 12d ago Changed · -361 lines 2e77623221ee
  8. 14d ago Changed · +11 lines 4b35e7a34ec2
  9. 1mo ago Changed · +34 lines 097cafc2d987
  10. 1mo ago First seen · 550 lines · 362 tokens per session scan C 6c144bd9e9a4

Subscribe to this mod's changes

transform is a skill published in the GitHub repository exmergo/dex (88 stars, last pushed today), licensed Apache-2.0. It adds 219 tokens to every session and 4,062 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.