Skip to content
Automation
Command

/sessions

Show status of all active Claude Code sessions (cost, health, context usage)

From plugin
claudectl
1997 skills1 agent7 commands1 MCP
Install
$ npx -y skills add mercurialsolo/claudectl --agent claude-code

How 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.md
name: 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.

Ships withclaudectl

Swarm orchestration for claude code agents with a local brain that steers based on your preferences

Get the whole plugin
Stats
199
Stars
22
Forks
Maintained
Maintenance
Rust
Language
MIT
License
2mo ago
Last commit
5mo ago
Created

Repo: mercurialsolo/claudectl

Other commands on claudectl.