terminal-title

Automatically sets descriptive terminal window titles based on the task Claude is working on. Essential for developers running multiple Claude Code instances who need to quickly identify which terminal is handling which task.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "terminal-title" with this command: npx skills add bluzername/claude-code-terminal-title/bluzername-claude-code-terminal-title-terminal-title

Terminal Title

Overview

Automatically sets descriptive terminal window titles based on the task Claude is working on. Essential for developers running multiple Claude Code instances who need to quickly identify which terminal is handling which task.

When to Use

Always trigger this skill:

  • At the start of every new Claude Code session (after receiving the first user prompt)

  • When switching to a substantially different task (e.g., from "API Integration" to "Database Migration")

Trigger on task switches like these:

  • Switching from frontend work to backend work

  • Moving from debugging to new feature development

  • Changing from one module/component to a completely different one

  • Starting work on a different part of the system (e.g., from auth to payments)

Do NOT trigger for:

  • Follow-up questions about the same task ("Can you add a comment to that function?")

  • Small refinements to current work ("Make it blue instead of red")

  • Debugging the same feature you just built

  • Clarifications ("What did you mean by X?")

  • Iterating on the same component or module

  • Mid-task status updates or progress checks

How It Works

  • Extract Task Summary: Analyze the user's prompt to identify the high-level task

  • Generate Title: Create a concise, descriptive title (max 40 characters)

  • Set Title: Execute the scripts/set_title.sh script with the generated title

  • No Confirmation Needed: This happens automatically in the background

Title Format Guidelines

Good titles:

  • "API Integration: Auth Flow"

  • "Fix: Login Bug"

  • "DB Migration: Users Table"

  • "Build: Dashboard UI"

  • "Refactor: Payment Module"

Displayed as (with automatic folder prefix):

  • my-project | API Integration: Auth Flow

  • my-project | Fix: Login Bug

Bad titles:

  • Too long: "Implementing the new authentication system with OAuth2.0 support" (exceeds 40 chars)

  • Too generic: "Working" or "Coding"

  • Too verbose: "The user wants me to help them with..."

Format pattern:

[Action/Category]: [Specific Focus]

The script automatically prefixes titles with the current directory name (usually the repo name) for easy identification across multiple terminals.

Keep titles concise, actionable, and immediately recognizable.

Common Mistakes to Avoid

❌ Too Verbose:

  • Bad: "Working on implementing the user authentication system with JWT tokens"

  • Good: "Build: JWT Auth"

❌ Too Vague:

  • Bad: "Code stuff"

  • Bad: "Working"

  • Good: "Refactor: API Layer"

❌ Including System Information:

  • Bad: "john-macbook-pro: Debug app"

  • Bad: "/Users/john/project: Build feature"

  • Good: "Debug: App Issues"

❌ Using Complete Sentences:

  • Bad: "I am working on the dashboard component"

  • Good: "Build: Dashboard UI"

Implementation

Execute the title script:

bash scripts/set_title.sh "Your Title Here"

Example workflow:

User asks: "Help me debug the authentication flow in the API"

bash scripts/set_title.sh "Debug: Auth API Flow"

User asks: "Create a React component for the user profile page"

bash scripts/set_title.sh "Build: User Profile UI"

User asks: "Write tests for the payment processing module"

bash scripts/set_title.sh "Test: Payment Module"

Script Details

The scripts/set_title.sh script uses ANSI escape sequences to set the terminal title. It's compatible with:

  • macOS Terminal

  • iTerm2

  • Alacritty

  • Most modern terminal emulators (xterm, rxvt, screen, tmux)

The script accepts a single argument (the title string) and exits silently if no title is provided (fail-safe behavior).

Automatic Directory Prefix

The script automatically prefixes all titles with the current directory name (usually the repo/project name). This makes it easy to identify which project each terminal is working on:

my-project | Build: Dashboard UI another-repo | Debug: Auth API

Optional Custom Prefix

Users can optionally add an additional custom prefix by setting the CLAUDE_TITLE_PREFIX environment variable:

export CLAUDE_TITLE_PREFIX="🤖"

This produces titles like: 🤖 my-project | Build: Dashboard UI

Note: You don't need to check for these variables or modify your behavior. The script handles this automatically.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

terminal-title

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated