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 skills/softspark/ai-toolkit/migratenpx skills add softspark/ai-toolkit --skill migrategit clone --depth 1 https://github.com/softspark/ai-toolkitWrote 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/skills/softspark/ai-toolkit/migrate)<a href="https://agentmods.dev/skills/softspark/ai-toolkit/migrate"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/migrate.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 | $0.00038 | $0.01192 |
| Opus 5 | $0.00019 | $0.00596 |
| Sonnet 5 | $0.00008 | $0.00238 |
| Haiku 4.5 | $0.00004 | $0.00119 |
Grade A, and why
migrate 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.
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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/migrate - Database Migration Workflow
$ARGUMENTS
What This Command Does
Create, run, or manage database migrations with auto-detection of the migration tool.
Project context
- Migration tools: !
ls alembic.ini prisma/ database/migrations/ manage.py 2>/dev/null
Migration Status Script
Detect migration tool and report status:
python3 ${CLAUDE_SKILL_DIR}/scripts/migration-status.py [directory]
Returns JSON with: tool, config_file, migrations_dir, total_migrations, latest, commands{} (status/create/upgrade/downgrade).
Auto-Detection
| File Found | Tool | Commands |
|---|---|---|
alembic.ini |
Alembic | alembic revision, alembic upgrade |
prisma/schema.prisma |
Prisma | npx prisma migrate dev |
database/migrations/ + artisan |
Laravel | php artisan migrate |
manage.py |
Django | python manage.py migrate |
flyway.conf |
Flyway | flyway migrate |
drizzle.config.ts |
Drizzle | npx drizzle-kit push |
Workflow
Create New Migration
- Detect migration tool
- Generate migration from model/schema changes
- Review generated SQL
- Validate syntax
Run Migrations
- Show pending migrations
- Dry-run if supported (
--pretend,--sql) - Backup reminder
- Apply with user confirmation
- Verify success
Rollback
- Show last applied migration
- Confirm rollback scope
- Execute rollback
- Verify state
Safety Checks (MANDATORY)
- Migration tested on development/staging first
- Rollback path verified
- No data loss in forward or backward direction
- Large table operations use concurrent/online DDL
- Backup exists or reminder given
Usage Examples
/migrate # Show migration status
/migrate create add_users # Create new migration
/migrate run # Apply pending migrations
/migrate rollback # Rollback last migration
/migrate status # Show applied/pending migrations
What ships with it
1 file 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.
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.
- yesterday First seen · 117 lines · 38 tokens per session scan A 10db04e466c2
migrate is a skill published in the GitHub repository softspark/ai-toolkit (169 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,192 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
ddia-systems
Design data systems by understanding storage engines, replication, partitioning, transactions, and consistency models. Use when the user mentions "database choice", "which database should I use", "SQL or NoSQL", "replication lag", "partitioning strategy", "consistency vs availability", "stream processing", "ACID…
managed-db-services
Configure DigitalOcean Managed MySQL, MongoDB, Valkey, Kafka, and OpenSearch for App Platform. Use when setting up non-PostgreSQL databases, configuring trusted sources, or troubleshooting database connectivity.
api-database-mongodb
Native MongoDB driver (the mongodb npm package) - MongoClient lifecycle, typed collections, CRUD result shapes, cursors, aggregation pipelines, index design, transactions.
pg-migration
PostgreSQL schema migration safety reviewer and DDL generator. ALWAYS use when writing, reviewing, or planning PostgreSQL schema changes — ALTER TABLE, CREATE/DROP INDEX, column type changes, constraint additions, RLS policy changes, or any DDL touching production tables. Covers lock-level analysis, CREATE INDEX…
redis-cache-strategy
Redis caching strategy designer and reviewer. ALWAYS use when designing, reviewing, or troubleshooting Redis caching layers — cache pattern selection (cache-aside, write-through, write-behind), TTL strategy, cache stampede/penetration/avalanche prevention, hot key handling, cache-DB consistency, distributed locking…