/tmux:tmuxfrom tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Ships in tmux. 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.
Read when SKILL.md points to them; scripts run unread.
Use tmux only when you need an interactive TTY. Prefer bash background mode for long-running, non-interactive tasks.
SOCKET_DIR="${TMPDIR:-/tmp}/codebuddy-tmux-sockets"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/codebuddy.sock"
SESSION=codebuddy-python
tmux -S "$SOCKET" new -d -s "$SESSION" -n shell
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'PYTHON_BASIC_REPL=1 python3 -q' Enter
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
${TMPDIR:-/tmp}/codebuddy-tmux-sockets"$SOCKET_DIR/codebuddy.sock"session:window.pane (defaults to :0.0){baseDir}/scripts/find-sessions.sh -S "$SOCKET"{baseDir}/scripts/find-sessions.sh --alltmux -S "$SOCKET" send-keys -t target -l -- "$cmd"tmux -S "$SOCKET" send-keys -t target C-ctmux -S "$SOCKET" capture-pane -p -J -t target -S -200{baseDir}/scripts/wait-for-text.sh -t session:0.0 -p 'pattern'tmux -S "$SOCKET" kill-session -t "$SESSION"tmux -S "$SOCKET" kill-server{baseDir}/scripts/wait-for-text.sh -t session:0.0 -p 'pattern' [-F] [-T 20] [-i 0.5] [-l 2000]
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tunoc2c/workbuddy-skill-official --plugin tmux