codex-multitask runs one Codex splitter, validates a JSON worker plan, then fans out parallel codex exec --json workers with explicit file ownership.
This plugin is for Codex users who want a first-class Codex skill surface for parallel, file-owned Codex worker runs.
multitask-setupto verify Codex CLI availability and runtime statemultitask-planto run the splitter only and inspect the worker planmultitask-runto execute parallel Codex workers from one promptmultitask-status,multitask-result, andmultitask-cancelfor tracked jobs- Shared-workspace mode by default, with optional
--isolated-workspaces
Native Codex subagents are useful for in-session delegation. codex-multitask is different: it is a deterministic external orchestrator that creates an explicit JSON plan, assigns disjoint owned files, runs independent codex exec --json workers, and keeps per-worker logs, summaries, and patches.
- Codex CLI installed and on
PATH - Codex CLI authenticated
- Node.js
20+ - Git repository for normal workspace auditing
Published plugin install, once this repo has a marketplace release:
codex plugin marketplace add nikuscs/codex-multitaskThis installs the Multitask plugin for Codex once the repo is published as a marketplace source.
From this repository root:
codex plugin marketplace add .This works because this repo includes .agents/plugins/marketplace.json, matching the sibling codex-cc-plugin local marketplace shape. The marketplace name is codex-multitask-local so it can coexist with the Claude plugin's local-repo marketplace. Restart Codex after adding or changing the local marketplace.
The local marketplace entry points Codex at:
./plugins/multitask
Standalone release install, once binaries are published:
curl -fsSL https://raw.githubusercontent.com/nikuscs/codex-multitask/main/scripts/install.sh | bashThat installs:
codex-multitaskmultitask
to ~/.local/bin.
In Codex CLI, use it as a shell command:
!multitask setup
!multitask plan --workers 4 "Split this work"
!multitask run --workers 4 "Implement this change"
After install, Codex app should expose the plugin skills in the skill picker and plugin directory. Codex may render installed plugin actions with UI labels, but the stable skill names are lowercase.
Look for:
multitask-setupmultitask-planmultitask-runmultitask-statusmultitask-resultmultitask-cancel
Try:
Use the skill multitask-setup
If Codex runs the skill instead of searching for SKILL.md, the plugin is installed correctly.
Runs the splitter only and prints the planned workers without spawning them.
Use the skill multitask-plan to split the auth refactor into 4 workers
Standalone CLI:
codex-multitask plan --workers 4 "Refactor the auth module"Runs the splitter, validates the plan, and fans out Codex workers.
Use the skill multitask-run to implement the docs cleanup in 3 workers
Standalone CLI:
codex-multitask run --workers 4 "Implement the auth refactor"
codex-multitask run --workers 4 --isolated-workspaces "Implement the auth refactor"Use these to inspect, fetch, or stop tracked multitask jobs.
codex-multitask status <jobId>
codex-multitask result <jobId>
codex-multitask cancel <jobId>Use the standalone binary from Codex CLI with !multitask ....
!multitask setup
!multitask plan --workers 4 "Split this task"
!multitask run --workers 4 "Implement this change"
bun run checkcodex-multitask run --workers 4 "Implement the auth refactor"
codex-multitask plan --plan-file plan.md --workers 5
codex-multitask status <jobId>
codex-multitask result <jobId>
codex-multitask cancel <jobId>Default mode runs workers in the primary workspace and audits the final diff. Pass --isolated-workspaces to run each worker in a temporary git worktree and copy back only owned files after validation.
Runtime state is stored under:
~/.codex/cache/multitask-handoff/<workspace-slug>-<hash>/
Each workspace gets:
workspace.jsonjobs/<job-id>.jsonlogs/sessions/<codex-session-id>.jsonruntime.json
Per-job worker traces are stored under each job directory.
Repo-local hook config is wired through:
.codex/config.toml.codex/hooks.json
The plugin also ships reference hook config in plugins/multitask/hooks/hooks.json.
Run the full local check suite:
bun install
bun run checkThat runs:
oxlintoxfmt --checknode --test tests/runtime.test.mjs
- Sibling implementation: nikuscs/codex-cc-plugin
- This repo adapts that plugin shape for Codex-to-Codex parallel worker orchestration.
