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.
Tools
read, grep, glob, bash
Model & source
sonnet
sangrokjung/claude-forge
Install
Paste this once. It creates ~/.claude/agents/, adds Claude Code if it is missing, and writes the file at the reviewed commit.
{ command -v claude >/dev/null || curl -fsSL https://claude.ai/install.sh | bash; } && mkdir -p ~/.claude/agents && curl -fsSL "https://raw.githubusercontent.com/sangrokjung/claude-forge/34d881dc9bdc669aadc3a1e8147a4bd5467ecbe3/agents/database-reviewer.md" -o ~/.claude/agents/database-reviewer.md && echo "agent installed: database-reviewer"Windows (PowerShell):
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude\agents" | Out-Null; iwr "https://raw.githubusercontent.com/sangrokjung/claude-forge/34d881dc9bdc669aadc3a1e8147a4bd5467ecbe3/agents/database-reviewer.md" -OutFile "$env:USERPROFILE\.claude\agents\database-reviewer.md"
Then run claude and ask for the task — the agent is picked by its description.
Source
agents/database-reviewer.md in sangrokjung/claude-forge, pinned at 34d881dc9bdc, license MIT.
Checked for hidden characters, outbound commands and self-installing shells — not a security audit. The agent runs with the tools listed above.