JCPetrelli

Tab Tag — Development skill for Claude Code

Development community

A Claude Code mod: a colour and a one- or two-word name for every session's iTerm2 tab.

How to install Tab Tag

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JCPetrelli/tab-tag and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tab Tag does

A Claude Code mod: a colour and a one- or two-word name for every session's iTerm2 tab.

Alternatives in Development

  • Working Memory — This is your working memory 192 ★
  • Tuimux — A terminal multiplexer for TUI apps 31 ★
  • Claude Auto Handoff — Claude Code mod: hand a long session off to a fresh one with a structured brief, instead of auto-compacting 24 ★

README

tab-tag

[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

A [Claude Code](https://claude.com/claude-code) mod that gives every session's [iTerm2](https://iterm2.com) tab its own colour and a one- or two-word name, so you can tell five open sessions apart without clicking through them.

![Five identical tabs get a colour each, then a name from the first prompt](docs/demo.gif)

What it does

When What happens to the tab
A session starts It gets a random colour from a palette of twelve, and the name of the folder you started in
You send the first prompt It is renamed to one or two uppercase words for what the prompt is about, for example CHECKOUT TESTS
The first prompt is a slash command The command's name becomes the tab name: /release-notes gives RELEASE NOTES
The first prompt is a GitHub link and nothing else The repository names the tab, with the issue or pull request number when there is room: BRICKWISE 42
The first prompt is any other link and nothing else The tab keeps the folder's name until the turn ends, then it is named from what Claude read behind the link
You run /tab HOTFIX The tab is named HOTFIX
You run /tab with no words The tab is named again from the last prompts of the conversation
You resume a session It gets back the colour and the name it had
You run /clear The colour stays, and the next prompt names the tab again
The session ends The tab goes back to iTerm2's default colour and title

A tab is named once. Later prompts do not rename it, so the name does not change while you work. Use `/tab` when the subject changes.

Requirements

  • macOS with iTerm2. In any other terminal the mod does nothing.
  • A Claude Code version with mods (plugins of function hooks). Tested with 2.1.294.

Install

claude plugin marketplace add JCPetrelli/tab-tag
claude plugin install tab-tag@tab-tag

Start a new session in iTerm2