What problem does it solve? Interactive command-line programs running inside tmux sessions are hard to supervise and drive programmatically. This Skill lets you list sessions, capture pane output, send keystrokes, and wait for prompts so long-running interactive CLIs can be monitored and controlled without manual terminal attachment. ## Core Features & Use Cases - Session Discovery: List and filter tmux sessions across default or custom sockets, including scanning all sockets under a socket directory. - Pane Interaction: Capture pane output (including full scrollback) and send literal text, Enter, or special keys like Ctrl-C and Escape to any session:window.pane target. - Prompt Monitoring: Poll a pane until a regex or fixed-string pattern appears, with configurable timeout, interval, and history depth. - Use Case: A background worker session asks for confirmation before proceeding. Use wait-for-text.sh to detect the prompt, inspect the last lines with capture-pane, then send "y" and Enter to approve it. ## Quick Start Ask the assistant to list my tmux sessions and capture the last 20 lines of the worker pane to check whether it is waiting for confirmation.