● 社区
bluzername
⚡ 即开即用
Claude Code Terminal Title
作者 bluzername · bluzername/claude-code-terminal-title
Auto-updates terminal window titles with the current Claude Code task — stop guessing tabs.
A tiny but loved skill: it watches what Claude Code is doing and pushes a concise label into the terminal's window title. Multi-tab users finally know which is 'refactor billing' vs 'fix the staging deploy'.
为什么要用
核心特性
- Updates xterm window title via ANSI escape on every assistant turn
- Works in iTerm, Kitty, WezTerm, Ghostty, gnome-terminal
- Tmux pane title support
- Configurable label format
- Zero runtime cost
实时演示
实际使用效果
terminal-title-skill.replay
▶ 就绪
使用场景
实战用法: Claude Code Terminal Title
何时使用: You work on multiple repos simultaneously.
前置条件
- Server/skill installed and authenticated — See repo README
步骤
-
Install
Install bluzername/claude-code-terminal-title and reload Claude Code.✓ 已复制
→ Skill installed
-
Work
Start any task — observe the tab title update to the task summary.✓ 已复制
→ Tab title reads 'refactor billing — claude'
结果: Tabs you can actually tell apart.
注意事项
- Some terminals strip title escapes by default (tmux without
set-titles on). Enable in your tmux config. — Some terminals strip title escapes by default (tmux without set-titles on). Enable in your tmux config.
成本与限制
运行它的成本
- API 配额
- See provider docs for rate limits
- 每次调用 Token 数
- Varies by tool
- 费用
- See repo README for pricing details
- 提示
- Cache tool results and avoid repeated identical calls.
安全
权限、密钥、影响范围
凭据存储: Use environment variables; never commit secrets
数据出站: Tool calls go to the provider's API as documented
故障排查
常见错误与修复
title doesn't update in tmux
Add set -g set-titles on and set -g set-titles-string '#W' to tmux.conf.
验证: Reload tmux config
title shows escape codes
Your terminal doesn't support OSC titles. Switch to a modern terminal (iTerm/Kitty/WezTerm).
验证: echo -ne '\033]0;test\007'
替代方案
Claude Code Terminal Title 对比其他方案
| 替代方案 | 何时用它替代 | 权衡 |
| Manual tab renaming | You only have 2 tabs | Free; doesn't scale |