/fleet:handoff [self | PANE] [account] [model]from fleet
Hand this session, or a lane, to a fresh agent in a new Herdr pane — to free context, change model, or move to another remuda account. Writes a handoff file (or resumes the same session on another account), starts the successor with a one-line pointer, and confirms that it works. Use when the user says hand off, handoff, continue in a new pane, or switch account or model for this work.
Ships in 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.
First run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" conventions for placement, model and account rules. In plain mode no account changes, but a handoff still frees context or changes the model.
| Reason | Method |
|---|---|
| Context is large, noisy or compacted | Handoff file, then a fresh session. |
| Only the account changes, the context is healthy, and the agent is Claude | Resume: spawn --resume <session id> --account <account>. The new pane forks this conversation on the new account. If that account cannot see the transcript, spawn refuses: use a handoff file. |
| The model or effort changes | Either one. --resume with --model or --effort keeps the history. |
Find a session id with python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" status --json (field session_id; your own row has self: true).
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" prep --handoff. It returns handoff_path, lane, fleet_md and pane_role. Run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" orch show --json too: self is true when you are the project's registered orchestrator.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" follow-up add "<text>", and close finished ones with follow-up done <ID>, not by hand. The handoff file then needs only what is in flight. If fleet_md is set and you orchestrate that fleet the old way, bring FLEET.md up to date instead: lane table, decisions, next actions.handoff_path from the HANDOFF template in ${CLAUDE_PLUGIN_ROOT}/skills/fleet/references/templates.md. A stranger must be able to continue from it: goal, state, exact next steps, decisions with reasons, the user's rules from this conversation, commands, what not to redo, open questions. Never copy a secret; name where it lives.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" spawn --split auto --name <label> [--role <pane_role>] \
[--account <account>] [--model <model>] [--effort <effort>] [--permission-mode <mode>] --accept-trust \
--prompt "Read <handoff_path> and continue the work it describes. You replace pane <your pane id>."
To resume instead: spawn --split auto --name <label> --account <account> --accept-trust --resume <your session id> --prompt "You now run on <account> in a new pane. Continue where this conversation stopped."
If you orchestrate, pass --role orchestrator, name your orch in the prompt ("You take over orch of project ."), and end it with "Then run fleet orch show --orch <name> and fleet digest --orch <name>, and load the fleet:fleet skill.": the successor starts before step 6 moves the registration, so its first session start gets no project re-brief. Folder trust is kept per account, so another account can stop at the trust dialog; --accept-trust answers it, which is right here because this session already works in that folder.ok: true, with status working or a note that the prompt shows as sent. Read the new pane once to see that it reads the handoff or continues the work.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" orch claim --pane <new pane_id> --replace. The orch keeps its name, its lanes and its ORCH.md; the claim clears the recorded session. From then on, the SessionStart hook re-briefs the successor from the project home at each session start, not this pane, and the successor's first digest after the claim shows what happened since your last one and records its session, which lets the hook re-brief it after compaction without git. Until the claim, the successor's digest only reads. With an old FLEET.md, set its Orchestrator: line to the new pane_id instead./exit).HANDOFF READY 1530 (the time now).python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" send <pane> --text "Stop at the next safe point and commit finished work. Write .fleet/HANDOFF.md from the HANDOFF template in ${CLAUDE_PLUGIN_ROOT}/skills/fleet/references/templates.md, end it with the line <token>, then stop."
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" watch <pane> --marker "<token>" --file .fleet/HANDOFF.md.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" retire <pane>.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/fleet" spawn --pane <pane> --role impl --name <label> --agent <agent> \
[--account <account>] [--model <model>] [--effort <effort>] [--permission-mode <mode>] --accept-trust \
--prompt "Read .fleet/HANDOFF.md, then .fleet/BRIEF.md and .fleet/STATUS.md, and continue this lane."
Account change only, with healthy context: skip steps 1 to 3. Note the lane's session_id from status --json, retire it, then spawn --pane <pane> --role impl --account <account> --accept-trust --resume <session id> --prompt "Continue this lane from where you stopped.".fleet board shows the new pane. With an old FLEET.md, update the lane's row there: pane, account, model.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rubycatco/herdr-fleet --plugin fleetOther plugins' skills for the same job
9 skills in this plugin
/accountsShow remuda accounts, cached usage and the account of each agent pane; choose an account for new work by the user's rules; or move this session or a lane to another account. In plain mode (no remuda) it explains that accounts are not switched. Use when the user asks about accounts, usage, limits, or switching accounts./cleanupClean up finished fleet lanes — list every lane with a verdict (ready, waiting or keep), ask which ones to remove, then exit their agents, archive their .fleet/ records, remove their worktrees, delete their merged local branches and run the project's own cleanup. Use when the user asks to clean up lanes, worktrees, panes or workspaces, or after pull requests merge./contextKeep agent context small in a fleet — decide between continuing, /compact with a focus, /clear with a re-brief from .fleet/ files, or a handoff to a new pane, for this session or a lane, and then do it. Use when context passes about 60 %, after a long run, when a lane gets slow or forgets rules, or when the user asks about compact, clear or context.