code-review-codex

A procedure for using the Codex command-line tool as a second reviewer of pi-go code. It produces review findings in a specified prompt file and does not edit the code.

In plain words
What is it for?
Use it to review uncommitted changes, a branch compared with a base, or a specific commit, then prepare the resulting issues for follow-up work.
Why use it?
It provides an independent, read-only review and documents the command format needed for the supported CLI version.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dimetron/pi-go/code-review-codex
Any agent
npx skills add dimetron/pi-go --skill code-review-codex
Clone the repo
git clone --depth 1 https://github.com/dimetron/pi-go

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02842
Opus 5 $0.00000 $0.01421
Sonnet 5 $0.00000 $0.00568
Haiku 4.5 $0.00000 $0.00284

Measured 2d ago against content hash fe470ae13797, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review-codex 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 2d 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.

.pi-go/skills/code-review-codex/SKILL.md · 308 lines

How it starts

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

Codex Review

Use the external codex CLI as a second-opinion reviewer for pi-go. This skill is for read-only review and findings, not code editing. The only intended output is ./specs/issues/002-code-review-codex/PROMPT.md.

CLI constraint: --uncommitted/--base/--commit vs [PROMPT]

These flags are mutually exclusive with a positional prompt argument.

Verified behavior in codex-cli 0.117.0

In this version, passing - as a positional prompt still counts as [PROMPT] and fails with exit code 2 when combined with --uncommitted, --base, or --commit.

This means the previously documented pattern below does not work on codex-cli 0.117.0:

codex exec -s read-only review --uncommitted -m gpt-5.4 -o file.md - <<'EOF'
Your instructions here
EOF

Observed error:

error: the argument '--uncommitted' cannot be used with '[PROMPT]'

Working pattern in codex-cli 0.117.0

If you need custom instructions alongside one of these flags, pipe stdin without any positional prompt argument:

cat <<'EOF' | codex exec -s read-only review --uncommitted -m gpt-5.4 -o file.md
Your instructions here
EOF

Do not combine --uncommitted, --base, or --commit with - as a prompt argument on this version.

Default output path

The canonical saved-review artifact for this skill is:

./specs/issues/002-code-review-codex/PROMPT.md

When using this skill, prefer commands that overwrite that file with the latest Codex review. Do not use this skill to edit source files, run fix-up commands, or write any other artifact.

When to use

Use this skill when you want Codex CLI to review:

  • uncommitted changes in the working tree
  • a feature branch against origin/main
  • a single commit before push
  • a change for pi-go-specific risks, not just generic style issues

Do not use this skill to replace repo validation. Codex findings are advisory; the real gates are still:

make build
make test
make lint
make vet

Read the full file on GitHub · 308 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. 2d ago First seen · 308 lines · 0 tokens per session scan A fe470ae13797

Subscribe to this mod's changes

code-review-codex is a skill published in the GitHub repository dimetron/pi-go (148 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,842 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-30.

Related

Other skills, from other repositories

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.

JetBrains/go-modern-guidelines · 32 tokens

write-zot-themes

Help the user create, install, or package zot themes, including theme-only extensions.

patriceckhart/zot · 23 tokens

blog-writer

Peri 项目博客写作风格指南。当用户说"写博客"、"写文章"、"出稿"、 "按风格写"、"博客"时触发。也适用于用户丢过来素材说"帮我写篇博客"的场景。 覆盖项目介绍、技术复盘、架构讨论、性能优化、架构设计等类型。.

KonghaYao/peri · 90 tokens

auto-devflow

Use when starting an issue, bugfix, feature, or refactor that benefits from an adaptive development workflow. Select lite, normal, pro, max, or ultra from task complexity and risk, then use only the coordination, review, and verification phases that the task actually needs.

KonghaYao/peri · 60 tokens

langfuse

Interact with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datasets, scores, sessions, and any other API resource, (2) look up Langfuse documentation, concepts, integration guides, or SDK usage, or (3) understand how any…

KonghaYao/peri · 100 tokens