Skip to main content
Run any Skill in Manus
with one click

tmux

Stars3
Forks5
UpdatedJuly 15, 2026 at 09:25

用 `tmux` 创建/控制持久终端会话来跑长期命令行任务 —— 服务器、构建、训练、REPL、交互式 TUI、需要活过单次命令的东西。LOAD whenever 用户要:起一个后台/长跑的命令行进程并能反复回来看它、attach 到一个已有会话、开多个窗格/窗口、给会话喂键、抓当前屏幕内容(capture-pane)、或让一个进程在命令返回后继续活着。核心是 detach 跑 + `send-keys` 喂命令 + `capture-pane` 读屏这套非交互配方,最适合 agent 的一次性 bash。全部通过 bash 工具跑本机 `tmux`,不封装 Python tool、不新增依赖、不改 pyproject / nuitka / pyinstaller。⚠️ Windows 无原生 tmux:走 WSL 里的 tmux(见下),装不了 WSL 时退回工作区自带的 `background_start`/`background_stop`。NOT for 一条几秒就返回的普通命令(直接 bash),NOT for 后台跑但不需要交互/看屏的进程(用 background_start)。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly