/orchestrate:preflightfrom orchestrate
Report host capacity for a programme: disk free per host, how many lanes each carries, and which metrics rung answered. Use before placing a new lane or when a host looks full. The full metrics ladder, scoring and placement refusals are cut 2; this ships the probe rung and the recorded floors only.
Ships in orchestrate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
CUT 2 IS NOT BUILT. The Beszel hub rung, the placement score, the per-host refusals and the ranking are not implemented. What exists is the bottom rung of the ladder and the numbers it has collected.
Each tick runs the Orca probe rung per environment and appends to
hosts.jsonl. To take a reading now, run a tick, or read what is there:
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh status <programme> # hosts section
jq -r '[.host, .src, .disk_free_gb, .lanes, .t] | @tsv' \
~/.claude/orchestrator/<programme>/hosts.jsonl | tail -20
src says which rung answered: probe means an Orca terminal ran df on that
host, unknown means no rung could answer and the number is missing rather than
guessed.
The floors are in programme.yaml under placement.floors. A tick prints a
DISK: line for any host under the disk floor. Cut 1 exists partly to collect
real numbers before cut 2 scores against them, so treat the floors in the
template as placeholders until this programme's hosts have reported.
Place a lane by hand, using the same rules cut 2 will encode:
placement.floors. A large build must not land on a
small box.placement.max_lanes_per_host.exclusive resource the new lane needs, for
example a second end-to-end suite. Two on one box produces false failures.Record the placement decision as an event so the next tick can see it:
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh status <programme> # then note it
Beszel hub with history, weighted scoring, the ranking table with refusals, and restart onto a healthier host. Do not claim a host was ranked when it was only probed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stevengonsalvez/ainb-toolkit --plugin orchestrate10 skills in this plugin
/adoptIndex the agent lanes that already exist into a programme's lanes.jsonl, reading each terminal to classify it and its context use. Use when taking charge of lanes started by hand, when starting a programme from running work, or as the re-verify pass after a host restart or before any send. Dry-run first, confirm once, then write./discoverList the Orca environments, hosts, worktrees and terminals a programme could use, and say which environments are unreachable. Use before adopting or spawning lanes, when a host may have restarted, when "what is running where" is unclear, or when a remote environment looks down. Asks Orca only, never ssh./handoverGenerate HANDOVER.md from a programme's index files and release the owner lock so another session, on any harness, can pick the programme up. Use when credits or context are running out, when asked to stop, when a session is ending, or before switching the orchestrator to a different agent or machine./loopArm the repeating tick engine for whichever harness is running, with a cadence, stop conditions and a STOP file. Use after a tick to keep a programme moving unattended, when a loop has stalled and needs re-arming, or to stop one. Claude Code arms its native loop; Codex, agy and anything else use the bundled tmux driver./retireRemove a finished lane's worktree through Orca, only once it is merged, clean and idle. Use when a lane's work has landed and its worktree is just taking disk, or at a programme's exit condition. Refuses on anything still working, still holding an open PR, or still showing a live agent./spawnStart a new agent lane on a chosen host with a worktree, an agent and a goal, then index it. Placement scoring is cut 2; this describes the manual path that produces the same indexed result, so no lane is ever started without being recorded.