review
Skill4 starsChanged 2 months agoMITView on GitHub
Codex-backed second-opinion code review — 0-5 verdict plus prioritized issues with file:line citations, covering correctness, security, spec conformance and performance. Use when the user says "review", "/review", "review my changes".
- Reads credentials
- Installs packages
193 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- joi-fairshare/agentic-workflowtheir own version, first seen Oct 5, 2026
- kurofune/claudittheir own version, first seen Oct 5, 2026
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use cso, plan-devex-review 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.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 11 projects that use this
seek888Skillplan-devex-review
Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".
Also in 9 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 5 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 11 projects that use this
Kit4SomeSkillunfreeze
Also in 12 projects that use this
AICreator-WindSkilldesign-consultation
设计合作伙伴工具。构建完整设计系统,提供专业设计建议。
Also in 12 projects that use this
- +1 more from seek888
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- garrytan/gstack★ 143ksame name
- anthropics/claude-for-legal★ 9.6ksame name
- vercel/eve★ 5.5ksame name
- microsoft/FluidFramework★ 4.9ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- dzhng/jevgrep★ 2.3ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- skyllwt/AutoSci★ 1.7ksame name
- nagisanzenin/engram★ 1.4ksame name
183 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.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- ai-writing-detectorSkill
- animate-svgSkill
- browserbaseSkill
- clickhouseSkill
- commitSkill
- geist-designSkill
- generate-faviconSkill
- generate-imageSkill
- google-indexingSkill
- google-search-consoleSkill
- google-searchSkill
- humanizerSkill
- keyword-researchSkill
- parallelSkill
- remove-backgroundSkill
- web-uiSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
Default source: uncommitted changes if any exist, otherwise prompts for a base branch or commit.
- Distinctive: line 52
Only you (the agent) have the conversation context.
- Very specific: line 97
Call mcp__codex__codex-reply with the same threadId:
- Very specific: line 128
Run a single self-verifying pass (step 4's "re-read your citations" is folded into the prompt, since claude -p is naturally one-shot):
- Distinctive: line 151
ONLY the JSON object." Then persist and render as in step 5.
“Common” is measured: kept by at least 6 in 10 of the 167 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
Review
Local, high-signal code review: build a bundle of context on disk, hand it to Codex via MCP, render the structured JSON verdict back to the user.
vs. the built-ins
This is the second-opinion review — a different vendor's model reads the
change, catching what own-model review is blind to. Claude Code's built-ins are
complementary: /code-review (own-model review of the diff, with --fix and
--comment for inline PR comments), /simplify (quality-only; does not hunt
bugs), /security-review (security pass over branch changes).
When to Use
User says "review", "/review", "review my changes"; before committing non-trivial work or opening a PR; after addressing feedback, to confirm resolution.
Workflow
1. Assemble the bundle
prepare gathers disk-side context and prints the bundle directory path as the
last line of stdout.
./scripts/review prepare \
--issues "#123,PROJ-456" \
--plan ./plan.md \
--title "Refactor auth flow"It writes: CHANGES.diff (unified diff), CHANGED_FILES.txt, ISSUES.md
(fetched GitHub / Linear / Sentry context), PLAN.md (--plan, else most recent
~/.claude/plans/*.md), CONVENTIONS.md (repo REVIEW.md + CLAUDE.md + user
~/.claude/CLAUDE.md), REFERENCED_FILES.md (contents of --files),
REVIEW_PROMPT.md (reviewer prompt, copied from this skill), MANIFEST.json,
and AGENT_CONTEXT.md — a placeholder you fill in next.
Default source: uncommitted changes if any exist, otherwise prompts for a base branch or commit.
2. Write AGENT_CONTEXT.md
Only you (the agent) have the conversation context. Overwrite the placeholder with what's not on disk: the user request (quote the original ask and clarifying turns), user feedback (corrections and course-corrections during the work), plan iteration (decisions and tradeoffs that shaped the change, especially ones the plan file missed), and a one-paragraph task summary.
Be concrete. This is the canonical statement of intent the reviewer uses for spec-conformance judgments.
3. Invoke the reviewer
Reviewer priority is Codex → Claude. Read <bundle>/REVIEW_PROMPT.md and
pass its contents to mcp__codex__codex with the bundle path. Recommended
config:
{
"approval-policy": "never",
"sandbox": "workspace-write",
"model": "gpt-6-astra",
"config": { "model_reasoning_effort": "medium" }
}Model policy (2026-09-07): reviews run on gpt-6-astra at medium reasoning.
That model needs Codex CLI ≥ 0.154.0-alpha.3 (npm i -g @openai/codex@alpha,
and bun install -g @openai/codex@alpha if a bun-global codex shadows it on
PATH; check codex --version). If the MCP answers "requires a newer version of
Codex", the MCP server process is still the old binary: reconnect it (/mcp)
or restart the session, and until then use the CLI form below with the same
model flags.
Prompt shape:
{REVIEW_PROMPT.md contents}
Review bundle directory:
<absolute bundle path>Read every file in that directory (check MANIFEST.json for the list) before producing your JSON response.
Capture the returned threadId from structuredContent.threadId.
4. Verification pass (required)
Call mcp__codex__codex-reply with the same threadId:
For each issue you returned, re-read the file and lines cited in
evidence. Drop any finding where the citation does not substantiate the claim (wrong file, wrong line, code doesn't match the description, or you inferred from naming rather than reading). Return the updated JSON object — same schema, only verified findings. Recomputeseverity_countsandscoreaccordingly.
This single step is the biggest quality lever — it suppresses hallucinated findings that name functions or lines that don't exist.
5. Parse, persist, render
Parse the final JSON; if Codex wrapped it in prose or fences, strip them and
retry, then send one more codex-reply asking for valid JSON only. Write the
verified JSON to <bundle>/review.json.
Render terse — the user reads review.json for detail: score + verdict headline
(e.g. 4/5 — ready-with-nits), one-line summary, spec_alignment, then issues
grouped by severity (critical → high → medium → nit → pre_existing) with
title, files[].path:lines and a one-line description; strengths /
improvements if present; the <bundle> path for raw artifacts.
Fallback: claude -p (on ANY Codex error)
On any Codex failure — MCP tool not loaded, usage/credit limit, timeout, auth error, empty or non-JSON output, anything else — switch to a headless Claude review with the SAME bundle. It runs on Anthropic credits, independent of Codex's OpenAI quota, so a Codex outage never blocks the review. Never abandon the review because Codex failed; this is a first-class path, not a last resort.
Run a single self-verifying pass (step 4's "re-read your citations" is folded
into the prompt, since claude -p is naturally one-shot):
claude -p "$(cat <bundle>/REVIEW_PROMPT.md)
Review bundle directory: <bundle path>
Read every file in that directory (check MANIFEST.json) before producing your JSON
response. You MAY read files in the working repository to verify cross-file findings.
Before emitting, RE-READ each finding's cited file:line and DROP any you cannot
substantiate (wrong file/line, code doesn't match, or inferred from naming).
Recompute severity_counts and score. Return ONLY the JSON object — no prose, no fences." \
--model opus \
--permission-mode bypassPermissions \
> <bundle>/review.json--permission-mode bypassPermissionslets the headless reviewer read bundle + repo without prompts (the prompt is read-only by intent). For least-privilege, use--allowedTools "Read Grep Glob Bash"instead.--model opusfor review quality; omit to use the user's default model.- stdout is the JSON object. If it won't parse after stripping fences, re-run the
same
claude -pappending "Your previous output did not parse as JSON. Return ONLY the JSON object." Then persist and render as in step 5.
Older fallback: Codex CLI
The CLI hits the same backend and credits as the MCP — if the MCP failure was a
credit/usage limit, the CLI fails identically, so go straight to claude -p. Use
the CLI only when the MCP tool is merely not loaded in the session:
codex exec --cd <bundle path> --sandbox workspace-write \
-m gpt-6-astra -c model_reasoning_effort=medium --skip-git-repo-check \
"$(cat <bundle>/REVIEW_PROMPT.md)
Review bundle directory: <bundle path>
Read every file in that directory before producing your JSON response." < /dev/null< /dev/null matters when the shell is not a TTY (background jobs, agents):
codex exec otherwise blocks on "Reading additional input from stdin..." until
the timeout and produces nothing. Use -o <file> to capture the final message.
Output schema
REVIEW_PROMPT.md in this skill is the single source of truth for the JSON
schema, the severity ladder, and the 0–5 verdict ladder (ship →
ready-with-nits → needs-changes → significant-changes → rethink). Read it
there rather than restating it.
Command
./scripts/review prepare [OPTIONS]Options
| Option | Description |
--base, -b BRANCH | Compare against branch |
--uncommitted, -u | Review staged/unstaged/untracked changes (default when changes exist) |
--commit, -c SHA | Review specific commit |
--issues, -i REFS | Issue refs (comma-separated): #123, PROJ-456, sentry:12345, or URLs |
--plan, -p PATH | Plan file path (default: most recent ~/.claude/plans/*.md) |
--files, -f PATHS | Additional files (comma-separated) |
--title, -t TEXT | Commit/PR title recorded in MANIFEST.json |
--bundle-dir PATH | Override bundle location (default: ~/.claude/review-bundles/<iso>) |
Requirements
- Codex MCP (
mcp__codex__codex+mcp__codex__codex-reply), preferred; theclaudeCLI as the always-available fallback. - Codex CLI ≥ 0.154.0-alpha.3 for
gpt-6-astra(see model policy above). - Codex MCP server: set
client_session_timeout_secondshigh (e.g.360000) — reviews routinely run many minutes. ghCLI for GitHub issues. Optional:LINEAR_API_KEY;SENTRY_AUTH_TOKEN+SENTRY_ORG.
Per-repo customization — REVIEW.md
Drop a REVIEW.md at the repo root to inject house rules (skip paths, nit caps,
mandatory checks). It concatenates into CONVENTIONS.md in every bundle and
overrides the generic prompt where they conflict. See REVIEW.md.example in this
skill for a template.
Examples
./scripts/review prepare # uncommitted, auto-pick latest plan
./scripts/review prepare --uncommitted --issues "#142" # with linked issue
./scripts/review prepare --commit HEAD # last commit
./scripts/review prepare --base main # branch diffDoes 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.

