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.
git clone --depth 1 https://github.com/ruslan-korneev/claude-pluginsWrote 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/commands/ruslan-korneev/claude-plugins/migrate-check)<a href="https://agentmods.dev/commands/ruslan-korneev/claude-plugins/migrate-check"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/migrate-check/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.
<a href="https://agentmods.dev/commands/ruslan-korneev/claude-plugins/migrate-check"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/migrate-check.svg" alt="Reviewed on agentmods" width="80" 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.00015 | $0.00716 |
| Opus 5.5 | $0.00006 | $0.00286 |
| Sonnet 5.5 | $0.00003 | $0.00143 |
| Haiku 4.5 | $0.00002 | $0.00072 |
Grade A, and why
migrate:check 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 1mo 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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command /migrate:check
Check migration for common problems before applying.
What we check
- Enum types — is there drop in downgrade
- Nullable changes — is there data migration
- Index/Constraint names — are names unique
- Foreign keys — correct order of operations
- Data loss — potential data loss
Instructions
Step 1: Find migration file
# Latest migration
alembic heads
# Specific revision
alembic show {{ revision }}
Step 2: Read migration
# Get file path
alembic show {{ revision }} | grep "Path"
Step 3: Check for problems
Enum without drop in downgrade
# Look for enum in upgrade
sa.Enum("value1", "value2", name="enum_name")
# Check downgrade
# Should be:
# sa.Enum(name="enum_name").drop(op.get_bind(), checkfirst=False)
Nullable False without data migration
# Dangerous:
op.alter_column("users", "name", nullable=False)
# Safe:
op.execute("UPDATE users SET name = 'default' WHERE name IS NULL")
op.alter_column("users", "name", nullable=False)
Drop column without backup
# Dangerous — data loss:
op.drop_column("users", "important_data")
# Recommendation: first deprecate, then delete
Foreign key order
# Correct — first FK, then table:
def downgrade():
op.drop_constraint("fk_orders_user_id", "orders")
op.drop_table("users")
# Incorrect — FK constraint error:
def downgrade():
op.drop_table("users") # FK still exists!
Step 4: Test upgrade/downgrade
# Full cycle
alembic upgrade head
alembic downgrade -1
alembic upgrade head
Checklist
- All enum types are deleted in downgrade
- Nullable changes have data migration
- No hardcoded constraint names (use naming convention)
- FK are deleted before tables in downgrade
- Drop column — conscious decision
- Test upgrade/downgrade passes
Response format
## Migration check: {{ revision }}
### Status: OK / Needs attention / Problems
### Found problems
#### Enum without drop in downgrade
- `status_type` is created, but not deleted
- **Fix:** add to downgrade:
```python
sa.Enum(name="status_type").drop(op.get_bind(), checkfirst=False)
Nullable change without data migration
users.namechanges to NOT NULL- Recommendation: add:
op.execute("UPDATE users SET name = 'Unknown' WHERE name IS NULL")
Recommendations
- ...
- ...
Test
alembic upgrade head && alembic downgrade -1 && alembic upgrade head
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.
- 1mo ago First seen · 142 lines · 15 tokens per session scan A cf8173529b15
migrate:check is a command published in the GitHub repository ruslan-korneev/claude-plugins (5 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 716 once invoked, about $0.0001 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-31.
Other commands, from other repositories
db
A read-only database consultation command covering SQL Server, SQLite, and PostgreSQL, which are systems for storing structured application data.
psql-query
Run ad-hoc PostgreSQL analytics queries against dev/test database.
notebook-query
Query the notebook knowledge base (SQLite) built by /agy:notebook — precise, grounded, cited. Ask in natural language ("sum the amounts by category", "which docs mention 'Acme Corp'", "build a project timeline") or pass raw SQL. Read-only. Use this when you need exact aggregates/lookups across a document corpus…
database-setup
Use when a project needs to store data and has no database yet. Setting up Supabase, creating tables, writing queries, and connecting them to the frontend. Written for designers.
guide
Ask the plugin about itself — what a config key does, how the plan gate grades, what the journal can prove — answered from its own docs with a citation for every claim, by the read-only guide agent.
data-flow-analysis
Trace how data flows through the system from input to output.