Claude-skill-registry Iterm2
iTerm2 terminal emulator and tmux multiplexer expertise. USE WHEN user mentions iTerm2, tmux, terminal sessions, split panes, window management, OR terminal productivity on macOS.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/iterm2" ~/.claude/skills/majiayu000-claude-skill-registry-iterm2 && rm -rf "$T"
manifest:
skills/data/iterm2/SKILL.mdsource content
Iterm2
Complete reference for iTerm2 terminal emulator and tmux terminal multiplexer on macOS. Covers keyboard shortcuts, configuration, tmux integration, and productivity workflows.
Workflow Routing
When executing a workflow, do BOTH of these:
-
Call the notification script (for observability tracking):
~/.claude/Tools/SkillWorkflowNotification WORKFLOWNAME Iterm2 -
Output the text notification (for user visibility):
Running the **WorkflowName** workflow from the **Iterm2** skill...
| Workflow | Trigger | File |
|---|---|---|
| SetupTmux | "setup tmux", "configure tmux" | |
| TmuxSession | "tmux session", "attach session", "detach" | |
| TroubleshootTmux | "tmux not working", "fix tmux" | |
Examples
Example 1: Split terminal into multiple panes
User: "How do I split my terminal in iTerm2?" → References Shortcuts.md → Explains Cmd+D (vertical) and Cmd+Shift+D (horizontal) → Shows navigation with Cmd+Option+Arrow
Example 2: Setup tmux with iTerm2 integration
User: "How do I use tmux with iTerm2?" → Invokes SetupTmux workflow → Explains tmux -CC control mode → Shows native window integration benefits
Example 3: Manage persistent sessions over SSH
User: "Keep my terminal running after disconnect" → Invokes TmuxSession workflow → Creates named session with tmux new -s → Shows how to reattach after disconnect
Quick Reference
iTerm2 Essentials
| Action | Shortcut |
|---|---|
| Split Vertical | |
| Split Horizontal | |
| Navigate Panes | |
| Maximize Pane | |
| Next/Prev Tab | / |
| Find | |
| Autocomplete | |
| Paste History | |
| Instant Replay | |
| Find Cursor | |
tmux Essentials
Default prefix:
Ctrl+b
| Action | Shortcut |
|---|---|
| New Session | |
| List Sessions | or |
| Attach Session | |
| Detach | |
| New Window | |
| Split Vertical | |
| Split Horizontal | |
| Navigate Panes | |
| Zoom Pane | |
| Close Pane | |
| Copy Mode | |
iTerm2 + tmux Integration
Run
tmux -CC for native iTerm2 integration:
- tmux windows appear as native iTerm2 windows
- Use iTerm2 shortcuts instead of tmux prefix
- Sessions persist through disconnects
- Dashboard available via Shell > tmux > Dashboard
Documentation Index
| Document | Purpose |
|---|---|
| Complete keyboard shortcut reference |
| tmux configuration (.tmux.conf) guide |
| Full tmux command reference |