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.
npx skills add syou6162/agent-skills --skill codex-plan-reviewgit clone --depth 1 https://github.com/syou6162/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/syou6162/agent-skills/codex-plan-review)<a href="https://agentmods.dev/skills/syou6162/agent-skills/codex-plan-review"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/codex-plan-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/syou6162/agent-skills/codex-plan-review"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/codex-plan-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.03495 |
| Opus 5.5 | $0.00028 | $0.01398 |
| Sonnet 5.5 | $0.00014 | $0.00699 |
| Haiku 4.5 | $0.00007 | $0.00349 |
Grade A, and why
codex-plan-review 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex CLIを使ったplanファイルレビュー
planファイルの実現可能性、技術的妥当性、抜け漏れやリスクについて、Codex CLIを使って客観的にレビューします。
実行手順
- レビューループ(最大5回)によりコンテキストが大きくなる場合があります。コンテキスト使用量に注意してください。
1. 開発日誌の取得(コンテキストにある場合)
会話のコンテキスト内にesa URLの開発日誌が言及されている場合、以下の手順で取得してください:
1.1 post番号の抽出
esa URLからpost番号を抽出(例:https://yasuhisa.esa.io/posts/1234 → 1234)
1.2 YAMLの直接取得
esa-llm-scoped-guard fetch コマンドでYAMLを直接取得:
esa-llm-scoped-guard fetch -post <post_number> | tee .claude_work/dev_diary.yaml
成功の場合: YAMLが .claude_work/dev_diary.yaml に保存されるので、次のステップへ進む
失敗の場合: エラーメッセージをユーザーに報告し、このステップをスキップ
開発日誌がコンテキストにない場合は、このステップ全体をスキップしてください。
2. planファイルの特定と最新化
2.1 planファイルの取得
.claude_work/plans/配下からplanファイルを取得してください:
ls .claude_work/plans/*.md
git worktree運用のため、単一のplanファイルが存在する前提です。
このファイルパスを以下のように定義します:
<取得したplanファイルのパス>
2.2 planファイルの最新化チェック
重要: Codexはplanファイルに基づいてレビューするため、planファイルが最新でないと意味がない
-
planファイルを読み取る
-
会話コンテキスト(開発日誌が取得されている場合はその内容も含む)と比較し、以下の観点で確認:
- 前提条件: ユーザーとの会話や開発日誌で決まった技術選択・制約がplanに含まれているか
- 仕様変更: 当初の要件から変更された点がplanに反映されているか
- 新規決定事項: 会話中や開発日誌に記載された実装方針・アプローチがplanに含まれているか
- 削除された要件: もはや不要になった要件がplanから削除されているか
-
差分がある場合:
- 差分内容(追加・修正・削除すべき箇所)を具体的にユーザーに提示
- 修正可否を確認し、ユーザー承認後にplanファイルを修正(Editツール使用)
-
差分がない場合: 次のステップへ進む
2.3 ユーザー発言ログとの整合性確認
.claude_work/user_prompts.txt が存在する場合、planファイルのユーザー発言ログセクションに書き漏れがないか確認する:
.claude_work/user_prompts.txtを読み取る- planファイルの「ユーザー発言」セクション(生ログ・要約)と突き合わせる
- 以下の観点で確認:
- ユーザーが明示的に要件・制約として述べた内容がplanに反映されているか
- ユーザーの意図や方針決定が漏れていないか
- 書き漏れがある場合: 漏れている内容を具体的にユーザーに提示し、planへの反映要否を確認
3. Codex CLIでのレビュー実行
Bash経由でcopilot --model gpt-5.3-codexを使ってレビューを実行してください。
重要:
- コマンドはリポジトリルートで実行すること(相対パスが前提)
- プロンプトは必ず
Editツールで.claude_work/review_prompt.mdに書き出してからcatでパイプすること
開発日誌がない場合の例:
Editツールで.claude_work/review_prompt.mdを作成:
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.
- 2mo ago First seen · 286 lines · 70 tokens per session scan A 7b29a59ae75b
codex-plan-review is a skill published in the GitHub repository syou6162/agent-skills (11 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 3,495 once invoked, about $0.0003 per session on Opus 5.5. 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.
codex-plan-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-plan-reviewsyou6162/agent-skills | Skill | 11 | 4mo ago | MIT | A | 70 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 134k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | today | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | today | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 314k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |