iterm2

iterm2 is a skill for Claude Code, Codex from julianobarbosa/claude-code-skills. It costs 43 tokens per session (1,162 once invoked), scanned A, original, MIT.

A reference guide for iTerm2, a macOS terminal app, and tmux, a tool for keeping terminal sessions and panes organized.

In plain words
What is it for?
Use it to split and navigate terminal panes, configure tmux, attach to or detach from sessions, and troubleshoot tmux problems.
Why use it?
It helps explain terminal shortcuts and provides workflows for setting up, using, and fixing tmux sessions inside iTerm2.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to split and navigate terminal panes, configure tmux, attach to or detach from sessions, and troubleshoot tmux problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/julianobarbosa/claude-code-skills/iterm2
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add julianobarbosa/claude-code-skills --skill iterm2
Clone the repo
git clone --depth 1 https://github.com/julianobarbosa/claude-code-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for iterm2

README.md
[![agentmods](https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/iterm2/github.svg)](https://agentmods.dev/skills/julianobarbosa/claude-code-skills/iterm2)
Your own site
<a href="https://agentmods.dev/skills/julianobarbosa/claude-code-skills/iterm2"><img src="https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/iterm2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for iterm2

Your own site · 80×15
<a href="https://agentmods.dev/skills/julianobarbosa/claude-code-skills/iterm2"><img src="https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/iterm2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,162 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01162
Opus 5 $0.00022 $0.00581
Sonnet 5 $0.00009 $0.00232
Haiku 4.5 $0.00004 $0.00116

Measured 9d ago against content hash 558477cca845, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

iterm2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/iterm2/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  1. Call the notification script (for observability tracking):

    ~/.claude/Tools/SkillWorkflowNotification WORKFLOWNAME Iterm2
    
  2. 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

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 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

Read the full file on GitHub · 117 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 117 lines · 43 tokens per session scan A 558477cca845

Subscribe to this mod's changes

iterm2 is a skill published in the GitHub repository julianobarbosa/claude-code-skills (10 stars, last pushed 13d ago), licensed MIT. It adds 43 tokens to every session and 1,162 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.