| name | subagent |
| description | Persistent tmux sessions for background monitoring and long-running processes |
| triggers | ["tmux subagent","background process","watch logs","monitor build"] |
tmux Subagents
Persistent background sessions for monitoring, builds, logs. Survives context window resets.
Commands
tmux new-session -d -s "cc-<purpose>" -x 200 -y 50
tmux send-keys -t "cc-<name>" "command" Enter
tmux capture-pane -t "cc-<name>" -p -S -50
tmux list-sessions
tmux kill-session -t "cc-<name>"
Naming
All sessions use cc- prefix: cc-build-watch, cc-test-runner, cc-log-tail
Boundary
| Use Case | Tool |
|---|
| One-shot delegated work | Task agent (stateless) |
| Persistent monitoring | tmux subagent (stateful) |
| Simple inline work | Neither |
Rules
- Always check if session exists before creating
- Never auto-kill without Q approval
- Read output before sending new commands