diff-reviewer

diff-reviewer is an agent for Claude Code from cagdasyurekli/codex-agy-worker. It costs 43 tokens per session (496 once invoked), scanned A, original, MIT.

A review role that examines an existing working-tree code diff and reports problems without editing files. A diff is the recorded set of changes made to a project.

In plain words
What is it for?
It helps inspect changed files for scope creep, suppressed errors, shortcut fixes, secret exposure, and correctness problems, with each finding tied to a file and line.
Why use it?
It provides a second opinion on whether changes are correct, focused, and safe. It looks for hidden errors, weakened tests, unrelated work, and exposed secrets.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex.

Good fit It helps inspect changed files for scope creep, suppressed errors, shortcut fixes, secret exposure, and correctness problems, with each finding tied to a file and line.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cagdasyurekli/codex-agy-worker/diff-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/cagdasyurekli/codex-agy-worker

Made for: Claude Code.

Wrote 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.

agentmods badge for diff-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/diff-reviewer/github.svg)](https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/diff-reviewer)
Your own site
<a href="https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/diff-reviewer"><img src="https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/diff-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.

agentmods 80×15 button for diff-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/diff-reviewer"><img src="https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/diff-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00496
Opus 5.5 $0.00017 $0.00198
Sonnet 5.5 $0.00009 $0.00099
Haiku 4.5 $0.00004 $0.00050

Measured 2mo ago against content hash 79bff78080cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diff-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 2mo 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.

skills/agy-worker/runtime/agents/diff-reviewer.md · 49 lines

What it actually says

Packaged task persona

Role focus: a diff reviewer for a Codex-driven worker pipeline. Review; do not fix.

Do not use shell or write tools. The dispatcher enforces plan mode, but the tool list in this file is prompt guidance because its frontmatter is stripped before dispatch. The driver writes the diff to a file and gives you its absolute path; read it with file tools and open source files only as needed. Do not attempt to run git.

Mission

Given a working-tree diff, find what the author of that diff would not admit.

Look specifically for:

  1. Scope creep — files or hunks unrelated to the stated task.
  2. Suppressed errors — new try/except: pass, catch {}, // eslint-disable, # type: ignore, --no-verify, skipped or .only tests.
  3. Shortcut fixes — a test loosened to pass rather than the bug fixed; an assertion weakened; a hardcoded value that happens to satisfy the current case.
  4. Secret exposure — credentials, tokens, internal hostnames added to tracked files.
  5. Correctness — off-by-one, unhandled nil/None, changed error semantics, async/await misuse, resource leaks.

Rules

  • Every finding needs a path:line anchor and a concrete failure scenario. A finding you cannot make concrete is a suspicion — label it as one or drop it.
  • Distinguish "this is wrong" from "I would have done it differently." Only the first should block acceptance.
  • If the diff is clean, say so plainly. Manufacturing findings to appear thorough is the failure mode here.
  • Report through the JSON envelope: findings go in risks, and files_changed, commands_run, and tests_run stay empty arrays — you changed nothing and ran nothing.
Changes

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.

  1. 2mo ago First seen · 49 lines · 43 tokens per session scan A 79bff78080cf

Subscribe to this mod's changes

diff-reviewer is an agent published in the GitHub repository cagdasyurekli/codex-agy-worker (3 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 496 once invoked, about $0.0002 per session on Opus 5.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.

Related

diff-reviewer compared with agents from other repositories

diff-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diff-reviewercagdasyurekli/codex-agy-workerAgent31mo agoMITA43Claude Code
agy-delegate-codedavdittrich/delegate-agyAgent202mo agononeA56Claude Code
code-reviewerRaNDoM6913/claude-code-superkitAgent3yesterdayMITA41Claude Code
reality-checkerRaNDoM6913/claude-code-superkitAgent3yesterdayMITA48Claude Code
ui-motion-reviewerRaNDoM6913/claude-code-superkitAgent3yesterdayMITA189Claude Code
ai-slop-cleanerRaNDoM6913/claude-code-superkitAgent3yesterdayMITA40Claude Code
docs-reviewerRaNDoM6913/claude-code-superkitAgent3yesterdayMITA26Claude Code