fleet

Monitor, search, and audit multiple Claude Code agents using the Fleet CLI. Use this skill to list active sessions, search session content, audit risky commands, check agent status, view token speed, inspect individual agents, stop runaway agents, and check rate-limit usage. Ideal for multi-agent coordination, observability, and security auditing.

Claw Fleet

Claw Fleet monitors all your running Claude Code sessions in real time via a desktop app and CLI.

Prerequisites

Check if fleet is installed:

which fleet

If not found, install via the Claw Fleet app: open the app → Account & Usage panel → Let AI Use Fleet → install CLI.

Or download manually from: https://github.com/hoveychen/claw-fleet/releases

Commands

# List all active agents
fleet agents

# List all agents including idle ones
fleet agents --all

# Show details for a specific agent (by ID prefix or workspace name)
fleet agent <id>

# Stop an agent (SIGTERM)
fleet stop <id>

# Force-stop an agent (SIGKILL)
fleet stop <id> --force

# Show account info and rate-limit usage
fleet account

# Show per-agent and aggregate token speed
fleet speed

# Search across all session content (full-text search)
fleet search <query>

# Search with a result limit
fleet search <query> --limit 10

# Audit active sessions for risky commands
fleet audit

# Audit only high/critical risk events
fleet audit --level high

# Audit a specific workspace or session
fleet audit --filter <workspace-name-or-id>

Remote SSH mode

Any command can be run on a remote host by adding --remote <host>:

# <host> accepts: user@hostname, hostname (uses current user), or SSH config profile name
fleet agents --remote user@hostname
fleet agents --remote myserver --all
fleet account --remote user@hostname
fleet speed --remote myserver
fleet stop <id> --remote user@hostname --force
fleet search "error handling" --remote myserver
fleet audit --remote user@hostname

Fleet will automatically detect if it is installed on the remote host (checking PATH first, then ~/.fleet-probe/fleet). If missing or outdated, it installs the correct binary before running the command. SSH config (~/.ssh/config) is respected, so jump hosts, custom ports, and identity files work without extra flags.

Output fields (fleet agents)

FieldDescription
IDShort session ID (8 chars)
WORKSPACEProject directory name
STATUSThinking / Executing / Streaming / Delegating / WaitInput / Active / Idle
SPEEDCurrent token output speed (tok/s)
TOKENSTotal output tokens this session
MODELClaude model being used

Subagents are indented under their parent with prefix.

Search

fleet search performs full-text search across all session transcripts using an FTS5 index. Multiple terms are AND-matched. Results show the workspace name, session ID, and a snippet with matching terms highlighted.

Audit

fleet audit scans active sessions for Bash commands with real side effects and classifies them by risk level:

LevelExamples
criticalsudo, eval/pipe-to-shell, curl uploads, git push, npm publish
highcurl/wget downloads, ssh, rm -rf, docker run, git reset --hard
mediumgit fetch/pull, package installs (npm/pip/cargo), cloud CLIs, chmod

Use --level high to filter out medium-risk noise. Use --filter to scope to a workspace.

Common use cases

  • Before spawning subagents: check current system load → fleet agents
  • Check if a task is still running: fleet agent <workspace-name>
  • Monitor overall throughput: fleet speed
  • Stop a runaway agent: fleet stop <id>
  • Check rate limits before heavy work: fleet account
  • Find which session discussed a topic: fleet search "database migration"
  • Review what risky commands agents ran: fleet audit
  • Check for critical-only risks: fleet audit --level critical
  • Get machine-readable output: append --json to any command