codex
Installation
SKILL.md
Codex Skill Guide
Running a Task
- Ask the user (via
AskUserQuestion) which model to run:gpt-5orgpt-5-codex. - Ask the user (via
AskUserQuestion) which reasoning effort to use:low,medium, orhigh. - Select the sandbox mode required for the task; default to
--sandbox read-onlyunless edits or network access are necessary. - Assemble the command with the appropriate options:
-m, --model <MODEL>--config model_reasoning_effort="<low|medium|high>"--sandbox <read-only|workspace-write|danger-full-access>--full-auto-C, --cd <DIR>--skip-git-repo-check
- When continuing a previous session, use
codex exec resume --lastvia stdin. IMPORTANT: When resuming, you CANNOT specify model, reasoning effort, or other flags—the session retains all settings from the original run. Resume syntax:echo "your prompt here" | codex exec resume --last - Run the command, capture stdout/stderr, and summarize the outcome for the user.