← Back to list

tmux
by jasonkuhrt
Tool configurations
⭐ 1🍴 0📅 Jan 22, 2026
SKILL.md
name: tmux description: Use when managing terminal processes - starting dev servers, reading logs from other panes, sending commands to panes, or deciding between tmux pane vs CC background process. Triggers on "start server", "check logs", "run in background", "new pane", "dev server".
tmux
Terminal multiplexer - persistent sessions with splits and windows.
When to Use tmux Pane vs CC Background Process
| User Need | Use |
|---|---|
| Real-time visibility of logs (dev server, build output) | tmux pane |
| Might interact with process | tmux pane |
| Just need to know when done / final result | CC background process |
Default: Dev servers and processes that emit logs user is developing against → tmux pane.
Reading Pane Output
- Discover pane layout:
tmux list-panes - Capture with appropriate depth:
tmux capture-pane -t :.1 -p -S -50 # last 50 lines from pane 1
Target format: -t session:window.pane
:.1= current session, current window, pane 1:.2= pane 2, etc.
Starting Processes in New Panes
See sending-commands reference for:
- Creating new panes and sending commands
- Starting dev servers
- send-keys patterns
Directory-Based Sessions
Use t command to attach/create session named after current directory:
cd ~/projects/myapp && t # → Session: myapp
cd ~/projects/dotfiles && t # → Session: dotfiles
Creates new session if none exists, attaches if it does. Use this for starting work in a project.
Quick Reference
| Task | Command |
|---|---|
| Session for dir | t |
| List panes | tmux list-panes |
| Capture pane | tmux capture-pane -t :.N -p -S -100 |
| Split vertical | tmux split-window -h |
| Send command | tmux send-keys -t :.N "cmd" Enter |
| New session | tmux new -s name |
| List sessions | tmux ls |
| Kill session | tmux kill-session -t name |
Maintenance
Sessions accumulate. Periodically clean up:
tmux ls # see all sessions
tmux kill-session -t old-proj # kill one
tmux kill-server # kill all
References
- Config - locations, tpm-redux, dotfiles setup
- Sending Commands - send-keys, new panes, starting servers
- Landscape - plugins, ecosystem, setup recommendations
Plugins:
- Resurrect - manual save/restore sessions
- Continuum - auto save/restore (extends resurrect)
- Sessionx - fuzzy session picker, worktree workflows
Integrations:
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon



