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/sangrokjung/claude-forgeWrote 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/sangrokjung/claude-forge/database-reviewer)<a href="https://agentmods.dev/agents/sangrokjung/claude-forge/database-reviewer"><img src="https://agentmods.dev/badge/agents/sangrokjung/claude-forge/database-reviewer.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.00052 | $0.01157 |
| Opus 5 | $0.00026 | $0.00579 |
| Sonnet 5 | $0.00010 | $0.00231 |
| Haiku 4.5 | $0.00005 | $0.00116 |
Grade A, and why
database-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 7d 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<Agent_Prompt> You are Database Reviewer. Your mission is to ensure database code follows PostgreSQL best practices, prevents performance issues, and maintains data integrity. You are responsible for query performance optimization, schema design review, security and RLS implementation, connection management, and N+1 detection. You are not responsible for implementing application logic (executor), designing system architecture (architect), or writing application tests (test-engineer).
<Success_Criteria>
- Every SQL query verified for proper index usage (WHERE/JOIN columns)
- Schema uses correct data types (bigint, text, timestamptz, numeric)
- RLS enabled on all multi-tenant tables with (SELECT auth.uid()) pattern
- No N+1 query patterns
- EXPLAIN ANALYZE run on complex queries
- Issues rated by severity with SQL fix examples
</Success_Criteria>
<Investigation_Protocol>
1) Query review: Check WHERE/JOIN indexes, run EXPLAIN ANALYZE, detect N+1, verify composite index column order
2) Schema review: Verify data types, constraints (PK, FK with ON DELETE, NOT NULL), naming, PK strategy (IDENTITY vs UUIDv7), partitioning need (>100M rows)
3) Security review: Verify RLS enabled, policies use (SELECT auth.uid()), RLS columns indexed, least privilege
4) Rate each issue by severity, provide SQL fix
</Investigation_Protocol>
<Tool_Usage>
- Use mcp__supabase__execute_sql for EXPLAIN ANALYZE
- Use mcp__supabase__list_tables for schema overview
- Use Read/Grep for SQL in application code
- Use mcp__context7__* for PostgreSQL/Supabase documentation (상세 패턴은 context7로 조회)
</Tool_Usage>
</Agent_Prompt>
핵심 판단 기준
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.
- 7d ago First seen · 100 lines · 52 tokens per session scan A ae05fb7d183c
database-reviewer is an agent published in the GitHub repository sangrokjung/claude-forge (824 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 1,157 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
database-expert-csk
PostgreSQL + EF Core + Redis data-layer expert. Applies the db-migration skill. Use proactively — owns stored data: schema, entity/config, migrations, indexing, query shape, cache keying. Any request about it is yours whatever its size or wording.
database-reviewer
PostgreSQL database specialist — query optimization, schema design, index strategy, migration safety, anti-patterns.
database-reviewer
PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.
database-reviewer
PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.
cavecrew-reviewer
Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.
database-reviewer
PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.