/codex-worker:codex-workerfrom codex-worker
Delegates authorized tasks to Codex via MCP and waits for completion. Useful when the user explicitly requests this worker for parallel or sequential subtasks.
Ships in codex-worker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
prompt, preserving their wording and explicit constraints. Add only essential context the worker cannot otherwise see, such as what "this bug" refers to. Do not add your own workflow, file restrictions, data exclusions, skill instructions or reporting requirements. Alternatively, use a prompt_file under cwd/artifacts, never both.cwd from the task context. Set model, effort, permissions and timeout as call parameters appropriate to the authorized task. Ask only for missing information needed to make the call, not repeat consent.codex_worker.run directly, outside Code Mode, and wait without status/sleep loops or duplicate work. Report host rejections and execution failures; do not disguise or reroute a rejected call.session_id and its delegation_id as resume_session_id and resume_delegation_id. Never resume an unknown or implicit latest session.result_file for the needed remainder. Logs are opt-in with trace: true; retry/resume records remain under artifacts/farcall/. Unknown metadata stays unknown; do not sum cumulative usage.For an authorized parallel set of 1–5 tasks in distinct, non-overlapping checkouts, call codex_worker.run_batch once instead of separate run calls. Supply batch_id and a stable task_id plus the usual run arguments for each task. Wait for the whole batch; use its structured result in input order. Corrections use a new batch ID and new delegation IDs with each exact previous session and delegation ID. An active/interrupted recovery result is not permission to redispatch unknown work. Keep the outer MCP timeout at least 7200 seconds.
Preflight is for requested host verification or diagnosing changed host behavior, not a prerequisite for ordinary tasks. To measure waiting, use a fresh delegation ID; a cached result proves no new wait. Before claiming a host avoids polling, use a 150-second preflight (or the user's specified duration) with a longer client timeout and inspect the parent trace. The tool cannot observe parent inference. Fix timeouts rather than adding polling.
Use an exact Codex model identifier and supported effort. Reviews default to read-only; explicitly select workspace-write for implementation. The worker uses codex exec, not the Codex desktop UI. Do not promise browser tools unless they are configured and verified in the child CLI.
For authorized workspace-write tasks that need extra directories or network access, pass writable_roots (existing absolute directories) and network_access explicitly, including on resume. These are per-call permissions, not prompt additions or project trust changes. Omitted fields retain Codex configuration. Extra roots are included in batch isolation and shared worker locks.
When the user explicitly authorizes full access, select sandbox: "danger-full-access" for that run or batch task, also on resume. Never escalate automatically after a failure. In this mode, optional writable_roots reserve work areas for coordination only; they do not restrict access. Omit network_access, which is unsupported in full-access mode. Full access does not configure browser tools; the child CLI still needs a verified browser capability.
For an authorized task in a directory outside Git, set allow_non_git: true explicitly, also on resume. Its default is false. This only passes --skip-git-repo-check for that invocation; sandbox permissions stay unchanged. Do not initialize Git or edit user configuration to work around this check. Retry a failed call with a new delegation ID; an unknown session ID cannot be resumed.
When Claude Code is the parent, start it with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS=0 so it does not background the call after two minutes. This is a parent-host setting, not a worker argument. The plugin supplies a two-hour per-server timeout. When Codex is the parent, the plugin keeps the worker out of Code Mode. If the tool appears only inside Code Mode, tell the user to check three possible causes. Codex may be older than 0.147.0, the installed plugin's .mcp.json may lack omit_tools_from, or a same-named mcp_servers entry in their Codex configuration may replace the plugin's server.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
codex-worker, mcp-delegation, batch-tasks, task-orchestration
npx claudepluginhub regenrek/farcall-mcp --plugin codex-workerOther plugins' skills for the same job