スキル一覧に戻る
jasonkuhrt

tmux

by jasonkuhrt

Tool configurations

1🍴 0📅 2026年1月22日
GitHubで見るManusで実行

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 NeedUse
Real-time visibility of logs (dev server, build output)tmux pane
Might interact with processtmux pane
Just need to know when done / final resultCC background process

Default: Dev servers and processes that emit logs user is developing against → tmux pane.

Reading Pane Output

  1. Discover pane layout: tmux list-panes
  2. 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

TaskCommand
Session for dirt
List panestmux list-panes
Capture panetmux capture-pane -t :.N -p -S -100
Split verticaltmux split-window -h
Send commandtmux send-keys -t :.N "cmd" Enter
New sessiontmux new -s name
List sessionstmux ls
Kill sessiontmux 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:

  • Zed - auto-attach to project sessions
  • Ghostty - manual attach workflows

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です