/sessions
Show status of all active Claude Code sessions (cost, health, context usage)
$ npx -y skills add mercurialsolo/claudectl --agent claude-codeHow 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
/sessions
Context preview
What this command does when you run it.
Show status of all active Claude Code sessions (cost, health, context usage)
Command definition
sessions.mdname: sessions description: Show status of all active Claude Code sessions (cost, health, context usage)
Run `claudectl --list` to get the current status of all active Claude Code sessions. If no sessions are found, let the user know.
If the user wants more detail, you can also run `claudectl --json` for machine-readable output with full session data including token counts, cost, burn rate, and context window usage.
For session health issues (loops, stalls, cost spikes, context saturation), run `claudectl --json` and look at the `decay_score`, `has_file_conflict`, and `last_tool_error` fields.
Present the results in a concise table showing: project name, status, cost, context %, and any health warnings.
Orchestrate a swarm of Claude Code agents with a local brain that learns from you.
Other commands on claudectl.
- /auto-insights
Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements
Open command - /brain-stats
Show claudectl brain learning metrics — accuracy, correction rate, and effectiveness
Open command - /brain
Toggle the claudectl brain gate on/off/auto for this session
Open command - /inbox
Drain pending agent-bus messages addressed to this session's role
Open command - /role
Set this Claude session's agent-bus role so other sessions can address it (e.g. /role frontend, /role backend, /role tester)
Open command - /spend
Show Claude Code spend summary — total cost, per-session breakdown, and burn rate
Open command

