Claude-skill-registry codex-agent
Run Codex tasks via the ai_cli Task Tool runner.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/codex-agent" ~/.claude/skills/majiayu000-claude-skill-registry-codex-agent && rm -rf "$T"
manifest:
skills/data/codex-agent/SKILL.mdsource content
Codex Agent
Use this skill to run Codex tasks via the ai_cli runner. This is intended for Claude to delegate work to Codex when appropriate, including long-running background tasks that can be monitored while other work continues.
Invocation
Call the runner script (installed path in projects is
.claude/scripts):
python3 .claude/scripts/sc_codex_task.py --json '{...}'
Use
sc_codex_task.py only (do not call other runner script names).
Do not invent flags like --run_in_background, --description, --prompt, or --subagent_type.
Input
Provide Task Tool input JSON with:
descriptionprompt
(defaults tosubagent_type
if not provided by the caller)sc-codex
Notes
- Model flags (aliases and full names are accepted):
(default: gpt-5.2-codex)--model codex
or--model codex-max
(maps to gpt-5.1-codex-max)--model max
or--model codex-mini
(maps to gpt-5.1-codex-mini)--model mini
(maps to gpt-5.2)--model gpt-5
- Background mode:
- Default is background unless
is provided.--no-background - Add
to force background explicitly.--background - Add
to force blocking mode.--no-background - The JSON output includes
(JSONL transcript path) andoutput_file
.agentId - Poll
via a short Python loop (avoidoutput_file
and avoidtail -f
, which may be missing on macOS).timeout
- Default is background unless
- Blocking mode (default without
) returns--background
.{ "output", "agentId" } - The runner enforces schema validation and logs to
..claude/state/logs/<package-name>/