terminal-title

Update terminal window titles to reflect current Claude Code tasks.

8|4|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/Jst-Well-Dan/Skill-Box --skill terminal-title-jst-well-dan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-title
Source: https://github.com/Jst-Well-Dan/Skill-Box/tree/main/no-code-builder/terminal-title
Command: npx skills add https://github.com/Jst-Well-Dan/Skill-Box --skill terminal-title-jst-well-dan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automatically updates terminal window titles to reflect the current high-level Claude Code task, helping you stay oriented when juggling multiple sessions.

Core Features & Use Cases

  • Automatic title extraction from the current task summary.
  • Title formatting with a max length and optional prefix.
  • Script-driven implementation that runs at the start of a session or on task switches.

Quick Start

Trigger the terminal title script at session start to set a descriptive title for your current task.

Frequently Asked Questions about terminal-title

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically update terminal titles for Claude Code sessions?

Terminal title updates happen automatically at session start and when switching tasks. The Skill extracts your current task summary, formats it with optional prefix and length limits, and emits ANSI escape sequences to set the window title, helping you track multiple Claude Code sessions clearly.

Can I customize the terminal title format in Claude Code?

Yes. The Skill enforces a maximum title length, optionally applies a CLAUDE_TITLE_PREFIX environment variable, and persists titles to ~/.claude/terminal_title. Configure the prefix to standardize how your terminal titles appear across sessions.

Does terminal title work with all terminal emulators?

The Skill emits ANSI escape sequences compatible with common terminals. Most modern terminal emulators—including macOS Terminal, iTerm2, Linux terminals, and Windows Terminal—support this standard, though older or minimal terminals may not display the title update.

When should I use terminal titles to organize Claude Code work?

Use terminal titles when managing multiple concurrent Claude Code sessions working on different tasks. Titles help you quickly identify which terminal is handling frontend work, backend work, or other distinct task areas without reading session logs.

How does the Skill sanitize and persist terminal titles?

The script sanitizes input to prevent injection attacks, enforces maximum length constraints, and saves the formatted title to ~/.claude/terminal_title for persistence. This ensures titles remain safe, readable, and recoverable across terminal restarts.