Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By JasperSuiv0.5.0MIT
Marks each iTerm2 tab with the state of its Claude Code session, flashing when it needs your permission or an answer. A SessionStart hook runs a bootstrap script that installs a Python iTerm2 adapter on first session.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
iterm2, terminal, tab-status, notifications, session-monitoring, permission-prompts, status-indicator, tab ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
See what every Claude Code session is doing. Each iTerm2 tab shows a status prefix. ⚡ running, 💤 idle, or 🔴 needs attention (with flashing).

In Claude Code, register the marketplace first:
/plugin marketplace add JasperSui/jaspersui-marketplace
Then install the plugin from this marketplace:
/plugin install iterm2-tab-status@jaspersui-marketplace
On first session start, the plugin automatically:
After the first session, restart iTerm2 (or toggle Scripts → AutoLaunch → claude_tab_status.py twice).

To update to the latest release:
claude plugin update iterm2-tab-status@jaspersui-marketplace
This re-fetches the plugin and installs the newest version on its own — you do not need to run /plugin marketplace update first (that only refreshes the catalog listing). After updating, restart the iTerm2 adapter (close and reopen iTerm2, or toggle Scripts → AutoLaunch → claude_tab_status.py) so it picks up any adapter-side changes.
See CHANGELOG.md for what's in each release.
If auto-bootstrap didn't work, run:
/iterm2-tab-status:setup
Run in Claude Code:
/iterm2-tab-status:uninstall
Then remove the plugin:
claude plugin uninstall iterm2-tab-status
| State | Prefix | Tab Color | Badge | Dismiss on Focus |
|---|---|---|---|---|
| Running — Claude is processing | ⚡ | No change | No | No |
| Idle — Claude finished | 💤 | No change | No | No |
| Attention — needs permission or an answer | 🔴 | Flashes orange | Yes | Yes |
Lifecycle: User submits → ⚡ → Claude finishes → 💤 → User submits → ⚡ → Claude needs permission or asks a question → 🔴 flash! → User focuses → cleared
Your original tab color, title, and badge are saved and restored.
Prefer the prefix/badge without the color flash? Set "flash_enabled": false — the badge and notification still fire, just no tab-color flash. It's hot-reloaded, so toggling it off also stops a flash that's already in progress.
Claude Code hooks → JSON signal file → iTerm2 adapter → tab status
No screen scraping. Claude Code's official hooks API writes a signal file on every event. The unified hook handles UserPromptSubmit (→ running), Notification (→ idle/attention), and the AskUserQuestion tool via PreToolUse/PostToolUse/PostToolUseFailure (question shown → attention; answered → running; cancelled or timed out → idle). The iTerm2 adapter polls for signal files and sets the matching tab's prefix, color, and badge by TTY. Only the attention state flashes and shows a badge — running and idle are informational prefixes that persist.
The easiest way to configure is with the slash command in Claude Code:
/iterm2-tab-status:config
This opens an interactive prompt to change flash color, prefixes, badge, notifications, and more.
Settings are stored in ~/.config/claude-tab-status/config.json. Example with all keys and their defaults:
{
"dir": "~/.cache/claude-tab-status",
"color_r": 255,
"color_g": 140,
"color_b": 0,
"interval": 0.6,
"flash_enabled": true,
"prefix_running": "⚡ ",
"prefix_idle": "💤 ",
"prefix_attention": "🔴 ",
"display_target": "title",
"subtitle_activity_source": "off",
"badge": "⚠️ Needs input",
"badge_enabled": true,
"notify": false,
"sound": "",
"signal_max_age": 1800
}
The config file is hot-reloaded — changes take effect within ~1 second, no restart needed.
Settings are resolved in this order (highest wins):
export CLAUDE_ITERM2_TAB_STATUS_COLOR_R=255)~/.config/claude-tab-status/config.json)Environment variables are useful for CI or per-machine overrides without touching the config file.
By default, status is shown as a tab title prefix.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (jaspersui/claude-code-iterm2-tab-status) — no native marketplace selected
npx claudepluginhub p/jaspersui-iterm2-tab-statusPlugins from other owners that cover similar ground