agentic-project-template: Command for Codex

.codex/prompts/code-review.md

code-review is a command for Codex from pueraeternis/agentic-project-template. It costs 0 tokens per session (393 once invoked), scanned A, original, MIT.

A structured checklist for reviewing a completed code change against the project’s plans, architecture, conventions, and acceptance criteria.

In plain words
What is it for?
Use it to check correctness, maintainability, documentation, validation results, and whether the change stayed within its approved scope.
Why use it?
It helps catch missing work, unintended changes, and inconsistencies before the implementation is accepted.

Command for Codex

Written for Codex: installed under .codex/. Also seen: mentions AGENTS.md.

This is pueraeternis/agentic-project-template's own configuration. It tells Codex how to work on agentic-project-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentic-project-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pueraeternis/agentic-project-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pueraeternis/agentic-project-template/main/.codex/prompts/code-review.md
Clone the repo
git clone --depth 1 https://github.com/pueraeternis/agentic-project-template

Made for: Codex.

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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/pueraeternis/agentic-project-template/code-review/github.svg)](https://agentmods.dev/commands/pueraeternis/agentic-project-template/code-review)
Your own site
<a href="https://agentmods.dev/commands/pueraeternis/agentic-project-template/code-review"><img src="https://agentmods.dev/badge/commands/pueraeternis/agentic-project-template/code-review/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/pueraeternis/agentic-project-template/code-review"><img src="https://agentmods.dev/badge/commands/pueraeternis/agentic-project-template/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 393 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.00000 $0.00393
Opus 5.5 $0.00000 $0.00157
Sonnet 5.5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00039

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

Security

Grade A, and why

code-review 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.

.codex/prompts/code-review.md · 112 lines

How it starts

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

Code Review Prompt

Review the completed implementation using the Agentic Engineering Methodology.


Objective

Verify that the implementation:

  • satisfies the approved implementation plan;
  • preserves repository consistency;
  • respects the documented architecture;
  • follows documented engineering conventions;
  • introduces no unintended scope.

The review should focus on correctness, consistency, maintainability, and traceability.


Repository Context

Review the repository documentation in the following order:

  1. AGENTS.md
  2. docs/project/PROJECT.md
  3. docs/project/ROADMAP.md
  4. docs/project/ARCHITECTURE.md
  5. docs/project/ENGINEERING.md
  6. Relevant ADRs
  7. Approved implementation plan

Then review the implementation changes.


Review Checklist

Verify:

  • implementation completeness;
  • correctness;
  • maintainability;
  • readability;
  • architectural consistency;
  • engineering consistency;
  • documentation updates;
  • validation results.

Confirm that the implementation satisfies the documented acceptance criteria.


Scope Compliance

Confirm that:

  • only approved functionality has been implemented;
  • no unrelated refactoring has been introduced;
  • no hidden behavior has been added;
  • architectural boundaries have been respected;
  • engineering conventions have been followed.

Reject unnecessary scope expansion.


Engineering Quality

Review:

  • code organization;
  • naming;
  • type safety;
  • error handling;
  • logging;
  • testing;
  • documentation.

Use ENGINEERING.md as the source of truth for project-specific engineering conventions.

Prefer simple, maintainable implementations.

Avoid requesting improvements outside the approved scope.


Findings

Classify findings by severity:

  • Critical
  • Major
  • Minor
  • Suggestion

Only Critical and Major findings should block approval.


Review Outcome

Conclude with one of:

  • Approved
  • Approved with Minor Suggestions
  • Changes Requested

Explain the reasoning for the outcome.

Read the full file on GitHub · 112 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. 2mo ago First seen · 112 lines · 0 tokens per session scan A 573f661dcdc1

Subscribe to this mod's changes

code-review is a command published in the GitHub repository pueraeternis/agentic-project-template (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 393 tokens. 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.