一键导入
tmux
// Control tmux sessions/panes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts.
// Control tmux sessions/panes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts.
| name | tmux |
| description | Control tmux sessions/panes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts. |
| metadata | {"openclaw":{"emoji":"🧵","os":["darwin","linux"],"requires":{"bins":["tmux"]},"install":[{"id":"brew","kind":"brew","formula":"tmux","bins":["tmux"],"label":"Install tmux (brew)"}]}} |
Use for existing interactive tmux sessions. For one-shot commands, use normal shell. For new non-interactive background jobs, use background execution.
tmux ls
tmux list-windows -t shared
tmux list-panes -t shared:0
tmux capture-pane -t shared:0.0 -p
tmux capture-pane -t shared:0.0 -p -S -
Target format: session:window.pane, e.g. shared:0.0.
Literal text, then Enter:
tmux send-keys -t shared:0.0 -l -- "Please continue"
tmux send-keys -t shared:0.0 Enter
Special keys:
tmux send-keys -t shared:0.0 C-c
tmux send-keys -t shared:0.0 C-d
tmux send-keys -t shared:0.0 Escape
Use -l -- for arbitrary text. Split text and Enter to avoid paste/newline surprises.
tmux new-session -d -s worker
tmux rename-session -t old new
tmux kill-session -t worker
tmux capture-pane -t worker-3 -p | tail -20
tmux capture-pane -t worker-3 -p | rg "proceed|permission|Yes|No|❯"
Approve/select only when the prompt is understood:
tmux send-keys -t worker-3 -l -- "y"
tmux send-keys -t worker-3 Enter
scripts/find-sessions.sh: discover sessions.scripts/wait-for-text.sh: wait until pane output contains text.capture-pane -p prints to stdout for scripts.-S - captures full scrollback.Regenerate OpenClaw release changelog sections from git history before beta or stable releases.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Auto Review closeout. Codex review is the default when no engine is set and is the recommended reviewer.
Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
Run, watch, debug, and summarize OpenClaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights.
Prepare or verify OpenClaw stable/beta releases, changelogs, release notes, publish commands, and artifacts.