astratagem/dotfield/terminal-title
Claude Code and agent skill by astratagem/dotfield
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install astratagem/dotfield/terminal-titleSKILL.md
name: terminal-title description: Automatically updates terminal window title to reflect the current high-level task. Use at the start of every Claude Code session when the user provides their first prompt, and whenever the user switches to a distinctly new high-level task. Helps developers manage multiple Claude Code terminals by providing clear, at-a-glance identification of what each terminal is working on. min_claude_code_version: "1.0.0" version: "1.2.0"
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.shscript 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"
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:
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:
Example workflow:
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).
Optional Customization
Users can optionally customize terminal titles with a prefix by setting the CLAUDE_TITLE_PREFIX environment variable:
This produces titles like: 🤖 Claude | Build: Dashboard UI
Without the prefix, titles remain in the standard format: Build: Dashboard UI
Note: You don't need to check for this variable or modify your behavior. The script handles this automatically.
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/users/cdom/config/claude/.claude/skills/terminal-title/SKILL.md
Popularity
- Repository stars
- 100
- Repository forks
- 3
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/astratagem/dotfield/terminal-title)