/orca-fleet:orca-fleetfrom orca-fleet
Runs multiple coding agents in parallel across Orca worktrees, each under a different clausona profile (Claude Code, Codex, or API models like GLM/DeepSeek). Manages worker lifecycle: create worktrees, terminals, assign profiles, monitor progress, and retire workers.
Ships in orca-fleet. 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.
Orca runs agents side by side in git worktrees and lists them in its sidebar. clausona puts each terminal's agent on the profile you choose.
Load the fleet-core skill first and follow it; this skill only adds the Orca steps. In Claude
Code, invoke it with the Skill tool. If that fails, or you run in Codex, read the first of these
files that exists, where <base> is this skill's base directory:
<base>/../../../fleet-core/skills/fleet-core/SKILL.md<base>/../../../../fleet-core/*/skills/fleet-core/SKILL.md (if several versions match, read the
highest)If none exists, stop and tell the user to install it: claude plugin install fleet-core@clausona
in Claude Code, or codex plugin add fleet-core@clausona in Codex.
Stop and tell the user what is missing if any of these fails.
orca status shows runtimeReachable: true. If Orca is not open, ask the user to open it.orca repo list --json lists the repo. If not, ask before adding it with
orca repo add --path <repo> --json: it adds the repo to the user's Orca sidebar.Pass --json and read handles and paths from the reply; never guess them. Orca runs on macOS,
Linux and Windows, and the commands below are the same on each.
Orca has its own account switcher and orchestration commands. Do not use them for workers:
clausona run decides each worker's account. Orca also sets CODEX_HOME in its terminals, so a
bare codex there runs on Orca's account; clausona run overrides it.
For each task, after fleet-core picked its profile:
orca worktree create --repo path:<repo> --name fleet-<task> --json, and record
.result.worktree.path (under ~/orca/workspaces/ by default). Then
orca worktree set --worktree path:<worktree> --display-name "<task> · <profile>", so the
sidebar shows which account runs where. Keep it under 26 characters.orca terminal create --worktree path:<worktree> --json, and record
.result.terminal.handle. Do not pass --command: the shell's start-up output can swallow it.
Do not rely on --title either: the shell renames the tab.orca terminal show --terminal <handle> --json once a second until
its lastOutputAt is at least two seconds old, for at most 20 seconds. orca terminal wait
does not work for a plain shell.orca terminal send --terminal <handle> --text "clausona run <profile> -- <args>" --enter,
with the arguments from fleet-core section 4. Codex workers keep --disable hooks.orca terminal show --terminal <handle> --json.
The tool has started when .result.terminal.title is no longer the shell's (Claude Code sets
✳ Claude Code), or when orca worktree ps --json lists an agent under the worktree. The
preview field shows the screen, but it can lag behind a full-screen app that is still
starting, so never resend the launch line on the preview alone: a line sent to a running
Claude Code becomes its first prompt. Send it once more only when the title is still the
shell's after 20 seconds and the preview shows the launch line never ran. Otherwise tell the
user what the screen shows.orca terminal send --terminal <handle> --text $'\e[B'
(PowerShell: --text "$([char]27)[B"), then orca terminal send --terminal <handle> --enter.orca terminal send --terminal <handle> --enter.fleet-core section 5 says, then
orca terminal send --terminal <handle> --text "Read .fleet-brief.md in this folder and do what it says." --enter,
and start waiting on it (section 3). In Codex, wait only once every worker has its brief.Start workers on the same Claude Code profile one at a time, each after the previous one shows its first output.
The user can open any worker's tab in Orca, read along and type into it at any time.
sleep 5; orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 1800000
(PowerShell: Start-Sleep 5; orca terminal wait …). In Claude Code, run it as a background task.
The pause matters: right after a send the worker has not started, its screen is still idle, and
tui-idle would return at once. The wait returns when the worker's screen goes idle: its turn
ended, or it waits at a prompt.orca worktree ps --json lists the agent
under its worktree with state and lastAssistantMessage, from Orca's hooks (clausona shares
them across profiles). If state is still working, wait again without the pause. Codex workers
do not appear there; read their screen.lastAssistantMessage is a Claude Code worker's last reply, up to its first 8000
characters. Look for the DONE or BLOCKED line there first. When the reply is longer, its last
line is cut off: then, or when the field is missing, use fleet-core's last-reply.mjs
(fleet-core section 8).orca terminal show --terminal <handle> --json, field .result.terminal.preview. It
shows the current screen, including Claude Code's and Codex's full-screen views, once they are up;
orca terminal read returns only scrollback.orca terminal send --terminal <handle> --text "Read .fleet-followup-<n>.md in this folder and do what it says." --enter,
and wait as above.orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 180000. Keep the five-second
pause only for a worker you sent something to in the last five seconds.Orca has no "until it works again" wait. For a worker the user is answering, follow fleet-core
section 7.
fleet-core section 9's brief.orca terminal close --terminal <old handle>.orca worktree set --worktree path:<worktree> --display-name "<task> · <new profile>", so the
sidebar names the new account. Keep it under 26 characters, as in section 2.After fleet-core section 11's checks, run orca worktree rm --worktree path:<worktree> --json.
Never add --force. Orca refuses a worktree with changes ("Failed to delete worktree"); then keep
the worker and report why. When it succeeds, Orca closes the worktree's terminals and deletes its
local branch too, so only the pushed branch remains: never retire before the push check. Confirm
the worktree directory is gone.
Never close terminals or remove worktrees you did not create.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orca, clausona, multi-agent, parallel-execution, worktree-orchestration
npx claudepluginhub larcane97/clausona --plugin orca-fleetOther plugins' skills for the same job