From codex
Codex MCP tool usage, thread configuration, and thread lifecycle. Consult this skill when an agent or skill needs Codex MCP tool reference for code review, plan review, or completion verification.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex:codexThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reference for using the Codex MCP tools (`codex` and `codex-reply`).
Reference for using the Codex MCP tools (codex and codex-reply).
If content is outside the project, inline it in your prompt.
When starting a thread with the codex tool, configure these parameters:
approval-policy - Controls shell command approval:
never - Always use this. Claude and Codex don't support interactive approval
flows properly - other options will cause the thread to hang.sandbox - Controls filesystem and network access:
read-only - Read files only, no writes/commands/network (safest for pure review)workspace-write - Read/write in workspace, run commands, optionally enable network
(use if Codex needs to run tests or fetch dependencies)danger-full-access - No sandbox, no approvals (not recommended)Important: These cannot be changed after starting a thread.
Recommended defaults:
approval-policy: never (required - other values break)sandbox: read-only for pure review taskssandbox: workspace-write if Codex needs to run tests or access networkStart thread: Call the Codex MCP server's codex tool with your prompt and configuration.
The response includes:
content: Codex's responsethreadId: Save for follow-upsContinue thread: Use the codex-reply tool with:
threadId: The thread ID from the previous responseprompt: Your follow-up messageSurviving context compaction: Store thread info in your plan file:
## Active Codex Thread
- threadId: <id>
- sandbox: read-only
- purpose: plan review / code review / completion verification
This ensures you can resume the thread after compaction.
Lost thread ID: If not stored in plan file, start a fresh thread with context recovery info.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub tvishwanadha/skills --plugin codex