call-codex

SKILL.md

Call codex to perform a task

Call codex to perform a task.

Checking for the Existence of codex

# Check if codex is installed. Exit code 0 means success, 1 means failure.
# If not installed, skip the subsequent steps of the skill.
which codex
if [ $? -ne 0 ]; then
  echo "codex is not installed"
fi

Requesting a Task to codex

This task may take a long time. If the timeout value of the Bash tool can be set, please specify the maximum timeout value.

codex exec --sandbox danger-full-access <<EOT
{task_description}
EOT
Weekly Installs
30
First Seen
Jan 21, 2026
Installed on
claude-code21
codex20
gemini-cli18
opencode18
cursor13
github-copilot13