| name | tmux |
| description | Manage tmux sessions, windows, and panes |
Tmux Skill
You can manage tmux sessions for the user. Use these patterns:
Creating Sessions
tmux new-session -d -s <name>
tmux new-session -d -s <name> -c <dir>
Managing Windows & Panes
tmux new-window -t <session>
tmux split-window -h -t <session>
tmux split-window -v -t <session>
tmux send-keys -t <session> '<cmd>' Enter
Listing & Attaching
tmux ls
tmux list-windows -t <session>
tmux list-panes -t <session>
tmux attach -t <session>
Session Control
tmux kill-session -t <session>
tmux kill-server
tmux rename-session -t <old> <new>
Capturing Output
tmux capture-pane -t <session> -p
tmux capture-pane -t <session> -p -S -100
When managing long-running processes, prefer creating a dedicated tmux session so the user can monitor and interact with it independently.