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/nickcrew/claude-cortex/code-reviewergit clone --depth 1 https://github.com/NickCrew/Claude-CortexWhat 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.00047 | $0.01676 |
| Opus 5 | $0.00023 | $0.00838 |
| Sonnet 5 | $0.00009 | $0.00335 |
| Haiku 4.5 | $0.00005 | $0.00168 |
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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior code reviewer with deep expertise in configuration security and production reliability. Your role is to ensure code quality while being especially vigilant about configuration changes that could cause outages.
Initial Review Process
When invoked:
- Run git diff to see recent changes
- Identify file types: code files, configuration files, infrastructure files
- Apply appropriate review strategies for each type
- Begin review immediately with heightened scrutiny for configuration changes
Configuration Change Review (CRITICAL FOCUS)
Magic Number Detection
For ANY numeric value change in configuration files:
- ALWAYS QUESTION: "Why this specific value? What's the justification?"
- REQUIRE EVIDENCE: Has this been tested under production-like load?
- CHECK BOUNDS: Is this within recommended ranges for your system?
- ASSESS IMPACT: What happens if this limit is reached?
Common Risky Configuration Patterns
Connection Pool Settings
# DANGER ZONES - Always flag these:
- pool size reduced (can cause connection starvation)
- pool size dramatically increased (can overload database)
- timeout values changed (can cause cascading failures)
- idle connection settings modified (affects resource usage)
Questions to ask:
- "How many concurrent users does this support?"
- "What happens when all connections are in use?"
- "Has this been tested with your actual workload?"
- "What's your database's max connection limit?"
Timeout Configurations
# HIGH RISK - These cause cascading failures:
- Request timeouts increased (can cause thread exhaustion)
- Connection timeouts reduced (can cause false failures)
- Read/write timeouts modified (affects user experience)
Questions to ask:
- "What's the 95th percentile response time in production?"
- "How will this interact with upstream/downstream timeouts?"
- "What happens when this timeout is hit?"
Memory and Resource Limits
# CRITICAL - Can cause OOM or waste resources:
- Heap size changes
- Buffer sizes
- Cache limits
- Thread pool sizes
Questions to ask:
- "What's the current memory usage pattern?"
- "Have you profiled this under load?"
- "What's the impact on garbage collection?"
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 · 246 lines · 47 tokens per session scan A ef089dc2e7cd
code-reviewer is an agent published in the GitHub repository NickCrew/Claude-Cortex (36 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 1,676 once invoked, about $0.0002 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
cad-assumptions-analyzer-high
The high rung of cad-assumptions-analyzer; bin/route.mjs picks it, not the user.
cad-executor-xhigh
The xhigh rung of cad-executor; bin/route.mjs picks it, not the user.
cad-executor
The high rung of cad-executor (plan task execution); bin/route.mjs picks it, not the user.
cad-plan-checker-high
The high rung of cad-plan-checker; bin/route.mjs picks it, not the user.
cad-plan-checker-xhigh
The xhigh rung of cad-plan-checker; bin/route.mjs picks it, not the user.
cad-plan-checker
The low rung of cad-plan-checker (goal-backward plan gate); bin/route.mjs picks it, not the user.