AgentSkillsCN

tmux

在 TMUX 窗口中管理后台进程。当您运行开发服务器、构建监听器,或任何不应阻塞代理的长期运行任务时,可使用此功能。在启动代理之前,务必检查窗口状态。

SKILL.md
--- frontmatter
name: tmux
description: "manage background processes in tmux windows. use when running dev servers, build watchers, or any long-running process that shouldn't block the agent. check window before spawning."

tmux

manage concurrent processes (servers, builds, watchers) in tmux windows.

spawn

bash
tmux new-window -n "name" -d "command"

inspect

bash
tmux capture-pane -p -t "name"         # visible screen
tmux capture-pane -p -S - -t "name"    # full scrollback

control

bash
tmux send-keys -t "name" C-c           # interrupt
tmux kill-window -t "name"             # terminate
tmux select-window -t "name"           # switch to
tmux list-windows                      # list all

for spawning amp agents with thread linkage, use the spawn skill.