TERMINAL
clawhub install tmux-remoteπ About This Skill
name: tmux-remote description: Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. metadata: {"clawdbot":{"emoji":"π§΅","os":["darwin","linux"],"requires":{"bins":["tmux"]}}}
tmux
Remote-control tmux sessions for interactive CLIs.
Basics
List sessions:
tmux ls
Attach to session:
tmux attach -t session-name
Create new session:
tmux new -s session-name
Panes and Windows
Split pane (vertical):
tmux split-pane -v
Split pane (horizontal):
tmux split-pane -h
New window:
tmux new-window
Switch pane:
tmux select-pane -[U|D|L|R]
Keybindings
Prefix: Ctrl-b
c - Create new windown - Next windowp - Previous windoww - List windowsd - Detach% - Split pane horizontally" - Split pane verticallyo - Cycle panesarrow keys - Navigate panes? - List keybindings: - Command promptCommands
Execute command in pane:
tmux send-keys -t session-name:window.pane "command" Enter
Capture pane output:
tmux capture-pane -t session-name:window.pane -p
Kill pane:
tmux kill-pane -t session-name:window.pane