/bivouac:session [start|status|issues|pull|merge|delete|ssh|connect|serve|unserve|sync|download|provision|down|image] [request...]from bivouac
Manage remote agent sessions and cloud images. [start|status|ssh|sync|image|down] [request]
Ships in bivouac. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user wants to start, inspect, attach to, retrieve, merge, or shut down a disposable remote coding-agent workspace managed by bivouac.
Bivouac sessions are repo-scoped; image operations can run outside a repository. It creates a remote VM from declarative config, starts named git-backed sessions on that instance, tracks session issue progress live, and brings work home through session pull or session merge. The skill's job is to choose safe next steps from deterministic state checks and the CLI's own metadata, not to reimplement the CLI.
Read references/preflight.md and follow it.
Route by combining the user's request with detected state:
| User intent / detected state | Behavior |
|---|---|
| Image requested | Use the image workflow below; repository/session preflight does not apply. |
| No git repo for a session request | Stop and explain that bivouac sessions are repo-scoped. |
bivouac missing | Stop and ask the user to install it or enter the right environment. |
| No explicit intent | Run status/list checks, summarize state, and offer safe next actions. |
No bivouac.pkl | Offer bivouac init; do not invent config. |
| Config exists, no instance | Offer bivouac up. |
| Instance exists, no sessions | Offer bivouac session start <name>. |
| Start requested | Check local git state, choose or confirm a session name, run bivouac up if needed, then run bivouac session start <name> with --task or --issue when context is available. |
| Pull requested | Resolve the session from an explicit argument, current worktree, or the only active session. If ambiguous, ask. Run bivouac session pull [name]. Reviews new commits and issue sync receipt. |
| Merge requested | Require an unambiguous session and clean main/session worktrees. Explain local signed replay, issue verification, and resumable retirement. Run bivouac session merge [name]. If paused on unsynced issues that cannot land, use --accept-unsynced with operator approval. |
| Delete requested | Resolve the session and confirm the target. Plain delete protects unmerged commits and unlanded issue changes; --force needs explicit authority to discard them. |
| Status requested | For the instance, run bivouac status; for session progress (epic issues and attention items), run bivouac session status [name]; for session inventory across instances, run bivouac session list. Use --json when parsing. |
| Issues requested | Run bivouac session issues [name] to inspect live issue changes and sync state (✓, ✗, ?) before pulling. |
| Cost requested | Run bivouac list --cost; use --json when parsing fleet-wide state. |
| SSH/attach requested | Run bivouac ssh, bivouac tmux, bivouac herdr, or bivouac pair after summarizing the target. Remember bivouac herdr [name] takes an instance name, not a session name. |
| Port requested | Prefer bivouac connect --port <port> for temporary access. Use serve/unserve only when publishing on the tailnet is clearly requested. |
| Sync/download requested | Confirm the path is intentionally outside git before running sync or download. |
| Preset requested | Use bivouac preset list/show/edit/delete; presets are copied starting shapes for future init, not live links. |
| Secrets requested | Use bivouac secrets init/edit/keys; keys lists names only, never values. |
| Tailscale requested | Use bivouac tailscale [name] to join the instance to the user's personal tailnet. |
| Shell requested | bivouac shell [name] exists in the CLI surface, but confirm implementation status with help/manifest before relying on it. |
| Provision requested | Warn that provisioning can restart services such as Docker and disrupt running containers. Ask before running. |
| Down requested | Inspect sessions first. Explain that down rescues session work and then destroys the VM. Ask before running. |
Ambiguity means ask or report status. Never guess which session to pull, merge, delete, serve, unserve, or destroy.
If the user invokes /bivouac:session without a clear action:
command -v bivouac
git rev-parse --show-toplevel
test -f bivouac.pkl
bivouac status
bivouac session list
Use JSON for structured summaries:
bivouac status --json
bivouac session list --json
Summarize:
bivouac.pkl exists,If the user asked about cost, include:
bivouac list --cost
Read references/init-up.md and follow it.
Read references/start.md and follow it.
Read references/observe-attach.md and follow it.
Read references/pull.md and follow it.
Read references/merge.md and follow it.
Read references/images.md and follow it.
Read references/ports-files.md and follow it.
Read references/presets-secrets.md and follow it.
Read references/provision-delete-down.md and follow it.
Read references/retirement.md and follow it.
Read references/destroy.md and follow it.
Name sessions after the work, not the tracker:
Good:
pi-harness-spike
commit-tools-cleanup
docs-rewrite
Avoid:
beads-123
issue-42
ulai-ai-abc
If an issue id matters, keep it as metadata with --issue <id> rather than embedding it in the name. For non-issue context, use --task "<text>".
Read references/paths.md and follow it.
Preserve these invariants:
beads = "dolthub" as credential-bearing mode. Warn that the DoltHub credential is account-wide for the life of the instance.session merge as local replay/sign/verify, not a remote push.bd dolt push or bd sync) when their repository syncs issues elsewhere.--accept-unsynced or --force without explicit operator authority.provision, down, delete, serve, unserve, image builds, tagging, or pruning without clear user intent; explain billing, config writes, and retention before an image build.Read references/out-of-scope.md and follow it.
references/destroy.md (opens in a new tab)references/images.md (opens in a new tab)references/init-up.md (opens in a new tab)references/merge.md (opens in a new tab)references/observe-attach.md (opens in a new tab)references/out-of-scope.md (opens in a new tab)references/paths.md (opens in a new tab)references/ports-files.md (opens in a new tab)references/preflight.md (opens in a new tab)references/presets-secrets.md (opens in a new tab)references/provision-delete-down.md (opens in a new tab)references/pull.md (opens in a new tab)references/retirement.md (opens in a new tab)references/start.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Use when the user asks to manage disposable remote coding-agent sessions, VMs, configuration, or custom cloud images with the bivouac CLI, including start, status, issues, attach, pull, merge, delete, up, down, and image generate/build/list/tag/prune.
Other plugins' skills for the same job
npx claudepluginhub jskswamy/skills --plugin bivouac