OpenParable
Skip to content
← Back to skills

Codex With Cc Dispatching

Agent Building
codex-with-cc-dispatching

Codex With Cc Dispatching is an Agent Skill for agent building published in the aiskyhub/codex_with_cc repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Dispatch codex-with-cc tasks through the required Codex child thread to delegate_to_claude.* to Claude Code CLI chain with WorkflowId, TaskId, Role, and Scope metadata.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aiskyhub/codex_with_cc/blob/HEAD/skills/codex-with-cc-dispatching/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/codex-with-cc-dispatching, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Codex with CC Dispatching

Read ../codex-with-cc/CODEX_WITH_CC.md before dispatching. Use this skill after planning has produced task boundaries.

Dispatch rules:

  • Every child thread inherits the main-thread model, uses reasoning_effort: medium, and sets fork_context: false.
  • Every worker command sets CODEX_CLAUDE_CHILD_THREAD=1.
  • Every worker command passes -TaskFile, -WorkflowId, -TaskId, -Role, and -SessionKey.
  • Run validate_delegate_task.* before dispatch when the task file was generated, contains reviewer metadata, or carries explicit -Tests commands.
  • Never dispatch legacy inline -Task, legacy -Mode, or a command that relies on an implicit session key.
  • Reviewer commands must pass -ReviewForTaskId and -ReviewKind spec or -ReviewKind quality.
  • Parallel writable tasks require explicit non-overlapping -Scope values.
  • Use PrimaryAnchor for a parallel batch anchor, ParallelPool for independent side work, and PrimaryReuse for serial follow-up.

Dispatch discipline:

  • Dispatch the immediate blocking task locally only when no child-thread delegation is needed; otherwise create the Codex child thread and keep the main thread focused on review.
  • Put all worker instructions in a TaskFile with Goal, Allowed Scope, Forbidden Actions, Acceptance Criteria, Verification, and Report Requirements; the runtime rejects old one-line prompts.
  • Include the exact verification commands in the task file and pass them with -Tests when possible.
  • The worker's final Verification report must include every command passed with -Tests and the observed outcome.
  • Dispatch implementer, spec reviewer, and quality reviewer as separate task ids so the workflow artifact can prove acceptance.
  • Dispatch a final-verifier task for any workflow with implementer tasks.
  • Use parallel dispatch only after scope boundaries are explicit enough to avoid file conflicts.
  • After a parallel batch, wait for the anchor and side tasks before serial review or follow-up implementation.

Do not dispatch default Codex workers outside the codex-with-cc chain.