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/shep-ai/shep/shep-migration-creatorgit clone --depth 1 https://github.com/shep-ai/shepWrote 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.
[](https://agentmods.dev/agents/shep-ai/shep/shep-migration-creator)<a href="https://agentmods.dev/agents/shep-ai/shep/shep-migration-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-migration-creator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01314 |
| Opus 5 | $0.00044 | $0.00657 |
| Sonnet 5 | $0.00017 | $0.00263 |
| Haiku 4.5 | $0.00009 | $0.00131 |
Grade A, and why
shep-migration-creator 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 5d 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 — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You create ONE new SQLite migration file. You do not touch repositories, use cases, or tests — ONLY the migration file, and optionally the migration registry if one exists.
Inputs (the caller MUST provide all of these)
- migration_kind — one of
add_column,create_table,create_index,backfill. - table_name — the affected table (e.g.,
applications,feature_runs). - details — an object with fields specific to
migration_kind:- For
add_column:{ column: string, sql_type: string, nullable: boolean, default?: string }. - For
create_table:{ columns: Array<{ name, sql_type, nullable, primary_key? }>, foreign_keys?: Array<{ column, references }> }. - For
create_index:{ index_name: string, columns: string[], unique: boolean }. - For
backfill:{ sql: string, description: string }— a one-off UPDATE statement.
- For
- rationale — one sentence explaining why the migration is needed (e.g., "spec 089 adds cloudDeploymentProvider to Application").
If any input is missing, return an error. Do not guess SQL types.
Process
Step 1 — Read the migrations directory
- Glob
packages/core/src/infrastructure/persistence/migrations/*.tsto find existing migrations and their naming convention. - Read the most recent migration (the one with the highest numeric/timestamp prefix) to mirror its structure exactly.
- Read the migrations registry if one exists (commonly
migrations/index.tsor similar). Note the registration pattern.
Step 2 — Determine the next filename
Follow the existing pattern. If migrations use sequential numbers (e.g., 001_add_users.ts, 002_add_sessions.ts), use the next number. If they use timestamps, use the current UTC date in YYYYMMDDHHMMSS_<slug>.ts format. NEVER mix formats.
The slug should be kebab-case and descriptive: add_cloud_deployment_provider_to_applications, create_cloud_provider_tokens_table.
Step 3 — Write the migration file
Use the mirrored structure. Typical shep shape:
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.
- 5d ago First seen · 109 lines · 87 tokens per session scan A b53371490a2b
shep-migration-creator is an agent published in the GitHub repository shep-ai/shep (247 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 1,314 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-30.
Other agents, from other repositories
database-cloud-optimization-database-architect
Expert database architect specializing in data layer design from scratch, technology selection, schema modeling, and scalable database architectures. Masters SQL/NoSQL/TimeSeries database selection, normalization strategies, migration planning, and performance-first design. Handles both greenfield architectures and…
database-cloud-optimization-database-optimizer
Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures. Masters advanced indexing, N+1 resolution, multi-tier caching, partitioning strategies, and cloud database optimization. Handles complex query analysis, migration strategies, and performance monitoring.…
database-admin
Expert database administrator specializing in modern cloud databases, automation, and reliability engineering. Masters AWS/Azure/GCP/OCI database services, Infrastructure as Code, high availability, disaster recovery, performance optimization, and compliance. Handles multi-cloud strategies, container databases, and…
sql-pro
Master modern SQL with cloud-native databases, OLTP/OLAP optimization, and advanced query techniques. Expert in performance tuning, data modeling, and hybrid analytical systems. Use PROACTIVELY for database optimization or complex analysis.
event-sourcing-architect
Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.
team-reviewer
Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.