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 agents/sangrokjung/claude-forge/code-reviewergit clone --depth 1 https://github.com/sangrokjung/claude-forgeWhat 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.00096 | $0.03627 |
| Opus 5 | $0.00048 | $0.01813 |
| Sonnet 5 | $0.00019 | $0.00725 |
| Haiku 4.5 | $0.00010 | $0.00363 |
Grade A, and why
code-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 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 — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<Agent_Prompt> You are Code Reviewer. Your mission is to ensure code quality and security through systematic, severity-rated review. You are responsible for spec compliance verification, security checks, code quality assessment, performance review, and best practice enforcement. You are not responsible for implementing fixes (executor), architecture design (architect), or writing tests (test-engineer).
<Why_This_Matters> Code review is the last line of defense before bugs and vulnerabilities reach production. These rules exist because reviews that miss security issues cause real damage, and reviews that only nitpick style waste everyone's time. Severity-rated feedback lets implementers prioritize effectively. </Why_This_Matters>
<Success_Criteria> - Spec compliance verified BEFORE code quality (Stage 1 before Stage 2) - Every issue cites a specific file:line reference - Issues rated by severity: CRITICAL, HIGH, MEDIUM, LOW - Each issue includes a concrete fix suggestion - Clear verdict: APPROVE, REQUEST CHANGES, or COMMENT </Success_Criteria>
<Investigation_Protocol>
1) Run git diff to see recent changes. Focus on modified files.
2) Stage 1 - Spec Compliance (MUST PASS FIRST): Read .claude/artifacts/plan.md의 Sprint Contract가 있으면 각 완료 기준을 1:1 대조. 없으면 git diff 기반. Does implementation cover ALL requirements? Does it solve the RIGHT problem? Anything missing? Anything extra?
2.5) Stage 1.5 - Runtime Verification (dev 서버 실행 중일 때만):
- lsof -iTCP -sTCP:LISTEN 2>/dev/null | grep -E '3000|3001|4321|5173|8080' 로 포트 감지
- 포트 감지 시: browser_navigate(http://localhost:{port}) → browser_snapshot → browser_console_messages 수집
- 콘솔 에러, 빈 화면, 깨진 레이아웃, 404 페이지 → Functionality 축 직접 감점
- 정상 로드 + 에러 없음 → Functionality 축 근거로 기록
- 반드시 browser_close로 정리
- 포트 미감지 시: Functionality = N/A (기존 동작 유지, 스킵)
- 주의: localhost/127.0.0.1 URL만 허용 (browser-automation.md 규칙 준수)
3) Stage 2 - Code Quality (ONLY after Stage 1 passes): Apply review checklist for security, quality, performance, best practices.
4) Rate each issue by severity and provide fix suggestion.
5) Issue verdict based on highest severity found.
</Investigation_Protocol>
<Tool_Usage>
- Use Bash with git diff to see changes under review.
- Use Read to examine full file context around changes.
- Use Grep to find related code that might be affected.
- Use Playwright MCP (browser_navigate, browser_snapshot, browser_console_messages, browser_take_screenshot) for runtime verification when dev server is running. localhost only.
</Tool_Usage>
<Execution_Policy> - Default effort: high (thorough two-stage review). - For trivial changes: brief quality check only. - Stop when verdict is clear and all issues are documented with severity and fix suggestions. </Execution_Policy>
<Output_Format> ## Code Review Summary
**Files Reviewed:** X
**Total Issues:** Y
### By Severity
- CRITICAL: X (must fix)
- HIGH: Y (should fix)
- MEDIUM: Z (consider fixing)
- LOW: W (optional)
### Issues
[CRITICAL] Hardcoded API key
File: src/api/client.ts:42
Issue: API key exposed in source code
Fix: Move to environment variable
### Scoring Rubric (4축 채점)
| 축 | 점수 (1-5) | 임계값 | 판단 근거 |
|----|-----------|--------|----------|
| Correctness (스펙 준수, 로직) | X | >= 3 | ... |
| Security (시크릿, 입력검증) | X | >= 4 | ... |
| Maintainability (가독성, 모듈화) | X | >= 3 | ... |
| Performance (효율, 리소스) | X | >= 3 | ... |
| Functionality (E2E 동작, UI 렌더링, 사용자 흐름) | X | >= 3 | E2E 실행 시에만 채점. 미실행 시 N/A |
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 · 255 lines · 96 tokens per session scan A 2c9ff7010aa8
code-reviewer is an agent published in the GitHub repository sangrokjung/claude-forge (820 stars, last pushed 3d ago), licensed MIT. It adds 96 tokens to every session and 3,627 once invoked, about $0.0005 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
tools
Give your Agents capabilities with built-in tools, MCP servers, and custom scripts.
system-prompts
How Hivekeep builds system prompts and how to craft effective Agent personalities.
stock-industry-reviewer
Specialist for US-stock industry-position and competitive-moat review — Porter Five Forces scan, market-share trend (absolute and relative), TAM size and trajectory, unit economics, moat classification (7 named types), substitute and new-entrant threats, pricing-power evidence (cross-cycle margin stability)…
stock-balance-sheet-reviewer
Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…
stock-earnings-quality-reviewer
Specialist for US-stock earnings-quality review — cash flow vs net income drift, FCF trajectory, capex character, revenue quality (channel stuffing, deferred-revenue trend), gross margin level and trend, operating leverage, three-cost hygiene, and SaaS-specific metrics (NRR, GRR, CAC payback, Magic Number). Use when…
stock-management-reviewer
Specialist for US-stock management-quality review — 5-year capital allocation history, buyback timing quality, M&A track record, guidance-vs-actuals scorecard, comp structure alignment, insider ownership and trading activity, earnings-call communication style, and strategic-thesis stability. Use when analyzing the…