Agent skill · Workflow & Productivity

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\".

majiayu000github.com/majiayu000GitHub ↗
codexclaude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-llm/codex-exec-tobihagemann-turbo/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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,

What's inside
Steps it walks through
  1. Sandbox
  2. Stdin Gotcha
  3. Synchronous Execution
  4. Permission Levels
  5. Options
  6. Prompt Shaping
  7. Parallel Execution
  8. Interpreting Results
Ships with 1 file
  • metadata.json
Commands it runs
codex exec "task description" < /dev/null
cat context.txt | codex exec "question about the context"
More from claude-skill-registry
All skills →
About this skill
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.

Keep going