fleet
Original:🇺🇸 English
Translated
Fleet orchestration for distributed coding agents across Azure VMs. Invoked as `/fleet <command>`. Covers all fleet operations: status, scout, advance, adopt, watch, snapshot, dry-run, start, add-task, queue, auth, dashboard, tui, and more. Use when: user mentions fleet, agents, VMs, sessions, or asks "what are my agents doing".
1installs
Sourcerysweet/amplihack
Added on
NPX Install
npx skill4agent add rysweet/amplihack fleetTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/fleet
Fleet orchestration — manage coding agents (Claude Code, Copilot, Amplifier) running across multiple Azure VMs via azlin.
Invoke as or just describe what you want and Claude will pick the right command.
/fleet <command>All Commands
Status & Monitoring
| Command | What it does |
|---|---|
| Quick text overview of all VMs and sessions |
| Discover, adopt, dry-run reason, show report |
| Point-in-time capture of all managed sessions |
| Live snapshot of a single session |
| Observe sessions with pattern classification |
| Interactive Textual TUI dashboard |
Admiral Control
| Command | What it does |
|---|---|
| LIVE — reason and execute actions on sessions |
| Show what the admiral would do (no action) |
| Single PERCEIVE->REASON->ACT cycle |
| Run autonomous admiral loop |
Session Management
| Command | What it does |
|---|---|
| Bring existing tmux sessions under management |
| Propagate auth tokens (GitHub, Azure, Claude) |
Task Management
| Command | What it does |
|---|---|
| Queue work for the fleet |
| Show task queue |
| Project-level tracking |
| Generate fleet status report |
Projects & Knowledge
| Command | What it does |
|---|---|
| Manage fleet projects |
| Track a GitHub issue as a project objective |
| Sync objectives from GitHub issues by label |
| Fleet knowledge graph summary |
Co-Pilot
| Command | What it does |
|---|---|
| Show copilot lock/goal state |
| Show copilot decision history |
Quick Reference
| User says | Command |
|---|---|
| "What are my agents doing?" | |
| "Show me the fleet" | |
| "Send next steps to all sessions" | |
| "Advance without confirmation" | |
| "Watch what dev/cybergym is doing" | |
| "Add auth to the new VM" | |
| "Queue this task for the fleet" | |
| "Track issue #42 for myapp" | |
| "Sync objectives from GitHub" | |
| "Open the dashboard" | |
Key Options
fleet scout [--session vm:session] [--vm VM] [--skip-adopt] [--incremental] [--save PATH]
fleet advance [--session vm:session] [--vm VM] [--force] [--save PATH]
fleet dry-run [--vm VM ...] [--backend auto|anthropic|copilot|litellm]
fleet adopt <vm> [--sessions s1 s2]
fleet watch <vm> <session> [--lines 30]
fleet auth <vm> [--services github azure claude]
fleet add-task "prompt" [--priority high] [--repo URL]
fleet start [--interval 300] [--max-cycles 10]Environment
| Variable | Required for |
|---|---|
| All commands (auto-detected if azlin on PATH) |
| scout, advance, dry-run, run-once, start |
Admiral Configuration
- Model: Claude Opus 4.6 ()
claude-opus-4-6 - Max output tokens: 128,000 (reasoning JSON)
- Context gathered per session: full tmux scrollback + first 50 & last 200 transcript messages
- Safety: 57 dangerous-input patterns blocked (with safe allow-list), confidence thresholds (60% send_input, 80% restart), --confirm default on advance
- Docs:
docs/fleet-orchestration/ADMIRAL_REASONING.md
Status Icons
| Icon | Status | Meaning |
|---|---|---|
| thinking | Agent is actively processing |
| running | Agent producing output |
| idle | Agent at prompt, waiting for direction |
| shell (dead agent) | No agent detected in this session |
| suspended | Agent backgrounded but alive |
| error | Error detected in session output |
| completed | Agent finished its task |
| waiting input | Agent asked a question, awaiting response |
Performance & Architecture
- Sequential VM polling: Session discovery from (no SSH). Pane capture via sequential SSH
azlin list - Cached SSH output: Scout caches Phase 1 tmux captures for Phase 3 reasoning (no double-poll)
- Incremental scout: flag skips unchanged sessions using
--incremental~/.amplihack/fleet/last_scout.json - Bastion tunnel reuse: Reuses existing SSH tunnels via instead of creating new ones
get_existing_tunnels() - PR URL detection: Uses on remote VM for reliable PR detection from git state
gh pr list - Health metrics in reasoning: wired into
fleet_health.pyfor admiral decisionsSessionContext - Unified status classifier: Single canonical classifier in (no dual TUI/CLI divergence)
_status.py - Modular CLI: Commands split across ,
_cli_session_ops.py,_cli_scout_advance.py(each under 400 LOC)_cli_formatters.py - Project grouping: Scout report groups sessions by registered project with open objectives displayed
How to Run
Execute via Bash:
bash
fleet <command> [options]Presenting Results
After running or , present the output to the user as:
fleet scoutfleet advance-
Summary table — reformat the CLI output into a clean markdown table with columns: VM | Session | Status | Action | Conf | Summary
-
Proposed inputs — for anydecisions, show what the admiral wants to send
send_input -
Follow-up commands — always end with the actionable next steps from the report:
- to send next command to all sessions
fleet advance - to review each before executing
fleet advance --confirm - to advance one specific session
fleet advance --session vm:session - to inspect specific sessions
fleet watch <vm> <session>