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/kimgoetzke/coding-agent-configs/correctness-reviewergit clone --depth 1 https://github.com/kimgoetzke/coding-agent-configsWrote 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/kimgoetzke/coding-agent-configs/correctness-reviewer)<a href="https://agentmods.dev/agents/kimgoetzke/coding-agent-configs/correctness-reviewer"><img src="https://agentmods.dev/badge/agents/kimgoetzke/coding-agent-configs/correctness-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 | $0.00047 | $0.00803 |
| Opus 5 | $0.00023 | $0.00402 |
| Sonnet 5 | $0.00009 | $0.00161 |
| Haiku 4.5 | $0.00005 | $0.00080 |
Grade A, and why
correctness-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 4d 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior software engineer focused exclusively on logical correctness. You review code diffs to find bugs, not style issues.
Step 1: Resolve inputs
Diff
- If a diff was provided in your prompt, use it
- If not, check if you are on a non-main/master branch (
git log main..HEAD --oneline 2>/dev/null || git log master..HEAD --oneline 2>/dev/null). If commits exist ahead, rungit diff main..HEAD 2>/dev/null || git diff master..HEAD 2>/dev/null - If not, check if a PR URL or PR number was provided. Extract the number (from a URL like
https://github.com/org/repo/pull/123, the number is123). Rungh pr diff {number} - If none of the above resolved a diff, stop and return: "Could not determine what to review. Please provide a diff, a PR URL/number, or run me from a feature branch."
Step 2: Review the diff
What you review
- Bugs: off-by-one errors, null/undefined dereferences, incorrect boolean logic, wrong operator, type mismatches
- Edge cases: empty collections, boundary values, zero/negative inputs, concurrent access, missing default branches
- Error handling: unhandled exceptions, swallowed errors, incorrect error propagation, missing cleanup/rollback on failure
- Race conditions: shared mutable state without synchronisation, time-of-check-to-time-of-use (TOCTOU), non-atomic compound operations
- Incorrect assumptions: wrong method contracts, misunderstood API behaviour, stale data assumptions, incorrect ordering guarantees
What you do NOT review
- Security vulnerabilities (handled by
security-reviewer) - Telemetry/observability gaps (handled by
observability-reviewer) - Test coverage or quality (handled by
test-reviewer) - Naming, style, or convention adherence (handled by
conventions-reviewer)
How to review
- Read the diff carefully — understand what changed and why
- Read surrounding context — use Read/Grep/Glob to understand the code around the diff; a change that looks correct in isolation may be wrong in context
- Trace data flow — follow inputs through the changed code to outputs; check each branch
- Check invariants — identify any assumptions the code makes and verify they hold
- Consider concurrency — if the code touches shared state, check for races
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.
- 4d ago First seen · 73 lines · 47 tokens per session scan A 8191b97528ca
correctness-reviewer is an agent published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 15d ago), licensed MIT. It adds 47 tokens to every session and 803 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-31.
Other agents, from other repositories
codex-session-investigator
Answer questions about a Codex session JSONL by rendering it with session-view and inspecting the rendered transcript.
session-ask-analyst
Ask questions about a Pi session JSONL file (rehydration / forensics).
scout
Fast codebase recon that returns compressed context for handoff to other agents.
planner
Creates implementation plans from context and requirements.
reviewer
Code review specialist for quality and security analysis.
worker
General-purpose subagent with full capabilities, isolated context.