ching-kuo/claude-codex — Prompts
Prompt 1: plan-codex — Codex Audit Loop (verbatim)
Source: skills/plan-codex/SKILL.md
**MANDATORY Codex availability check**: `mcp__codex__codex` MUST be listed in the available tools (either in the tool list or in `<available-deferred-tools>`). Do NOT skip or bypass this phase. If the tool is genuinely absent from both locations, **stop and tell the user**: "Codex MCP is not available. This skill requires Codex for plan audit. Please add the Codex MCP server." Do not proceed without Codex — the audit loop is this skill's core value.
**Critical Evaluation of Audit Findings**
Before addressing any issues, critically evaluate each finding:
1. **Assess correctness**: Is the finding technically accurate?
2. **Check context**: Does the reviewer have full context about architectural decisions?
3. **Verify applicability**: Does the suggestion improve the plan, or is it a preference / false positive?
**If a finding seems incorrect or questionable:**
- Do NOT address it or count it as an iteration. Instead, reply to the reviewer with your technical reasoning.
- Call `mcp__codex__codex-reply` (reuse threadId) explaining why the finding appears incorrect.
- Discussion replies do NOT increment the iteration counter — only revise-and-re-audit cycles count.
Prompting technique: Structured adversarial review with explicit false-positive protection. The codex-reply mechanism allows Claude to push back on Codex findings — this is a rare bidirectional critique pattern where neither model is definitively authoritative.
Prompt 2: claude-codex — APPROVED/WARNING/BLOCKED Verdict Pattern (verbatim)
Source: skills/claude-codex/SKILL.md
Phase 3: Codex Review Loop (max 3 rounds)
Codex reviews the uncommitted diff via MCP, returning a structured verdict:
- **BLOCKED** (CRITICAL issues) — Claude fixes, Codex re-reviews
- **WARNING** (HIGH issues) — Claude fixes, Codex re-reviews
- **MEDIUM/LOW issues** — surfaced to user; user decides whether to fix before delivery
Prompting technique: Structured verdict taxonomy with severity-based routing. The APPROVED/WARNING/BLOCKED/MEDIUM/LOW vocabulary creates a shared protocol between Claude (implementer) and Codex (reviewer). Each severity level maps to a specific action, making the review loop deterministic.
Prompt 3: execute-codex — Context Sanitization (verbatim)
Source: skills/execute-codex/SKILL.md
**Context Sanitization**: Never pass `.env`, secrets, tokens, API keys, or credentials to any external agent or MCP. Exclude files matching `.env*`, `*secret*`, `*credential*`, `*.pem`, `*.key`. Redact inline secrets before sending.
Prompting technique: Mandatory security constraint with explicit pattern list. This is the only framework in the batch with an explicit secret-scrubbing rule applied uniformly to all MCP calls.