Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sorryccv0.4.0MITIn 1 marketplace
Names each Claude Code session from its conversation with one model call, so /resume lists readable titles. Hooks run on every prompt and at session start, sending the conversation to the claude CLI and never overwriting a /rename name; needs jq on PATH.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
session-naming, auto-rename, resume, hooks, conventional-commits, session-management, session, rename
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Give every Claude Code session a real name, automatically.
Claude Code lists sessions by id and first message, which makes /resume a
guessing game. This plugin names each session with a single model call on the
conversation so far, so your session list reads like a changelog:
0904 fix: login token lost on refresh
0904 feat: 添加会话自动命名钩子
0903 refactor: batch text rendering
The default format is MMDD type: summary. The date is the day the session
started. The type is one of feat, design, fix, refactor, release, explore,
docs, research, chore. The summary is written in the language you write in:
at most 6 words in English, or 10 characters in Chinese or Japanese. Any other
convention can be configured, see below.
/plugin marketplace add sorrycc/session-namer
/plugin install session-namer@session-namer
Update later with /plugin update.
Requires jq and the claude CLI on your PATH. Under QoderCLI the
qodercli CLI is used instead, automatically; see below.
Everything is optional. Out of the box you get the format shown above.
| Variable | Default | Purpose |
|---|---|---|
SESSION_NAMER_FORMAT | built-in | Naming convention, written as prose for the model |
SESSION_NAMER_MODEL | sonnet, or Efficient under QoderCLI | Model that writes the name |
SESSION_NAMER_DISABLE | unset | Set to any value to turn the plugin off |
SESSION_NAMER_CLAUDE_BIN | claude, or qodercli under QoderCLI | CLI used to write the name, looked up on PATH |
SESSION_NAMER_MAX_RENAMES | 3 | How many times the plugin may name one session |
SESSION_NAMER_MAX_TURNS | 20 | Stop trying to name a still-unnamed session after this many turns |
SESSION_NAMER_RECHECK_EVERY | 5 | Once named, reconsider the name every this many turns |
SESSION_NAMER_DEBUG | unset | Set to any value to log every run to $TMPDIR/session-namer.log |
The convention is resolved in this order: SESSION_NAMER_FORMAT, then a
per-project file, then the built-in default.
Set variables under env in your settings.json:
{
"env": {
"SESSION_NAMER_FORMAT": "Format: <area>: <what changed>, in English, max 6 words, lowercase."
}
}
For a per-project convention, write it to .claude/session-name.md:
Format: [TICKET] short imperative title in English, max 8 words.
Use [NOJIRA] when no ticket is mentioned.
Those two examples produce, respectively:
api: add rate limiting to public endpoints
[NOJIRA] Migrate billing cron to new scheduler
Nothing to configure. The plugin recognises QoderCLI from the environment it
gives its hooks, calls qodercli (or qoderclicn, the CN edition) instead of
claude, and asks the Efficient tier for the name. If that tier is not in
your account's catalog, the call is retried with your default model.
qodercli --list-models shows the tiers; set SESSION_NAMER_MODEL to use
another one.
The per-project file is read from .qoder/session-name.md, with .claude/
as a fallback. QoderCLI has no env block in its settings.json, so to set
any of the variables above put them in .qoder/.env in the project or in
~/.qoder/.env:
SESSION_NAMER_MODEL=Lite
The plugin registers two async hooks, so the model call never blocks your turn:
UserPromptSubmit names the session as the conversation takes shape.SessionStart covers resumed sessions, using the existing transcript.A session's title is the last {"type":"custom-title"} line in its transcript.
Appending one renames the session, which is the same mechanism /rename uses.
A name you set with /rename is never overwritten.
The only network call is the model request. It runs claude -p, or
qodercli -p under QoderCLI, in a bare configuration: a short system prompt
of its own, no tools, no MCP servers, and no saved session, so it costs a few
hundred tokens and never shows up in /resume. It carries up to the first
three and last three user turns, capped at 2000 characters, plus the current
title and your convention.
SESSION_NAMER_RECHECK_EVERY
turns the name is reconsidered, and if the work has clearly moved on it is
upgraded, up to SESSION_NAMER_MAX_RENAMES times. A name that still fits is
left alone.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub sorrycc/session-namer --plugin session-namerPlugins from other owners that cover similar ground