terminal-title
БесплатноЗапускает вложенные скриптыНе проверенThis skill should be used to update terminal window title with context. Triggers automatically at session start via hook. Also triggers on topic changes…
от aiskillstore★ 509 звёзд на GitHubОб этом скилле
Terminal Title Management
Overview
This skill updates the terminal window title to show current context:
- Work/fun emoji (from
$TERMINAL_TITLE_EMOJIenvironment variable) - Project name (intelligently detected by Claude)
- Current topic (what you're working on)
Format: 💼 ProjectName - Topic
CRITICAL: When to Invoke
MANDATORY invocations:
- Session start: Automatically triggered by SessionStart hook. Claude must respond by setting title to "Claude Code" as default topic.
- Topic changes: Claude MUST detect and invoke when user shifts to new topic.
Topic change patterns (Claude must detect these):
- ✅ "let's talk about X" / "can you tell me about Y" → invoke immediately
- ✅ User switches domains: debugging → documentation, frontend → backend, feature → tests
- ✅ User starts working on different module/component after sustained discussion
- ✅ User asks about completely unrelated topic after 3+ exchanges on current topic
- ❌ Follow-up questions on same topic ("add a comment to that function") → do NOT invoke
- ❌ Small refinements to current work ("make it blue") → do NOT invoke
- ❌ Clarifications about current task → do NOT invoke
Claude's responsibility: Actively monitor conversation flow and invoke this skill whenever topic materially shifts. Do not wait for explicit permission.
Example titles:
💼 Skills Repository - Terminal Title🎉 dotfiles - zsh config💼 OneOnOne - Firebase Config
Setup Requirements
Required Permission:
This skill runs scripts to update the terminal title. To prevent Claude from prompting for permission every time, add this to your ~/.claude/settings.json:
For Unix/Linux/macOS:
{
"permissions": {
"allow": [
"Bash(bash *skills/scripts/set_title.sh:*)"
]
}
}
For Windows:
{
"permissions": {
"allow": [
"Bash(pwsh *skills/scripts/set_title.ps1:*)"
]
}
}
Why this permission is needed: The skill executes a script that sends terminal escape sequences silently in the background to update your window title without interrupting your workflow.
Cross-platform support: The plugin includes both bash scripts (.sh) for Unix-like systems and PowerShell scripts (.ps1) for Windows. The SessionStart hook automatically detects your OS and uses the appropriate script.
Project Detection Strategy
Primary method: Claude's intelligence
Claude analyzes the current context to determine the project name:
- Current working directory and recent conversation
- Files read during the session
- Git repository information
- Package metadata (package.json, README.md, etc.)
- Overall understanding of what the project represents
Key principle: Use intelligent understanding, not just mechanical file parsing.
Detection examples:
/Users/dylanr/work/2389/skills→ "Skills Repository" (not just "skills")/Users/dylanr/work/2389/oneonone/hosting→ "OneOnOne"/Users/dylanr/dotfiles→ "dotfiles"/Users/dylanr/projects/my-app→ "My App" (humanized from directory)
Supporting evidence Claude checks:
- Git remote URL or repository directory name
package.jsonname field (Node.js projects)- First heading in README.md
- Directory basename (last resort)
Fallback: If Claude cannot determine context, use current directory name.
Always include project name - Claude can always determine something meaningful.
Title Formatting
Standard format:
$emoji ProjectName - Topic
Component details:
1. Emoji (from environment):
- Read from
$TERMINAL_TITLE_EMOJIenvironment variable - Set by zsh theme based on directory context
- Common values: 💼 (work), 🎉 (fun/personal)
- Fallback: Use 🎉 if variable not set
2. Project Name (from Claude's detection):
- Human-friendly name, not slug format
- Proper capitalization (e.g., "OneOnOne" not "oneonone")
- Always present (use directory name as minimum)
3. Topic (from invocation context):
- Short description of current work (2-4 words)
- Provided when skill is invoked
- Examples: "Terminal Title", "Firebase Config", "CSS Refactor"
Script usage:
bash scripts/set_title.sh "ProjectName" "Topic"
Note: The script automatically reads emoji from environment and handles terminal escape sequences.
Edge cases:
- No
$TERMINAL_TITLE_EMOJI: Use 🎉 as default - Very long project/topic: Let terminal handle truncation naturally
- Empty topic: Use "Claude Code" as default
Workflow
When Claude detects a topic change (or session start), immediately invoke this workflow:
Follow these steps to update the terminal title:
Step 1: Determine project name
Use Claude's understanding of the current codebase and context to determine the project name. Check:
- What you kno
Установить terminal-title в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл terminal-title?
This skill should be used to update terminal window title with context. Triggers automatically at session start via hook. Also triggers on topic changes during conversation (debugging to docs, frontend to backend). Updates title with emoji + project + current topic.
Как установить скилл terminal-title?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл terminal-title запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic