with one click
co-validate
// Get a staff engineer review of your plan via Codex. Use when you want critical review feedback on a plan before finalizing it. Pass the path to the plan file as the argument.
// Get a staff engineer review of your plan via Codex. Use when you want critical review feedback on a plan before finalizing it. Pass the path to the plan file as the argument.
Bounce ideas off Codex. Use when you want fast alternative ideas, critiques, and perspectives on any topic. Triggers an interactive conversation with the Codex MCP server for brainstorming and exploration.
Generate a parallel plan via Codex. Use when you want an additional planning perspective to compare against your own plan. Runs in the background so you can continue working in parallel.
| name | co-validate |
| description | Get a staff engineer review of your plan via Codex. Use when you want critical review feedback on a plan before finalizing it. Pass the path to the plan file as the argument. |
$ARGUMENTS should be the path to the plan file. If not provided, check if there is a plan file from the current session (for example in .claude/projects/ or the working directory).
$ARGUMENTS.You MUST spawn a background subagent (using the Task tool with run_in_background: true) to handle all communication with Codex. The subagent should:
Call mcp__validate-plans-and-brainstorm-ideas__codex with:
prompt: construct exactly as shown belowsandbox: read-onlyapproval-policy: nevercwd: (use the current working directory)If Codex asks clarifying questions instead of saying it's ready, the subagent should answer them using its own judgment and the codebase context, then wait for Codex to finish and respond with "My review is complete and I'm ready to present".
Once Codex says "My review is complete and I'm ready to present", the subagent should report back that Codex is ready (but NOT request the review yet — that happens in Step 3).
You are a staff engineer reviewing this plan. Analyze it for critical issues, big simplifications, or a completely different better approach — but do NOT share your review yet. If you need to ask clarifying questions about the plan or original request before reviewing, ask them now. Otherwise, when your review is complete and fully formed, respond with exactly: "My review is complete and I'm ready to present" and nothing else. Wait for my next message before sharing your review.
Original request from the user:
<original_request>
{paste the user's original prompt/request that triggered the plan}
</original_request>
Plan:
{paste the full contents of the plan file}
The subagent handles the back-and-forth so the main agent is free to do its own work.
While the subagent communicates with Codex in the background, do your own independent review of the plan. Look for:
Write down your own assessment. Do NOT check the Codex result until you have finished your own review. The entire point is to produce two independent reviews and then compare them — reading Codex's review early defeats this purpose and introduces bias.
Only after your own review is complete, confirm the background subagent has reported that Codex is ready. Then use mcp__validate-plans-and-brainstorm-ideas__codex-reply with:
threadId: the thread ID from the Codex sessionprompt: Go ahead, share your review. Be direct and concise. Do not repeat the plan back. Focus only on critical issues, big simplifications, or a completely different better approach.Once the review arrives:
Use mcp__validate-plans-and-brainstorm-ideas__codex-reply with:
threadId: the thread ID from the previous responseprompt: your response addressing points, explaining overrides, and asking for clarification when neededIf you override points, explain why so they can push back if needed.
Treat Codex responses as coming from a junior developer: