Skills tmux-remote

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/164149043/tmux-remote" ~/.claude/skills/openclaw-skills-tmux-remote && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/164149043/tmux-remote" ~/.openclaw/skills/openclaw-skills-tmux-remote && rm -rf "$T"
manifest: skills/164149043/tmux-remote/SKILL.md
source content

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 window
  • n
    - Next window
  • p
    - Previous window
  • w
    - List windows
  • d
    - Detach
  • %
    - Split pane horizontally
  • "
    - Split pane vertically
  • o
    - Cycle panes
  • arrow keys
    - Navigate panes
  • ?
    - List keybindings
  • :
    - Command prompt

Commands

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