Orchestration SKILL and CLI for parallel Codex workers
Installation | Usage | How It Works |
This repository is intentionally split:
- Humans create and standardize plans in Codex App through interactive back-and-forth with the
codex-tasksskill. codex-tasksCLI executes that plan in a deterministic, repeatable way.
Planning is always done through this interactive exchange; files are not edited directly.
The skill is the source of intent. The CLI is the repeatable executor.
curl -fsSL https://raw.githubusercontent.com/jaycho46/codex-tasks/main/scripts/install-codex-tasks.sh | bashRequired:
gitpython3codexCLItmux(default worker backend)textual
brew install tmux
python3 -m pip install textual$skill-installer Install skill from GitHub:
- repo: jaycho46/codex-tasks
- path: skills/.curated/codex-tasks
Run initialization once per repository before planning starts.
Prompt examples are marked with the prompt code fence so they are clearly separated from shell commands.
You can do this through the prompt flow:
$codex-tasks
Initialize first.
Use the skill for planning tasks through interactive turns. The CLI is not for manually composing planning strategy.
The detailed spec is intentionally drafted through conversation. Use follow-up prompts to refine and expand each task spec until it is detailed enough for reliable execution.
Planning and execution can continue in parallel. Even while orchestration is running, you can keep creating, refining, and validating tasks through prompt turns.
initialize must be done before writing tasks.
- Create initial tasks (first turn)
$codex-tasks
Create tasks for [AAA].
These tasks will be completed on the [feat/AAA] branch.
.
.
.
- Refine specs after review (+second turn)
Please change the generated task list and spec files
.
.
.
- Promote to executable queue (last turn)
Promote tasks in this conversation to TODO so they are ready for orchestration.
Run a readiness check after promotion.
After the skill runs, it creates/updates:
.codex-tasks/planning/TODO.md.codex-tasks/planning/specs/<branch>/<task_id>.md
codex-tasks provides a built-in TUI dashboard for monitoring and managing live orchestration.
The dashboard is the control surface for the project queue:
- Tasks/Logs (all current task rows and status)
- Ready Tasks (executable tasks currently eligible to run)
- Running Agents (active worker sessions and live output)
You can keep planning and refining tasks through prompts while orchestration is in progress.
Open dashboard:
codex-tasksCtrl+R: start orchestration (run start)Ctrl+E: emergency stop all in-progress tasks (rollback included)Tasks: open a row to view and inspect TODO specsRunning Agents: open a row to inspect each active agent, current step, and live logs
flowchart LR
A["Start planning request in Codex App"] --> B["Create PLAN task rows"]
B <--> C["Refine PLAN/spec through prompt turns"]
C --> D["Validate spec and promote PLAN → TODO (`task promote`)"]
D --> E["Optional readiness check: `codex-tasks run start --dry-run`"]
E --> F["Open dashboard and start orchestration (`Ctrl+R`, `run start`)"]
F --> G{"Ready TODO found?"}
G -->|no| H["Orchestration waits on dashboard"]
G -->|yes| I["Task enters Ready list after deps/spec/lock checks"]
I --> J["Create worktree + lock + set IN_PROGRESS"]
J --> K["Launch worker with task spec"]
K --> L{"Worker exits"}
L -->|done| M["task complete: merge + cleanup + unlock"]
L -->|failed/crashed| N["task auto-cleanup-exit: rollback status to TODO"]
M --> O["Complete path auto-triggers next run start"]
O --> P{"Ready TODO exists?"}
N --> H
P -->|yes| F
P -->|no| H
MIT. See LICENSE.