Naming Claude Code and Copilot Sessions After Their Project 0 ▲ Daniel Doubrovkine 52 minutes ago · Tech · hide I run a lot of Claude Code and GitHub Copilot CLI sessions in parallel, and both tools title a session with a summary of its first prompt. That’s fine until you have three sessions called something like “improve test sharding performance” and can’t tell which project any of them is about. So I made sessions name themselves after their project, with an emoji. I type “let’s add some emojis to our dotfiles” and get 🏠 dotfiles in either tool. Claude Code Claude Code hooks support this out of the box. A UserPromptSubmit hook receives the prompt, and if it prints hookSpecificOutput.sessionTitle, that becomes the session title, same as /rename. The hook also gets session_title when the session already has one, so it only renames on the first prompt and never overrides a manual /rename. { "hookSpecificOutput": { "hookEventName": "UserPromptSubmit", "sessionTitle": "🧪 testlanes" } } GitHub Copilot CLI Copilot CLI hooks can’t set a title; a userPromptSubmitted hook can only add context for the… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town