maintain

maintain is a skill for Claude Code from exmergo/dex. It costs 239 tokens per session (11,339 once invoked), scanned A, original, Apache-2.0.

A maintenance workflow for dbt projects. dbt is a tool that builds data models in a data warehouse from source data and SQL definitions.

In plain words
What is it for?
Comparing the current warehouse with a saved snapshot, identifying schema, volume, grain, or definition drift, and proposing edits to reconcile it.
Why use it?
It helps identify when warehouse tables, incoming data, model keys, or business definitions no longer match a trusted baseline.

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 Comparing the current warehouse with a saved snapshot, identifying schema, volume, grain, or definition drift, and proposing edits to reconcile it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/exmergo/dex/maintain
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 maintain
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 maintain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/exmergo/dex/maintain"><img src="https://agentmods.dev/badge/skills/exmergo/dex/maintain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,339 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.00239 $0.11339
Opus 5.5 $0.00096 $0.04536
Sonnet 5.5 $0.00048 $0.02268
Haiku 4.5 $0.00024 $0.01134

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

Security

Grade A, and why

maintain 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 6d ago.

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/maintain/SKILL.md · 702 lines

How it starts

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

Maintain

Keep the repository correct as the world underneath it moves, on both of its axes: the dbt project and the semantic layer. Drift is measured against a baseline, the .dex/snapshot.json fingerprint of the warehouse map and of each project layer. Detection is read-only; only reconcile proposes edits, and transform apply is the one door that writes them.

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:

Read the full file on GitHub · 702 lines

Files

What ships with it

3 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. 6d ago Changed · +5 lines a7e822a5cdc0
  2. 7d ago Changed · +5 lines 63b6f90d1434
  3. 8d ago Changed · +34 lines · +3 tokens per session 73a4f70e1fef
  4. 14d ago Changed · +8 lines 981621d4d632
  5. 18d ago Changed · +39 lines · -1 tokens per session 982a814c3ef8
  6. 19d ago Changed · +7 lines f3c11ab0af49
  7. 22d ago Changed · +6 lines c5cc1bd8daa2
  8. 24d ago Changed · +22 lines 13979b234373
  9. 25d ago Changed · +51 lines 79d582e171aa
  10. 29d ago First seen · 525 lines · 237 tokens per session scan A d5c446bc53bc

Subscribe to this mod's changes

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

maintain compared with skills from other repositories

maintain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintainexmergo/dexSkill161yesterdayApache-2.0A239Claude 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