What problem does it solve?
This skill enables remote control of tmux sessions from prompts to automate interactive terminals, reducing manual keystrokes and improving reproducibility of dev workflows.
Core Features & Use Cases
- Session creation & management: Create, name, attach to tmux sessions, and organize panes for multi-task workflows.
- Keystroke automation: Send keystrokes to specific panes to drive interactive CLIs and development tools, then capture output.
- Cross-platform compatibility: Works on macOS and Linux with a single socket interface for consistent TTY environments.
- Orchestrating coding agents: Manage multiple coding agents or tools in parallel windows for scalable automation.
Quick Start
Create a detached tmux session and run a simple command:
tmux -S "$SOCKET" new-session -d -s "troubleshoot"
tmux -S "$SOCKET" send-keys -t "troubleshoot":0.0 "python3" Enter
tmux -S "$SOCKET" capture-pane -p -t "troubleshoot":0.0 -S -200
tmux -S "$SOCKET" attach -t "troubleshoot"