/list
List all active agents
> /plugin marketplace add ruvnet/claude-flowHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/list
Context preview
What this command does when you run it.
List all active agents
Command definition
list.mdname: list
description: List all active agents
aliases: [ls]
type: command
Agent List Command
List all active agents in the Claude Flow system with filtering options.
Usage
npx claude-flow agent list [options]
npx claude-flow agent ls [options] # Alias
Options
| Option | Short | Description | Default | |--------|-------|-------------|---------| | `--all` | `-a` | Include inactive/terminated agents | false | | `--type` | `-t` | Filter by agent type | All | | `--status` | `-s` | Filter by status (active, idle, terminated) | active | | `--format` | | Output format (table, json) | table |
Examples
# List all active agents
npx claude-flow agent list
# List all agents including inactive
npx claude-flow agent list --all
# Filter by type
npx claude-flow agent list -t coder
# Filter by status
npx claude-flow agent list -s idle
# JSON output for scripting
npx claude-flow agent list --format json
# Combined filters
npx claude-flow agent list -t researcher -s active
Output
Active Agents
+--------------------+-----------+--------+----------+---------------+
| ID | Type | Status | Created | Last Activity |
+--------------------+-----------+--------+----------+---------------+
| coder-lx7m9k2 | coder | active | 10:30:15 | 10:45:23 |
| researcher-abc123 | researcher| idle | 09:15:00 | 10:20:45 |
| tester-def456 | tester | active | 11:00:00 | 11:12:30 |
+--------------------+-----------+--------+----------+---------------+
Total: 3 agents
JSON Output
{
"agents": [
{
"id": "coder-lx7m9k2",
"agentType": "coder",
"status": "active",
"createdAt": "2026-01-08T10:30:15.000Z",
"lastActivityAt": "2026-01-08T10:45:23.000Z"
}
],
"total": 3
}Status Values
| Status | Description | |--------|-------------| | `active` | Agent is currently executing tasks | | `idle` | Agent is waiting for tasks | | `terminated` | Agent has been stopped |
Agent Type Categories
Use `--type` with any of the 87 agent types:
- Core: `coder`, `reviewer`, `tester`, `planner`, `researcher`
- V3: `security-architect`, `memory-specialist`, `performance-engineer`
- Swarm: `hierarchical-coordinator`, `mesh-coordinator`, `adaptive-coordinator`
- Consensus: `byzantine-coordinator`, `raft-manager`, `gossip-coordinator`
- GitHub: `pr-manager`, `code-review-swarm`, `release-manager`
- SPARC: `sparc-coordinator`, `specification`, `architecture`
Read more
name: list description: List all active agents aliases: [ls] type: command
Agent List Command
List all active agents in the Claude Flow system with filtering options.
Usage
npx claude-flow agent list [options] npx claude-flow agent ls [options] # Alias
Options
| Option | Short | Description | Default | |--------|-------|-------------|---------| | `--all` | `-a` | Include inactive/terminated agents | false | | `--type` | `-t` | Filter by agent type | All | | `--status` | `-s` | Filter by status (active, idle, terminated) | active | | `--format` | | Output format (table, json) | table |
Examples
# List all active agents npx claude-flow agent list # List all agents including inactive npx claude-flow agent list --all # Filter by type npx claude-flow agent list -t coder # Filter by status npx claude-flow agent list -s idle # JSON output for scripting npx claude-flow agent list --format json # Combined filters npx claude-flow agent list -t researcher -s active
Output
Active Agents +--------------------+-----------+--------+----------+---------------+ | ID | Type | Status | Created | Last Activity | +--------------------+-----------+--------+----------+---------------+ | coder-lx7m9k2 | coder | active | 10:30:15 | 10:45:23 | | researcher-abc123 | researcher| idle | 09:15:00 | 10:20:45 | | tester-def456 | tester | active | 11:00:00 | 11:12:30 | +--------------------+-----------+--------+----------+---------------+ Total: 3 agents
JSON Output
{
"agents": [
{
"id": "coder-lx7m9k2",
"agentType": "coder",
"status": "active",
"createdAt": "2026-01-08T10:30:15.000Z",
"lastActivityAt": "2026-01-08T10:45:23.000Z"
}
],
"total": 3
}Status Values
| Status | Description | |--------|-------------| | `active` | Agent is currently executing tasks | | `idle` | Agent is waiting for tasks | | `terminated` | Agent has been stopped |
Agent Type Categories
Use `--type` with any of the 87 agent types:
- Core: `coder`, `reviewer`, `tester`, `planner`, `researcher`
- V3: `security-architect`, `memory-specialist`, `performance-engineer`
- Swarm: `hierarchical-coordinator`, `mesh-coordinator`, `adaptive-coordinator`
- Consensus: `byzantine-coordinator`, `raft-manager`, `gossip-coordinator`
- GitHub: `pr-manager`, `code-review-swarm`, `release-manager`
- SPARC: `sparc-coordinator`, `specification`, `architecture`
An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.
Repo: ruvnet/claude-flow
Other commands on claude-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

