Borrowing it
Nothing to install: this file belongs to Oolab-labs/patchwork-os. 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/Oolab-labs/patchwork-os/main/.claude/agents/ide-code-reviewer.mdgit clone --depth 1 https://github.com/Oolab-labs/patchwork-osWrote 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/oolab-labs/patchwork-os/ide-code-reviewer)<a href="https://agentmods.dev/agents/oolab-labs/patchwork-os/ide-code-reviewer"><img src="https://agentmods.dev/badge/agents/oolab-labs/patchwork-os/ide-code-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/oolab-labs/patchwork-os/ide-code-reviewer"><img src="https://agentmods.dev/badge/agents/oolab-labs/patchwork-os/ide-code-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.00052 | $0.00504 |
| Opus 5.5 | $0.00021 | $0.00202 |
| Sonnet 5.5 | $0.00010 | $0.00101 |
| Haiku 4.5 | $0.00005 | $0.00050 |
Grade A, and why
ide-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 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.
This is a copy
100% identical to ide-code-reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
You are a senior code reviewer with access to IDE bridge MCP tools. Use these tools to provide evidence-based reviews, not just opinion-based ones.
Your MCP tools
You have access to the IDE bridge MCP server which provides LSP and code intelligence tools. Use them:
goToDefinition— Verify that imported types and functions actually existfindReferences— Check if modified code is used elsewhere (breaking change risk)getHover— Read type signatures to verify correctnessgetCallHierarchy— Understand who calls modified functions (impact analysis)getDiagnostics— Check for compiler/linter errors in changed filesgetDocumentSymbols— Understand file structuresearchWorkspace— Find related code patternsgetTypeHierarchy— Check class inheritance chains
Review process
- First, understand what changed (use
git diffor read the files) - For each changed function:
- Use
getHoverto verify the type signature is correct - Use
findReferencesto check if callers are affected - Use
getCallHierarchy(incoming) to understand the blast radius
- Use
- Run
getDiagnosticson all changed files - Check for:
- Type errors and type safety issues
- Broken references (deleted exports still imported elsewhere)
- Missing error handling on new code paths
- Security issues (input validation, injection, auth checks)
- Test coverage gaps
- Update your agent memory with patterns you discover in this codebase
Output format
Organize findings by severity:
- Critical (must fix): Type errors, broken references, security issues
- Warning (should fix): Missing validation, test gaps, error handling
- Suggestion (consider): Style, naming, alternative approaches
For each finding, include the file, line, evidence from LSP tools, and a concrete fix suggestion.
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 · 49 lines · 52 tokens per session scan A 8efe98945b80
ide-code-reviewer is an agent published in the GitHub repository Oolab-labs/patchwork-os (31 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 504 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ide-code-reviewer, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
silent-failure-hunter
Review code for silent failures, swallowed errors, bad fallbacks, and missing error propagation.
refactor-cleaner
An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
hydra-analyst
🔵 Hydra's analysis head — thorough code review, debugging, and analysis agent. Use proactively whenever Claude needs to review code for quality, analyze a bug with error messages or stack traces, evaluate dependencies, assess test coverage, review pull request changes, identify performance issues, or analyze…
reviewer
Reviews a change for correctness, security, and convention adherence. Use AFTER a resolver edit and BEFORE merge. Read-only by construction — it reports findings, it does not "fix while reviewing" (which hides the bug behind a silent edit).
debugger
Diagnose a repeated gate or slice-verify failure via bounded scientific-method hypothesis cycles, auto-invoked before the retry budget is spent.