codex-exec
Run autonomous task execution using the codex CLI. Use when the user asks to \"codex exec\", \"run codex exec\", \"execute a task with codex\", or \"delegate to codex\".
npx skills add majiayu000/claude-skill-registry --skill codex-exec-tobihagemann-turbo --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codex Exec Autonomous task execution via the codex CLI. Runs non-interactively. Progress streams to stderr; final result on stdout. ```bash codex exec "task description" < /dev/null ``` For large context, pipe it via stdin. The prompt stays as the argument, context is passed as `<stdin>` automatically: ```bash cat context.txt | codex exec "question about the context" ``` ## Sandbox **All `codex` Bash calls require `dangerouslyDisableSandbox: true`** (network access to OpenAI API). Without it, codex crashes with an `Operation not permitted` panic from the `system-configuration` crate before the model runs. ## Stdin Gotcha Codex reads from stdin whenever stdin is non-TTY (per `codex exec --help`: "If stdin is piped and a prompt is also provided, stdin is appended as a `<stdin>` block"). In subagent and subprocess contexts the harness leaves stdin connected to a pipe that never EOFs, so a bare `codex exec "..."` hangs forever, printing only `Reading additional input from stdin...`. Always redirect stdin on non-piped invocations: ```bash codex exec "task description" < /dev/null ``` The piped form (`cat context.txt | codex exec "..."`) is safe — `cat` closes the pipe after the file,
- Sandbox
- Stdin Gotcha
- Synchronous Execution
- Permission Levels
- Options
- Prompt Shaping
- Parallel Execution
- Interpreting Results
codex exec "task description" < /dev/null cat context.txt | codex exec "question about the context"
What does the codex-exec skill do?
Run autonomous task execution using the codex CLI. Use when the user asks to \"codex exec\", \"run codex exec\", \"execute a task with codex\", or \"delegate to codex\".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codex-exec-tobihagemann-turbo --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
