codex-review
Skill2 starsChanged 25 days agoMITView on GitHub
Steps 5 and 6 of AGENTS.md §12 — the independent Codex review of HEAD, its record, a proposal for each finding
91 other projects use a version of this.
Adopted by
Most recently taken up by
- p-chan/agent-skillstheir own version, first seen Nov 8, 2026
- p-chan/skillstheir own version, first seen Nov 8, 2026
- Smirnov-Labs/claude-skillstheir own version, first seen Nov 8, 2026
- juriwiens/skillstheir own version, first seen Nov 8, 2026
- ryanportfolio/winuse-mcptheir own version, first seen Nov 8, 2026
- plannotator/dev-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use addskill, apply-firmware and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +10 more from ryanportfolio
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- ClickHouse/ClickHouse★ 51ksame name
- chaseai-yt/claudex-loop★ 3.2ksame name
- morethanwords/tweb★ 2.7ksame name
- alinaqi/maggy★ 711same name
- alinaqi/claude-bootstrap★ 708same name
- ThibautBaissac/rails_ai_agents★ 665same name
- ai-analyst-lab/ai-analyst★ 304same name
- Sateezg/codex-bridge★ 248same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
81 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 79 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Stop at the first one that fails, and say why:
- Very specific: line 27
Read the step 5 command in AGENTS.md §12 and run it exactly as written there: no [PROMPT] argument, no flag added, removed or changed.
- Distinctive: line 30
Run it from the Bash tool: PowerShell 5.1 wraps every stderr line of an external program in an error record.
- Very specific: line 31
Run it in the background, because at xhigh effort it can go past the ten minutes of a foreground command, with stdout and stderr in two …
- Distinctive: line 44
If the command exits with a code other than 0, or the stdout is empty, show the end of the stderr file and stop, without writing a record.
- Very specific: line 87
Write the outcome of each finding under ## Outcomes in the record, none if there were no P0/P1 findings:
“Common” is measured: kept by at least 6 in 10 of the 79 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex review
Steps 5 and 6 of the cycle in AGENTS.md §12, on HEAD of the current branch. The judgment is Codex's: your part
is to launch the command exactly as written, keep the record and show the output whole. Nothing you do here may
change what Codex looks at.
Before launching
Stop at the first one that fails, and say why:
git status --porcelainis not empty: Codex reviews commits, and an outcome holds only for the SHA it saw.- The branch does not match
feat/<n>-<description>orfix/<n>-<description>(§12, Rules). - HEAD already has a record (path below): show it. Reviewing the same SHA again is the user's call, and the new run replaces the record, outcomes included.
deno task verifyfails. On the clean tree it checks exactly the SHA Codex would review, even a commit made outside Claude: the Stop hook verifies only uncommitted changes, and Codex does not report whatverifychecks (Code Review Rules). Show its output, or its end when it is long, and write no record. The fix is a new commit, with the user's go-ahead, and then this skill again.
Launch
- Run
git fetch origin. - Read the step 5 command in
AGENTS.md§12 and run it exactly as written there: no[PROMPT]argument, no flag added, removed or changed. Do not copy the command into this file or anywhere else: the invariant reads the copy inAGENTS.md, and a second copy would drift from it. Run it from the Bash tool: PowerShell 5.1 wraps every stderr line of an external program in an error record. Run it in the background, because at
xhigheffort it can go past the ten minutes of a foreground command, with stdout and stderr in two separate files:records="$(git rev-parse --path-format=absolute --git-common-dir)/codex-review" sha="$(git rev-parse HEAD)" mkdir -p "$records" <step 5 command> >"$records/$sha.stdout" 2>"$records/$sha.stderr"--git-common-dirbecause in a worktree.gitis a file, not a folder: the records live in the repository's Git folder, shared by all its worktrees. Shell variables do not survive between Bash calls: recompute them, or write the paths out. Wait for the notification that the command ended, do not poll.- If the command exits with a code other than 0, or the stdout is empty, show the end of the stderr file and stop, without writing a record.
Record
Write $records/$sha.md:
# Codex review of <full SHA>
- SHA: `<full SHA>`
- Model: `<model>` · Effort: `<effort>`
- Date: <when the run ended, ISO 8601 with time zone>
## Output
```
<stdout, whole and unedited>
```
## Outcomes
<one line per P0/P1 finding, once the user decides>- Model and effort come from the header of the stderr file, the
model:andreasoning effort:lines. If one is missing, writenot in the stderr headerand tell the user: do not guess it. - The fence around the output is longer than the longest run of backticks inside it, or the output closes it.
- The stderr is the session transcript and stays out of the record.
Findings
Show the stdout whole, as Codex wrote it: no summary, no reordering, nothing left out (CLAUDE.md, Workflow).
Then, for each P0/P1 finding, propose either the test that reproduces it and the fix (§12, step 6), or its
rejection with the reason. And stop: the user decides, and until then you write neither tests nor fixes.
On Windows the review ends with "test validation incomplete": this is expected (CLAUDE.md, Local environment),
it is not a finding.
After the decision
An accepted finding goes through /tdd, its Step 6, before its outcome is written.
Write the outcome of each finding under ## Outcomes in the record, none if there were no P0/P1 findings:
- accepted: the name of the test that reproduces it, the failure line seen at red and what the fix changes. The code changes, so this is a new commit, with the user's go-ahead, and the new HEAD comes back to this skill;
- rejected: the reason.
To close a finding, never modify AGENTS.md, GLOSSARY.md, the ADRs or the step 5 command. A finding is closed
by the code, or rejected: a rejected finding is closed in the Review section of the PR, with its reason,
which /pr takes from this record. If you think one of those files is what is wrong, say so: changing it is a
separate change, and the user asks for it.
The next step, push and PR, is the user's: /pr.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

