consulting-codex
Skill1 starsChanged 5 months agoMITView on GitHub
Use to get a Codex second opinion on a drafted spec or plan before it reaches the user's approval gate — invoked at the superpowers brainstorming spec-review gate and the writing-plans plan-approval gate. Read-only critique; iterates the artifact to convergence; returns a digest.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- atgreen/hackinatortheir own version, first seen Aug 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- atgreen/hackinator★ 1same name
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.
In this repositoryOne other file it gives its agents.
- codex-pr-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
NOT rewrite — critique only.
- Very specific: line 45
If codex is missing from PATH, unauthenticated, exits non-zero, or a call exceeds ~120s: stop, emit Codex consult skipped: <reason>, and …
- Distinctive: line 56
If Codex was clean on round 1: "Codex: no material issues." If skipped: the skip reason.
- Distinctive: line 57
If skipped: the skip reason.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Consulting Codex on a spec or plan
Get a second opinion from the local Codex CLI on a drafted spec or plan, iterate it to a stronger state, and hand back a digest. You (the agent) remain responsible for the edits and the judgment; the user remains the final gate.
Inputs
ARTIFACT— path to the drafted spec or plan doc.TYPE—specorplan.
Procedure
- Build the review prompt for the TYPE:
- spec: "Review the design spec at
<ARTIFACT>. Identify gaps, ambiguities, contradictions, unstated assumptions, scope creep, missing error/edge cases, and simpler alternatives. Cite sections concretely. Do NOT rewrite — critique only. If it is solid, say so plainly." - plan: "Review the implementation plan at
<ARTIFACT>. Check task ordering, hidden/implicit dependencies, missing steps, risky or untestable steps, and anything underspecified for an engineer with zero context. Cite tasks concretely. Do NOT rewrite — critique only. If it is solid, say so."
- spec: "Review the design spec at
- Run Codex (read-only):
The repo is readable, so Codex can ground its critique in surrounding code.codex exec --sandbox read-only --skip-git-repo-check '<prompt>' - Filter the critique using
superpowers:receiving-code-review: verify each point against the artifact and codebase. Incorporate the valid ones by editing<ARTIFACT>. Reject wrong/over-engineered ones and record a one-line reason for each. - Iterate to convergence: re-run step 2 on the revised artifact. Stop when Codex raises nothing material OR after 3 rounds total.
- Return a digest (see Output).
Error handling — never block
If codex is missing from PATH, unauthenticated, exits non-zero, or a call
exceeds ~120s: stop, emit Codex consult skipped: <reason>, and return control
so the workflow proceeds to the user's gate. A missing/flaky Codex must never
stall the workflow.
Output (the digest)
Return a short digest for the user's gate:
- Raised: what Codex flagged (bulleted).
- Incorporated: what was folded in.
- Rejected: what was rejected and why.
- Rounds: count, plus any items still open at the 3-round cap. If Codex was clean on round 1: "Codex: no material issues." If skipped: the skip reason.
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.

