codex-worker-orchestrator
Skill0 starsChanged 17 days agoMITView on GitHub
Use when bounded delegation helps or substantive specifications/plans need independent critique. Handle simple questions, focused lookups, routine edits, and short quiet non-build checks directly.
In this repository10 other files it gives its agents.
- building-promptsSkill
- finding-walkthroughSkill
- github-readySkill
- groth16-systemsSkill
- optimize-codebaseSkill
- orchestrating-parallel-worktree-changes-v2Skill
- refactor-codebaseSkill
- reflect-and-improveSkill
- safe-app-icon-forgeSkill
- web3-universalmutatorSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
If already a spawned subagent, execute only the dispatch brief.
- Very specific: line 24
Read AGENTS.md; use superpowers:using-superpowers and relevant lifecycle.
- Very specific: line 32
Hard: every nontrivial file-changing route, including root-written work, requires independent sol_reviewer on Sol/xhigh without weaker …
- Very specific: line 42
Read references/routing-matrix.md only for routing details.
- Very specific: line 44
Use visual-analysis for screenshots, content-writing for technical drafts.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Worker Orchestrator
<SUBAGENT-STOP>
If already a spawned subagent, execute only the dispatch brief. Do not invoke this skill, orchestrate, or spawn.
</SUBAGENT-STOP>Delegation
Loading never requires spawning. Do not spawn when the user forbids subagents.
- Direct: simple questions, focused lookups, mechanical edits, known small fixes, short quiet non-build checks. No preflight, ledger, or install prompts. Material risk, uncertainty, or security impact prevents Direct.
- Delegate: require bounded benefit exceeding overhead. Dispatch useful ready independent packets together within live slots and task budgets; add only distinct deliverables or required reviews.
- Escalate: Sol handles material uncertainty/risk. Astra requires
extremecomplexity, unresolved prior Sol analysis, a decisive evidence check and recorded escalation reason.
Reclassify on scope/evidence/risk/failure changes; length or approval alone never requires children.
Delegation preflight
- Read
AGENTS.md; usesuperpowers:using-superpowersand relevant lifecycle; reuse approvals. - Resolve the directory containing this
SKILL.md; run<skill-dir>/scripts/preflight.py. Never resolve the preflight script from the repository CWD. - Inspect actual available custom agents, models, profile, slots, permissions, spawn schema and companions. The live parent permission mode is the ceiling.
- Require
ok: trueandinstall_modeliteorhard; otherwise do not spawn. Continue safe Direct work if sufficient or report missing/conflicting roles and INSTALL.md. Global installation/configuration requires user authorization and a new session.
Route the task
- Lite:
luna_workerimplements a detailed settled recipe; root inspects the diff and runs short quiet checks.luna_test_runnerhandles builds, noisy checks, and worthwhile long/independent checks. Include steps, files, interfaces, dependencies, acceptance, checks, and stops. High-rigor/integration writes require Hard. - Hard: every nontrivial file-changing route, including root-written work, requires independent
sol_revieweron Sol/xhigh without weaker fallback; security-sensitive work also requiressecurity_reviewer. Safe Direct edits remain zero-child.
In Hard, sol_worker (GPT-6.2 Sol/high) handles coding and UI fixes. Sol covers architecture, diagnosis, review and risky or uncertain deep-fixed work. Terra 6.1 handles research/exploration (low), technical drafts (xhigh) and visuals (high). Luna/max handles fixed implementation, focused tests and established documentation.
Execution-only builds/tests use Luna/medium; build/noise overrides short duration. Return failures to Sol/Astra root or Sol specialists with compact evidence. No autonomous fixes/retries; reuse the runner after fixes.
Luna/Terra may escalate to Sol; never downward. Missing required Sol blocks dispatch. Diagnose input/tool/environment failures before model escalation; pass evidence and failed approaches.
For substantive planning, Sol/Astra root authors decisions; sol_architect supplies justified distinct inputs. Independently review spec/design with skeptic before drafting its plan, then review the plan before implementation. Resolve material findings; reuse accepted unchanged review. Simple checklists/settled recipes need no fresh critique. Inline cannot bypass this gate.
Read references/routing-matrix.md only for routing details. Read references/dispatch-contract.md immediately before spawning.
Use visual-analysis for screenshots, content-writing for technical drafts. Direct applies. Verify child tools/inputs; models grant no tools. Root owns unavailable interactive steps.
Run resolve_roles.py: preflight JSON as --available-agents, exact active-session IDs as --available-skills; preserve incompatibility. Compare registry model, reasoning_effort, fork_turns="none" with live role/schema; require supported isolated context, never incorrect inheritance or numeric forks. Resolver cannot spawn/prove runtime identity. Optional delegation requires delegation.benefit/expected_output; otherwise root works with required reviews. Supply actual root_model; deep-analysis requires escalation_reason. Required reproduction blocks writes until cause confirmation. Validate packets; announce role, agent type, purpose and reason before spawning.
Pass --project-root and planning references. Resolver checks current hashes, independence, latest ACCEPT and spec-to-plan order. Planning requires accepted spec evidence. Nontrivial writes default substantive; approved settled recipes exempt only low-rigor, non-security work without independent-analysis requirements.
Native parallel dispatch covers only independent read/test packets; writer packets stay sequential. The separate orchestrating-parallel-worktree-changes-v2 executor requires an approved, semantically validated overlay, disjoint surfaces, separate worktrees and user authorization. Without equivalent semantic validation, leave V2 unstarted and execute sequentially. Shared-resource tests serialize with separate IDs/reports.
Reconcile and finish
Use run_state.py for multi-agent, high-risk, or resumable work; reconcile reports as ACCEPT, REPAIR, INVESTIGATE, REPLAN, or BLOCK. Preserve follow-up scope. After two failed fixes against the same cause, the worker returns both attempts and evidence to root for diagnosis. Lite needs authorized Hard escalation or BLOCK.
Record implementation/repair transitions before changes, invalidating verification. Completion requires diff inspection, verification and selected final/security reviews after the latest recorded change, resolved findings and accepted reports. Use superpowers:verification-before-completion.
Meet original requested acceptance; optional suggestions stay in concerns without expanding scope. Stop once proportionate current verification and required reviews pass. Repeat checks/reviews only for new changes, failures, or material uncertainty.
Opt-in reflect-and-improve: inherit evidence; accept separately.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

