Works with the AI Agents you already use

    Claude Code Tab Labels: Tell Your Terminals Apart

    by Seunghoon Jung

    1

    When you run several Claude Code sessions side by side, it's easy to forget which tab is doing what.

    Free

    Security scanned
    Claude Code Tab Labels: Tell Your Terminals Apart

    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

    WhereBeforeAfter
    Tab titleTitle from your first prompt🟩 fix refund rounding test (latest prompt)
    Status lineCtx 18% · gh:work-accountNew top row 🟩 payments · "fix refund rounding test", your old line underneath
    settings.jsonNo hooksUserPromptSubmit + 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 payments adds 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.
    settings.json

    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.json before any change, and uninstall restores 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Write Files
    Network Access
    Terminal / Shell
    Read Files

    File Scopes

    ~/.claude/settings.json
    ~/.claude-tab-label/**

    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.

    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill automates terminal title updates and status line enhancements, solving the 'tab overload' problem where multiple Claude Code sessions look identical in your terminal. It adds session-specific colors and task-based labels so you can identify the right window at a glance.

    This skill is built exclusively for the Claude Code CLI environment. It is not compatible with IDE extensions like Cursor or GitHub Copilot, and it requires Node.js 18+ to run the labeling engine.

    The setup process is automated; once triggered, the skill modifies your Claude Code `settings.json` to register the necessary terminal sequence hooks. It handles the complex regex injection required to wrap status lines without you needing to manually edit configuration files.

    Yes, the skill is compatible with standard SSH and tmux environments, though you may need to ensure your server-side configurations allow for terminal title escape sequences to see the labels correctly.

    The skill includes a smart filter that ignores short responses (like 'yes' or 'done') and slash commands. It specifically pulls the first line of your actual task prompts to ensure your tab labels remain descriptive and relevant.

    Your purchase includes the full automation skill, the underlying `claude-tab-label` utility, and the pre-configured terminal hooks. You also receive documentation on customizing label thresholds and color settings via environment variables.

    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.

    Free