Skip to content
Automation
Command

/sessions

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

From plugin
claudectl
1957 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

Orchestrate a swarm of Claude Code agents with a local brain that learns from you.

Get the whole plugin
Stats
195
Stars
21
Forks
Active
Maintenance
Rust
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: mercurialsolo/claudectl