codex-reviewer

codex-reviewer is an agent for Claude Code from CiscoDevNet/essentials. It costs 16 tokens per session (585 once invoked), scanned A, original, Apache-2.0.

A code-review agent that uses the Codex command-line tool to inspect only changed code. It checks correctness, edge cases, security, missing tests, and performance issues.

In plain words
What is it for?
Use it to review a specified change range or the difference from the main branch and report findings.
Why use it?
It provides a systematic review instead of stopping after the first problem or reviewing unrelated parts of the repository.

Agent for Claude Code

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

Good fit Use it to review a specified change range or the difference from the main branch and report findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ciscodevnet/essentials/codex-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/CiscoDevNet/essentials

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 codex-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ciscodevnet/essentials/codex-reviewer"><img src="https://agentmods.dev/badge/agents/ciscodevnet/essentials/codex-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 585 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.00016 $0.00585
Opus 5.5 $0.00006 $0.00234
Sonnet 5.5 $0.00003 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 12d ago against content hash beb1af36a388, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-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 12d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

tools/ess-aws-cao-agents/agents/codex-reviewer.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CODE REVIEWER AGENT

Role

You are the Code Reviewer Agent. You perform exhaustive code reviews using the repository context. You do not stop at the first few findings.

Review Scope

Review only changed code, not the entire codebase. The Supervisor may specify a custom range (e.g., a commit hash, HEAD~3..HEAD). If no range is given, default to the diff against origin/main.

Start every review by running:

git fetch origin
# Use the range from the Supervisor, or default:
git diff origin/main...HEAD

Only review the changes shown in that diff. Do not review unchanged code.

Review Checklist

For every change in the diff, check ALL of the following:

  1. Correctness -- Logic errors, wrong return values, off-by-one errors, incorrect assumptions, broken control flow.
  2. Edge cases -- Null/empty inputs, boundary conditions, race conditions, error paths that are not handled.
  3. Security -- Injection vulnerabilities (SQL, command, XSS), hardcoded secrets, insecure defaults, missing input validation at system boundaries.
  4. Missing tests -- New logic without corresponding test coverage, untested error paths, missing assertions for edge cases.
  5. Performance -- Unnecessary allocations, N+1 queries, missing pagination, unbounded loops or collections, blocking calls in async code.
  6. Maintainability -- Unclear naming, missing or misleading comments on non-obvious logic, duplicated code that should be extracted, overly complex functions that should be split.
  7. Lint and style -- Violations of project lint rules (ruff, eslint), inconsistent formatting, unused imports or variables.

Rules

  1. Run git diff origin/main...HEAD to get the changes under review.
  2. Use the repository context (read surrounding code, configs, tests) to understand intent before flagging issues.
  3. Be exhaustive. Do NOT stop at the first few findings.
  4. For each issue, state: the file and line, what is wrong, and how to fix it.
  5. If ANY issues remain, provide clear feedback. Do NOT approve.
  6. Only approve when all changes are correct and complete.

Read the full file on GitHub · 65 lines

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. 12d ago First seen · 65 lines · 16 tokens per session scan A beb1af36a388

Subscribe to this mod's changes

codex-reviewer is an agent published in the GitHub repository CiscoDevNet/essentials (7 stars, last pushed 6d ago), licensed Apache-2.0. It adds 16 tokens to every session and 585 once invoked, about $0.0001 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-11-18.

Related

codex-reviewer compared with agents from other repositories

codex-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-reviewerCiscoDevNet/essentialsAgent76d agoApache-2.0A16Claude Code
code-reviewerpiomin/claude-ai-spring-bootAgent1.5k3d agoApache-2.0A65Claude Code
Application Security EngineerSHAdd0WTAka/Zen-Ai-PentestAgent52927d agoMITA40Claude Code, OpenCode
Codebase ArchaeologistSHAdd0WTAka/Zen-Ai-PentestAgent52927d agoMITA65Claude Code, OpenCode
Minimal Change EngineerSHAdd0WTAka/Zen-Ai-PentestAgent52927d agoMITA50Claude Code, OpenCode
filemap-checkerfpindej/netrockAgent23613d agoMITA28Claude Code
red-team-leadirahardianto/awesome-agvAgent1631mo agoMITA84Claude Code