- Home
- Skills
- Productivity
- Claude Code Tab Labels: Tell Your Terminals Apart
Works with the AI Agents you already use
Claude Code Tab Labels: Tell Your Terminals Apart
When you run several Claude Code sessions side by side, it's easy to forget which tab is doing what.
Free
Claude Code Tab Labels: Tell Your Terminals Apart
Example session with this skill installed
I always have 4-5 Claude Code terminals open and lose track of which one is doing what. Can you set up tab labels so each tab shows what it's working on right now?
- Read your context and instructions
- Compiled the claude code tab
Summary
Installed claude-tab-label. After a restart, each Claude Code tab is titled with its latest real prompt and a colour that stays fixed for the session.
What I ran
npx claude-tab-label init
backup: ~/.claude/settings.json.bak-20261127-041834
updated: ~/.claude/settings.json
installed: ~/.claude-tab-label/bin/cli.mjs
statusLine and UserPromptSubmit + SessionStart hooks registered
What changed
| Where | Before | After |
|---|---|---|
| Tab title | Title from your first prompt | 🟩 fix refund rounding test (latest prompt) |
| Status line | Ctx 18% · gh:work-account | New top row 🟩 payments · "fix refund rounding test", your old line underneath |
| settings.json | No hooks | UserPromptSubmit + SessionStart hooks, backup saved |
How labels are picked
- Each prompt replaces the label with its first line.
- Replies under 6 characters (
ok,yes) and slash commands keep the current label. /rename paymentsadds a fixed name in bold to the status line.
Next steps
- Restart Claude Code in each terminal. Titles update after your next prompt.
- If a title switches back to Claude Code's own, start it with
CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1. - To remove everything:
npx claude-tab-label uninstall.
Connects securely to your tools. The creator never sees your data.
About this skill
When you run several Claude Code sessions side by side, it's easy to forget which tab is doing what. Claude Code titles a session after its first prompt, but half an hour later that tab may be working on something else entirely.
This skill installs claude-tab-label, a small open-source CLI that keeps every tab labelled with its current task:
- Tab title: your latest real prompt behind a coloured square that stays the same for the whole session, e.g.
🟩 fix refund rounding test - Status line: the same colour, the session name (from
/rename) and the latest prompt, shown above your existing status line - Smart filtering: short replies like "ok" or "yes" and slash commands keep the current label
- Resume-aware: reopening a session restores its label
Why it's safe to try
- No API calls and no tokens used: it reads your prompt locally and sets the title
- Backs up
settings.jsonbefore any change, anduninstallrestores it exactly - Keeps your existing status line (including claude-gh-guard) running underneath
- Works on macOS, Linux and Windows. Node 18+, zero runtime dependencies, MIT licensed
Requires Node.js 18+. Only works in interactive Claude Code CLI sessions. May require CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 to prevent title flickering.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Node.js 18+Claude Code
On Windows, Git for Windows is recommended (Claude Code runs status line commands through Git Bash).
Permissions
File Scopes
Shell runs `npx claude-tab-label init/uninstall` (downloaded from npm). It edits Claude Code's settings.json (after a backup) to add the status line and hooks, and stores the latest prompt's first line per session in ~/.claude-tab-label/ (deleted after 14 days). Nothing is sent anywhere.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.