tmux
Installation
SKILL.md
tmux CLI Skill
Use tmux commands via Bash to manage terminal sessions, windows, and panes.
Do NOT use the tmux MCP server — use the CLI directly.
All commands below are safe to run and do not require user confirmation unless they kill sessions or panes containing unsaved work.
Session Management
tmux list-sessions # list all sessions (alias: tmux ls)
tmux new-session -d -s myapp # create detached session
tmux new-session -d -s myapp -c ~/project # create with working directory
tmux kill-session -t myapp # kill a session (confirm first)
tmux rename-session -t old new # rename a session
tmux has-session -t myapp 2>/dev/null # check if session exists (exit code)