plugins/ainb-fleet/skills/ainb-fleet/SKILL.md
Fleet orchestration overview — the `ainb fleet ...` Rust subcommand namespace for driving every claude session on the host. Routes to one of five sub-skills (standup / broadcast / sequence / needs / daemon). Invoke this for an at-a-glance map of what fleet can do; reach for the specific sub-skill for the verb you want.
npx skillsauth add stevengonsalvez/agents-in-a-box ainb-fleetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Single Rust binary (ainb) provides 5 orchestration verbs across every
claude session running on this host. Each verb has its own colon-namespaced
sub-skill with focused docs.
| sub-skill | what it does |
|---|---|
| /ainb-fleet:standup | List every claude session — merged across ainb · peers · bg jobs |
| /ainb-fleet:broadcast | Send one prompt to selected sessions |
| /ainb-fleet:sequence | Ordered multi-step prompts, ack-gated between steps |
| /ainb-fleet:needs | Show sessions blocked on input / errors / waiting |
| /ainb-fleet:daemon | Background watcher that auto-continues API errors |
discover (ainb + peers + jobs) ──▶ state read ──▶ send (peers-first, tmux fallback)
--format json|text|csv|markdown (default text). Prefer --format json
when an LLM is the consumer.
ainb run~/.claude-peers.db)~/.claude/jobs/Merged + deduped by cwd so the same session in two sources collapses
into one record with sources: ["ainb", "peers"].
| var | default | use |
|---|---|---|
| AINB_BIN | ainb | override binary the discover layer shells to (tests) |
| AINB_FLEET_PEER_ID | ainb-fleet-cp | peer id the daemon registers as |
| AINB_FLEET_JOBS_DIR | ~/.claude/jobs | bg-job scan root |
| CLAUDE_PEERS_DB | ~/.claude-peers.db | broker sqlite path |
| CLAUDE_PEERS_PORT | 7899 | broker HTTP port |
ainb list — lifecycle-only session list (no peer/jobs enrichment)ainb attach <workspace> — drop into a session's tmuxainb kill <workspace> — terminate a single session by exact namedocumentation
Report reflect drain spend over a time window — tokens split by cached (cache_read), uncached writes (cache_creation), and io (input+output), with a $ estimate, grouped by day / outcome / model / transcript. Reads the drainer's cost log and surfaces outlier runs and cache-reuse health (the 41.5M-token failure mode = low cache reuse + high cache writes). Use to answer "what is reflection costing me" for the last day / week.
development
Show fleet status — every claude session running on the host, merged across ainb + claude-peers broker + background jobs. Use when you need to enumerate sessions before composing an action, see which sessions have a peer registered (broker-routable) vs tmux-only, check the `summary` of each session, or pipe the list into jq for filtering. Default output: text table. Pass --format json for LLM consumption.
testing
Ordered multi-step prompts to fleet targets, ack-gated between steps via JSONL assistant-turn-end detection. Use for cycles like disconnect→reconnect→verify, or any flow where step N+1 requires step N to have completed first. The skill BLOCKS until each target's transcript shows the next assistant turn finishing OR per-step timeout fires (default 300s).
development
Center control panel — enumerate every claude session that is blocked waiting on something: a user answer (AskUserQuestion fired), an API error retry, an idle assistant turn-end with no follow-up, or an explicit WAITING: marker. Returns rich JSON with signal kind + context per session. Use this when you've stepped away from the fleet and want one place to see everything that wants your attention and answer it.