toolkit/packages/skills/tmux-status/SKILL.md
Show status of all tmux sessions including dev environments, spawned agents, and running processes
npx skillsauth add stevengonsalvez/agents-in-a-box tmux-statusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Show status of all tmux sessions including dev environments, spawned agents, and running processes.
/tmux-status # Compact overview
/tmux-status --detailed # Full report with metadata
/tmux-status --json # JSON export
Invokes the tmux-monitor skill to discover and report on all active tmux sessions.
# Get path to monitor script
MONITOR_SCRIPT=".claude/skills/tmux-monitor/scripts/monitor.sh"
[ ! -f "$MONITOR_SCRIPT" ] && echo "❌ tmux-monitor skill not found at $MONITOR_SCRIPT" && exit 1
# Determine output mode
OUTPUT_MODE="compact"
[[ "$1" == "--detailed" ]] || [[ "$1" == "-d" ]] && OUTPUT_MODE="detailed"
[[ "$1" == "--json" ]] || [[ "$1" == "-j" ]] && OUTPUT_MODE="json"
# Execute monitor script
bash "$MONITOR_SCRIPT" "$OUTPUT_MODE"
Quick overview:
5 active sessions:
- dev-myapp-1705161234 (fullstack, 4 windows, active)
- dev-api-service-1705159000 (backend-only, 4 windows, detached)
- agent-1705160000 (codex, running)
- agent-1705161000 (aider, completed ✓)
- claude-work (main session, current)
3 running servers on ports: 8432,3891,5160
Use /tmux-status --detailed for full report
Full report with metadata, services, ports, and recommendations.
Programmatic output:
{
"sessions": [
{
"name": "dev-myapp-1705161234",
"type": "dev-environment",
"windows": 4,
"panes": 8,
"attached": true
}
],
"summary": {
"total_sessions": 5,
"total_windows": 12,
"total_panes": 28
}
}
After displaying status, provide recommendations based on findings:
Completed agents:
⚠️ Found completed agent sessions
Recommendation: Review and clean up: tmux kill-session -t <agent-session>
Long-running detached sessions:
💡 Found dev sessions running >2 hours
Recommendation: Check if still needed: tmux attach -t <session-name>
Many sessions (>5):
🧹 Found 5+ active sessions
Recommendation: Review and clean up unused sessions
/tmux-status
# Check for port conflicts and existing sessions before /start-local
/tmux-status
# See status of spawned agents (running, completed, etc.)
/tmux-status --detailed
# Find specific session by project name or port
.tmux-dev-session.json and {{HOME_TOOL_DIR}}/agents/*.jsondocumentation
Report reflect drain spend over a time window — tokens split by cached (cache_read), uncached writes (cache_creation), and io (input+output), with a $ estimate, grouped by day / outcome / model / transcript. Reads the drainer's cost log and surfaces outlier runs and cache-reuse health (the 41.5M-token failure mode = low cache reuse + high cache writes). Use to answer "what is reflection costing me" for the last day / week.
development
Show fleet status — every claude session running on the host, merged across ainb + claude-peers broker + background jobs. Use when you need to enumerate sessions before composing an action, see which sessions have a peer registered (broker-routable) vs tmux-only, check the `summary` of each session, or pipe the list into jq for filtering. Default output: text table. Pass --format json for LLM consumption.
testing
Ordered multi-step prompts to fleet targets, ack-gated between steps via JSONL assistant-turn-end detection. Use for cycles like disconnect→reconnect→verify, or any flow where step N+1 requires step N to have completed first. The skill BLOCKS until each target's transcript shows the next assistant turn finishing OR per-step timeout fires (default 300s).
development
Center control panel — enumerate every claude session that is blocked waiting on something: a user answer (AskUserQuestion fired), an API error retry, an idle assistant turn-end with no follow-up, or an explicit WAITING: marker. Returns rich JSON with signal kind + context per session. Use this when you've stepped away from the fleet and want one place to see everything that wants your attention and answer it.