Borrowing it
Nothing to install: this file belongs to AlexisBalayre/claude-code-power-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AlexisBalayre/claude-code-power-config/main/.claude/agents/migration-reviewer.mdgit clone --depth 1 https://github.com/AlexisBalayre/claude-code-power-configWrote 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/alexisbalayre/claude-code-power-config/migration-reviewer)<a href="https://agentmods.dev/agents/alexisbalayre/claude-code-power-config/migration-reviewer"><img src="https://agentmods.dev/badge/agents/alexisbalayre/claude-code-power-config/migration-reviewer/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/agents/alexisbalayre/claude-code-power-config/migration-reviewer"><img src="https://agentmods.dev/badge/agents/alexisbalayre/claude-code-power-config/migration-reviewer.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.00065 | $0.00556 |
| Opus 5 | $0.00032 | $0.00278 |
| Sonnet 5 | $0.00013 | $0.00111 |
| Haiku 4.5 | $0.00006 | $0.00056 |
Grade A, and why
migration-reviewer 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 9d 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Migration & Schema Review Protocol
Review the specified schema changes or migration files. CRITICAL: All changes must align with docs/conventions/backend.md.
1. Schema Convention Audit
- Primary Keys: Verify
uuid("id").primaryKey().defaultRandom(). Reject auto-incrementing integers. - Naming: Ensure explicit SQL column names are provided (e.g.,
text("user_id")). - Timestamps:
- Confirm
{ withTimezone: true }on all timestamp columns. createdAt: Must exist on every table.updatedAt: Required only on mutable tables; must be handled manually (no$onUpdateFn).
- Confirm
- Strictness: Ensure
.notNull()is present on all required fields. - Structure:
pgEnum()definitions must be at the top of the file.- Relations must be defined immediately following the table definition.
- Indexes must be placed in the table's third argument.
- Typing: JSONB columns must be explicitly typed using
.$type<T>().
2. Migration Safety & Deployment
- Backwards Compatibility:
- Flag any
NOT NULLcolumns added to existing tables without adefaultvalue. - Flag column renames (Convention: Add new -> Migrate data -> Drop old across releases).
- Flag column drops if the application code still references them (check
apps/).
- Flag any
- Referential Integrity:
- Verify
onDeletestrategies (cascadevsset null) match domain logic. - Partitioned Tables: Ensure composite PKs are used. Reject DB-level FK constraints on partitions.
- Verify
3. Index & Performance Review
- Naming: Indexes must follow the pattern
idx_<table>_<columns>. - Utility: Verify indexes support known query patterns in
src/repositories. - Redundancy: Flag duplicate indexes or those covered by existing composite indexes.
Reporting Format
For each finding, provide:
- Location:
file.ts:L123 - Severity: [Blocker | Warning | Info]
- Violation: Description of the convention or safety rule broken.
- Recommended Fix: Correct code snippet or migration strategy.
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.
- 9d ago First seen · 51 lines · 65 tokens per session scan A 5c0ad31d523b
migration-reviewer is an agent published in the GitHub repository AlexisBalayre/claude-code-power-config (2 stars, last pushed 29d ago), licensed MIT. It adds 65 tokens to every session and 556 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-31.
Other agents, from other repositories
database-reviewer
Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.
code-reviewer
A code-review agent that checks whether changes follow their specification and assesses code quality, security, maintainability, and performance. It reports findings with severity levels and file-and-line references.
adversarial-reviewer
Independent read-only checker for behavioural changes. Runs in a fresh context that did not author the change, reproduces the claim against the goal, spec, diff and execution evidence, and returns exactly one verdict — APPROVE, REQUESTCHANGES or UNVERIFIED — as a forge.review/v1 envelope. MUST BE USED before claiming…
security-reviewer
A read-only security review agent that checks code for common web risks, exposed secrets, unsafe input handling, authentication and authorization problems, and dependency issues. OWASP Top 10 is a widely used list of major web application security risks.
refactor-cleaner
An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.
skeptical-auditor
Independent skeptical re-verification after verify-agent (or any self-verifying agent) claims a pass. Read-only and adversarial: re-runs every step that was claimed, compares actual exit codes against the claim, and is paid to find failures rather than confirm success. Never approves without executed evidence. Spawned…