/session-tools:list-sessionsfrom session-tools
List all running ai-* Claude Code tmux sessions with their current status
Ships in session-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
List all running ai-* prefixed tmux sessions and show their current status.
Get all ai- sessions:*
tmux list-sessions -F "#{session_name}" 2>/dev/null | grep -E '^ai-' || echo ""
For each session, capture recent output:
"$PLUGIN_DIR/bin/capture-session" "<session_name>" 15
Analyze each session's output to determine status:
working - Has ✢, ⏺, or Thinking…idle - At ❯ prompt with no activitypermission-prompt - Waiting for permission approvalwaiting-input - Waiting for user input (y/n, choice, text)stuck - In editor, pager, or hangingOutput a table:
Session Status Details
───────────────────────────────────────────────────
ai-worker-001 working Editing src/api.ts
ai-worker-002 permission-prompt Bash: npm install
ai-brainstorm-design idle At prompt
If no sessions found:
No ai-* sessions found.
To create one: /session-tools:spawn-session worker
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shsym/claude-session-tools --plugin session-tools5 skills in this plugin
/unstick-sessionDetect stuck states in a Claude Code tmux session and resolve themOther plugins' skills for the same job