协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
terminal-title【开发与工程】Automatically updates the 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 wh…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Sets a descriptive terminal window title based on the task Claude is working on. Essential for developers running multiple Claude Code instances who need to identify which terminal handles which task.
Always trigger this skill:
Trigger on task switches like these:
Do NOT trigger for:
set_title.sh with the generated titleGood titles:
Displayed as (the script adds the folder prefix):
my-project | API Integration: Auth Flowmy-project | Fix: Login BugBad titles:
Format pattern:
[Action/Category]: [Specific Focus]
Keep titles concise, actionable, and immediately recognizable.
Run the script from the installed skill directory. The personal install path is shown; for a project install use .claude/skills/terminal-title/scripts/set_title.sh relative to the project root.
bash ~/.claude/skills/terminal-title/scripts/set_title.sh "Your Title Here"
Example workflow:
# User asks: "Help me debug the authentication flow in the API"
bash ~/.claude/skills/terminal-title/scripts/set_title.sh "Debug: Auth API Flow"
# User asks: "Create a React component for the user profile page"
bash ~/.claude/skills/terminal-title/scripts/set_title.sh "Build: User Profile UI"
# User asks: "Write tests for the payment processing module"
bash ~/.claude/skills/terminal-title/scripts/set_title.sh "Test: Payment Module"
scripts/set_title.sh writes the OSC 0 escape sequence to the controlling terminal (/dev/tty), falling back to stdout when no terminal is attached. It also stores the title in ~/.claude/terminal_title so shell hooks can re-apply it after each prompt. It is compatible with macOS Terminal.app, iTerm2, Alacritty, Kitty, and most xterm-compatible emulators (including tmux and screen).
The script takes one argument (the title) and exits silently when none is given.
Every title is prefixed with the current directory name (usually the repo name):
my-project | Build: Dashboard UI
another-repo | Debug: Auth API
Users can add a custom prefix through the CLAUDE_TITLE_PREFIX environment variable:
export CLAUDE_TITLE_PREFIX="Claude"
This produces titles like Claude | my-project | Build: Dashboard UI.
Note: You do not need to check these variables or change your behaviour. The script handles them.
hooks/set-title-hook.sh in this skill directory can be wired as a Claude Code UserPromptSubmit hook. It sets the title from the first line of every prompt without relying on this skill being invoked. See the project README for the settings snippet.