codex-review
Skill5 starsChanged 2 months agoMITView on GitHub
Codexにセカンドオピニオンを求める。AI同士の忖度なしガチレビュー。Use when user mentions 'Codex レビュー', 'セカンドオピニオン', 'Codex の意見', 'Codex でレビュー'. Do NOT load for: 'Codex に実装させて', 'Codex Worker', 'Codex に作らせて', '実装を依頼'.
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
- fab-codes/agent-workflow-templatetheir 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.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adk-engineerSkill
- agent-orchestratorSkill
- brainstormingSkill
- bugfixSkill
- classify-reviewSkill
- code-reviewerSkill
- context7-skillsSkill
- developer-growth-analysisSkill
- file-organizerSkill
- gcp-deploy-guardianSkill
- gws-workspaceSkill
- handoverSkill
- modern-architectureSkill
- planSkill
- repo-cleanSkill
- review-loopSkill
- security-reviewSkill
- skill-creatorSkill
- supabase-nextjs-debuggerSkill
- tdd-workflowSkill
- test-falsifySkill
- ui-design-systemSkill
- ui-skillsSkill
- ux-researcher-designerSkill
The file
Files
Codex Review Integration Skill
OpenAI Codex CLI を使用してコードレビュー時にセカンドオピニオンを提供するスキル。
重要: Codex MCP (
mcp__codex__*) は使用禁止(delegation.md / Issue #72)。 全ての Codex 呼び出しはcodex exec --sandbox read-onlyで行う。 Ref: ADR-004。旧hooks/block-codex-mcp.shは hook削減によりhooks/_unused/へ退避済みで現在は発火しない — この禁止事項は現在 hook 強制ではなく運用ルール(自己規律)として遵守すること。
Do NOT Load For
以下は codex-worker スキル(ハーネスプラグイン提供)が担当:
- "Codex に実装させて" / "Codex Worker" / "Codex に作らせて" / "実装を依頼"
実行方法(統一: codex exec --sandbox read-only)
全てのレビューは codex exec --sandbox read-only で実行する。
codex-parallel.sh --review(Route A)も内部的に同じ CLI を呼ぶため、
直接 codex exec を使用することでシンプルに統一。
単発レビュー
codex exec -C "$(pwd)" --sandbox read-only \
"以下の変更をレビューしてください: $(git diff HEAD~1)"Note: 出力をファイルに保存する場合は stdout をキャプチャする。
-o(--output-last-message) はエージェントの最後のメッセージのみ出力するため、 完全な出力には| tee /tmp/review.mdを推奨。
並列エキスパートレビュー
# 各エキスパートを個別に並列実行(read-only = worktree不使用 = 安全)
codex exec -C "$(pwd)" --sandbox read-only \
"$(cat experts/security-expert.md)" > /tmp/review-security.md 2>/dev/null &
codex exec -C "$(pwd)" --sandbox read-only \
"$(cat experts/performance-expert.md)" > /tmp/review-perf.md 2>/dev/null &
codex exec -C "$(pwd)" --sandbox read-only \
"$(cat experts/quality-expert.md)" > /tmp/review-quality.md 2>/dev/null &
wait
experts/*.mdはハーネスプラグインが提供。未設定時はプロジェクト固有のプロンプトを作成すること。
詳細: references/codex-parallel-review.md
機能詳細
| 機能 | 詳細 |
| 並列レビュー | See references/codex-parallel-review.md |
| レビュー統合 | See references/codex-review-integration.md |
設定
.claude-code-harness.config.yaml で設定(ハーネスプラグインの設定ファイル):
review:
codex:
enabled: true
auto: false
prompt: "Review the code and output issues and improvement suggestions"
execution_mode: mcpはレガシー。以前はblock-codex-mcp.shhook でブロックされていたが、当該 hook はhooks/_unused/へ退避済みで現在は発火しない。それでもcodex exec --sandbox read-onlyを使うことが推奨(hook強制ではなく運用ルール)。
注意事項
並列実行と ADR-004 の整合
ADR-004「Max 1 concurrent Codex request」は Route C(実装・workspace-write)に対するルール。
--sandbox read-only レビューは worktree 不使用・ファイル書き込みなしのため並列安全。
詳細は references/codex-parallel-review.md を参照。
TODO: この解釈は ADR-004 の amendment で正式に明文化すべき。
発火検証結果(2026-03-29、履歴)
以下はhook削減前の検証記録。block-codex-mcp.sh は現在 hooks/_unused/ へ退避済みで settings.json にも未登録のため発火しない(履歴として残置)。
| 検証項目 | 結果(当時) |
block-codex-mcp.sh exit code | 2 (ブロック成功) |
| stderr メッセージ | "[BLOCKED] Codex MCP..." 出力確認 |
MD5 (~/.claude/hooks/ vs hooks/) | 一致 |
settings.json matcher | mcp__codex__.* 登録済み |
codex CLI | v0.117.0 (/opt/homebrew/bin/codex) |
--sandbox read-only フラグ | 利用可能 |
参考資料
- ADR-004: Codex大規模委任モデル (
docs/adr/004-codex-delegation-model.md) - delegation.md: Codex CLI 経路 (
rules/delegation.md) - block-codex-mcp.sh: 旧 MCP ブロック hook(
hooks/_unused/block-codex-mcp.shへ退避済み、現在は未登録・不発火)
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.

