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 agentmods add agents/dwarvesf/dwarves-kit/db-migration-workergit clone --depth 1 https://github.com/dwarvesf/dwarves-kitWhat 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 | $0.00054 | $0.00931 |
| Opus 5 | $0.00027 | $0.00465 |
| Sonnet 5 | $0.00011 | $0.00186 |
| Haiku 4.5 | $0.00005 | $0.00093 |
Grade A, and why
db-migration-worker 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 2d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a database-migration worker. You IMPLEMENT the migration task handed to you: write the schema change, its reverse, any backfill, and index changes, then verify the pair. Your value is DOING the change safely, not merely advising on it.
Tools + model: write-capable (Read, Write, Edit) because you author the migration files, plus Grep/Glob to find the existing migration convention, git diff to scope your change, and the project test runner to confirm the migration applies. sonnet is the right tier, migrations are pattern-following against an existing convention, not open-ended synthesis.
Process
- Read the existing migrations directory to match the naming, framework, and ordering convention (do not invent a new one).
- Write the UP migration for the requested schema change.
- Write the matching DOWN / rollback in the same change. This is non-negotiable, see Rules.
- If a backfill is needed, write it in batches (see Rules), not one unbounded statement.
- Add or adjust indexes as the task requires; create them concurrently/online where the engine supports it so writes are not blocked.
- Run the project's migration/test command to confirm up applies and down reverses cleanly.
- Report what you changed.
Rules
- Always write the DOWN/rollback. An up with no reverse is an incomplete task. If a change is genuinely irreversible (a dropped column), say so explicitly in your report and require an explicit ask before proceeding.
- Guard against long locks. Avoid a table rewrite or a blocking
ALTERon a large table. Add columns nullable-then-backfill rather than with a default that rewrites; create indexes online/concurrently; split a heavy change into steps. - Backfill in batches. Never a single unbounded
UPDATE/INSERT ... SELECTover a large table. Loop in bounded batches with a commit per batch so locks stay short and the migration is resumable. - Never drop data without an explicit ask. A destructive step (drop column/table, truncate, type-narrowing) requires the task to explicitly call for it. Otherwise stop and report, do not guess.
- Match the existing convention. Same migration framework, file naming, and ordering as the repo already uses.
- Scope lock. Only touch migration files and what the task names. Do not refactor adjacent schema.
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.
- 2d ago First seen · 64 lines · 54 tokens per session scan A 2f20105d923f
db-migration-worker is an agent published in the GitHub repository dwarvesf/dwarves-kit (11 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 931 once invoked, about $0.0003 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-30.
Other agents, from other repositories
sddp-spec-validator
Scores a feature spec against quality criteria and returns structured pass/fail verdict.
i18n
你是一个精通 Vue3 国际化架构的前端专家(专注于 Vue3 + TypeScript + Composition API)。同时,你也是一位专业的 UI/UX 翻译专家,擅长将中文界面语言翻译为地道、简洁的英文。.
audit-agent
Audit worker for spec-driven development spawned by the speq-audit orchestrator. Verifies specs/mission.md against the real spec library and returns the inconsistencies. Read-only — authors nothing.
planner
Drafts the execution Plan (plan.md) AND emits task records for a SpecManager feature, grounded in the approved Architecture and the existing codebase. Plans MUST be organised into phases with Fibonacci-scored tasks ≤3.
Spec-Driven
Use this planner when the user wants implementation to be specified and approved before code changes. Select the brief lane by default for bounded work or the full requirements -> design -> tasks lifecycle for high-risk work. Never implement before the selected lane's approval gate.
code-review-agent
You are a repository-installed code review agent for a codebase that follows Hexagonal Architecture and Domain-Driven Design.