Control tmux sessions/panes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "tmux" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/tmux/SKILL.md 2. 保存为 ~/.claude/skills/tmux/SKILL.md 3. 装好后重载技能,告诉我可以用了
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.Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Diagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.
Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.
Search meme templates, suggest formats, and generate local or hosted image memes.