STRML

Cc Tab Titles — AI skill for Claude Code

AI community

Claude Code plugin: auto-sets terminal tab titles to AI-generated session summaries.

How to install Cc Tab Titles

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

What Cc Tab Titles does

Claude Code plugin: auto-sets terminal tab titles to AI-generated session summaries.

Alternatives in AI

  • Humanizer — A Claude Code skill that removes signs of AI-generated writing from text, making it sound more natural and hum 11.3k ★
  • Session Kit — Close the terminal windows, not the AI coding sessions 649 ★
  • Dinotty — Multi-device terminal server for AI coding agents 643 ★

README

cc-tab-titles

A Claude Code plugin that automatically sets your terminal tab title to an AI-generated summary of what you're working on.

**Before:** Every tab shows `Claude Code` **After:** Tabs show things like `Fixing sandbox hook exclusions` or `Building React dashboard`

How It Works

  • SessionStart hook — claims tab ownership and sets an initial [slug] new session title.
  • Stop hook — after each Claude response, generates a short [slug] objective summary using Haiku and sets the tab title via OSC escape sequences. Runs in the background so it doesn't block.
  • UserPromptSubmit hook — restores the saved title a moment after you submit a message, preventing Claude Code from resetting the title while it's thinking.

Pinning a Title with `/rename`

Run Claude Code's built-in `/rename ` and automatic Haiku titles stop overriding the tab until you `/rename` to a different value. Use this whenever you want a stable, hand-picked label.

  • In cmux, the renamed session is shown natively, so the plugin simply gets out of the way — it clears its own tab override and lets cmux display the name.
  • In other terminals, the rename value is applied to the tab title directly.

Installation

/plugin marketplace add STRML/cc-tab-titles
/plugin install cc-tab-titles@STRML

Restart Claude Code after installing.

Requirements

  • claude CLI in your PATH (used for Haiku summarization)
  • A terminal that supports OSC 0 title sequences (Ghostty, iTerm2, Terminal.app, most others)
  • python3 available

Configuration

Set these environment variables to customize behavior:

Variable Default Description
CC_TAB_TITLES_MODEL claude-haiku-4-5-20251001 Model for title generation
CC_TAB_TITLES_EFFORT low Effort level for the model
CC_TAB_TITLES_DEBUG (unset) Set to 1 for debug logging to /tmp/claude-tab-titles/debug.log

Platform Support

Works on both