/orchestrate:discoverfrom orchestrate
List 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.
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.
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh discover \
--environment local --environment <remote-a> --environment <remote-b>
One TSV row per worktree: env, ok|UNREACHABLE, worktree, orca-id. An
environment Orca cannot answer for prints one UNREACHABLE row and the run
continues; the others are still listed.
| you see | it means |
|---|---|
| rows for an environment | Orca answered, those worktrees exist |
one UNREACHABLE row | Orca could not answer. Report it and skip that host |
| a worktree you expected is missing | it was removed, or the environment name is wrong |
An empty terminal list does NOT mean a host is dead. That has happened while
lanes were alive, so discover deliberately reports worktrees, and adopt reads
each handle before believing anything about liveness.
Do not fall back to ssh or to a tailnet probe when an environment is
unreachable. That has raised a false outage. Orca is the only transport
(see ${CLAUDE_PLUGIN_ROOT}/references/never-do.md).
orchestrate:adopt turns what you found into lanes.jsonl.
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./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.