orchestratelisted
Install: claude install-skill ConnorGriffin/skills
# Orchestrate — coordinator mode
Invoking this skill flips the **whole session** into coordinator mode until the
operator says otherwise. Detect the parent before dispatching:
- **Claude Code parent:** use the Claude and Codex mechanics below.
- **Codex UI parent:** read `references/dispatch-codex.md` before routing. In
this v0, every delegation uses its CLI-worker adapter; do not use native
`spawn_agent` for implementation or review.
## Codex headroom gate — run at invocation
Before any routing, check whether the Codex side has budget left:
0. **Claude parent, presence check first:** run `command -v codex` before
spending anything on a probe. If the Codex CLI is absent from PATH, skip
step 1 entirely and go straight to the same **Claude-only** branch as
headroom ≤ 5% / unknown below; tell the operator once. A Codex UI parent
cannot land on this branch — the CLI exists there by construction — so the
check only applies to a Claude parent.
1. Probe fresh with a trivial one-word worker run (Luna, `gpt-5.6-luna`,
`read-only`) — Luna is the probe model because it is the cheapest route the
table already uses, so it is always available; do not pick a cheaper-looking
mini model, which is not enabled on the operator's plan and fails the probe. The Codex adapter binds headroom to that worker's
captured session ID: it finds the rollout whose `session_meta.payload.session_id`
matches and reads its latest `event_msg` token-count rate limits. Headroom