/orchestrate:spawnfrom orchestrate
Start 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.
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. There is no automatic placement, no scoring and no
spawn verb yet. Use the manual path below, which ends in the same place: a
lane in lanes.jsonl that every other verb can drive.
A lane started by hand and never registered is how a lane got lost for hours. Step 4 is not optional.
orchestrate:preflight. Refuse any host under the floors, at
its lane cap, or already holding an exclusive resource this lane needs.orca worktree create --name <lane-name> --agent <claude|codex> \
--repo id:<repoId> --json # add --environment <env> for a remote host
Take startupTerminal.handle from the result as the one handle for this
lane. Do not create a second terminal for the same agent.
orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 60000 --json
orca terminal send --terminal <handle> --text "<goal>" --enter --json
jq -nc '{lane:"<X>", env:"<env>", handle:"<handle>", worktree:"<name>",
branch:"<branch>", agent:"<kind>", goal:"<one line>", exclusive:[],
status:"working", ctx_pct:"", last_seen:""}' \
>> ~/.claude/orchestrator/<programme>/lanes.jsonl
agent must match a profile in agents.yaml, since it decides how the lane
is resumed and compacted. branch must be filled, since the merge gate and
the retirement guard both read it.
orchestrate.sh adopt <programme> --dry-run should show
the new lane reading working, not unknown or dead.Creating a new repository, a new host or anything else outward is a structured
question first, even under full autonomy. See
${CLAUDE_PLUGIN_ROOT}/references/never-do.md.
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./preflightReport 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./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.