julianobarbosa/claude-code-skills/iterm2
Claude Code and agent skill by julianobarbosa/claude-code-skills
- community
Checking that the SKILL.md file is still in the repository.
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
npx vskill@latest install julianobarbosa/claude-code-skills/iterm2SKILL.md
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):
``bash ~/.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" | workflows/SetupTmux.md | |
| TmuxSession | "tmux session", "attach session", "detach" | workflows/TmuxSession.md | |
| TroubleshootTmux | "tmux not working", "fix tmux" | workflows/TroubleshootTmux.md |
Examples
Example 1: Split terminal into multiple panes
Example 2: Setup tmux with iTerm2 integration
Example 3: Manage persistent sessions over SSH
Quick Reference
iTerm2 Essentials
| Action | Shortcut | |
|---|---|---|
| Split Vertical | Cmd+D | |
| Split Horizontal | Cmd+Shift+D | |
| Navigate Panes | Cmd+Option+Arrow | |
| Maximize Pane | Cmd+Shift+Enter | |
| Next/Prev Tab | Cmd+{ / Cmd+} | |
| Find | Cmd+F | |
| Autocomplete | Cmd+; | |
| Paste History | Cmd+Shift+H | |
| Instant Replay | Cmd+Option+B | |
| Find Cursor | Cmd+/ |
tmux Essentials
Default prefix: Ctrl+b
| Action | Shortcut | |
|---|---|---|
| New Session | tmux new -s name | |
| List Sessions | tmux ls or Ctrl+b s | |
| Attach Session | tmux attach -t name | |
| Detach | Ctrl+b d | |
| New Window | Ctrl+b c | |
| Split Vertical | Ctrl+b % | |
| Split Horizontal | Ctrl+b " | |
| Navigate Panes | Ctrl+b Arrow | |
| Zoom Pane | Ctrl+b z | |
| Close Pane | Ctrl+b x | |
| Copy Mode | Ctrl+b [ |
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 | |
|---|---|---|
Shortcuts.md | Complete keyboard shortcut reference | |
TmuxConfig.md | tmux configuration (.tmux.conf) guide | |
TmuxCommands.md | Full tmux command reference |
Gotchas
- "Reuse previous session's directory" is per-profile and per-context: New windows from Cmd-N use the profile's window setting; new tabs from Cmd-T use the tab setting. They differ — confusing when prompts open in unexpected directories.
- `tmux -CC` requires the tmux server to be installed and started: If tmux is on a remote host but iTerm2 is local,
tmux -CC attachworks over SSH only when SSH was started from iTerm2 itself — not from a script that spawns a subshell. - Cmd-D split uses the current pane's profile, NOT the window default: Once a profile changes mid-session (via shell integration), new splits inherit the modified profile and can carry unwanted env or PATH.
- `Ctrl+b` prefix conflicts with readline `transpose-words`: Vi-mode users who rebind it (
set -g prefix C-a) must rememberCtrl+aalso conflicts with screen and shell line-start — pick a free combo likeC-Space. - Shell integration injects OSC 1337 escape codes: Pipelines that capture terminal output (script, asciinema) end up with garbled control sequences unless integration is disabled per-pane via
Edit Session > Disable Shell Integration. - Status bar updates run on the main thread: Heavy custom status bar scripts (long
git status, slow cloud CLIs) freeze the entire terminal — keep status callbacks under 100ms or run them async.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/iterm2/SKILL.md
Popularity
- Repository stars
- 84
- Repository forks
- 18
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/julianobarbosa/claude-code-skills/iterm2)