npx claudepluginhub leepokai/claude-session-retitleNames unnamed sessions right away and renames a session when the work drifts from its title.
Keeps a Claude Code session's title on the task it is actually working on, so you never have to type /rename.
On every prompt you send, Haiku compares the prompt and the recent conversation with the current title:
| The session | What happens |
|---|---|
| has no title | It gets one right away, unless neither the message nor a worktree or branch name points to a task |
| is still on the same goal | The title stays, including for "ok", follow-ups, fixes and tests |
| has moved to a different goal or deliverable | It gets a new title |
Titles are lowercase English kebab-case, like fix-stripe-webhook-retry, whatever language you write in. In a linked worktree or on a feature branch, the title can reuse that name: saying "hi" on feat/auth-refactor names the session auth-refactor.
The title updates live in the prompt bar, the terminal tab and /resume.
At the prompt of a terminal session:
/plugin install session-retitle --marketplace leepokai/claude-session-retitle
Answer y to add the marketplace, then choose a scope. From a shell:
claude plugin install session-retitle --marketplace leepokai/claude-session-retitle
To remove it, run claude plugin uninstall session-retitle.
The plugin is one UserPromptSubmit hook that returns sessionTitle, the same effect as /rename. It calls Haiku inside the running session through $.model.complete, so it starts no claude -p process and loads none of your other hooks or CLAUDE.md files. It reads the worktree and branch with git rev-parse.
/rename title stays until the work moves on, then it is replaced. A title in any other format counts as no title and is replaced on your next prompt.claude -p runs, scheduled wakeups, task notifications and blocked prompts make no title call.claude --plugin-dir . # run a session with the plugin loaded
claude plugin test . # run the tests
claude plugin validate . # check the manifest and module
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.