/sessions:name [optional hint about what this session is really about]from Sessions
Distill the current session into a short, searchable name and hand back the exact /rename command to apply it. Use when the user asks to name or rename this session, wants to find this conversation again later, or asks for help organizing sessions.
Ships in Sessions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produce one name the user can find this session by, weeks from now, among dozens
of others. You cannot rename the session yourself — there is no tool for it, and
/rename only works when the user types it. Your deliverable is the name
plus the ready-to-paste command. Never claim the session was renamed.
The session picker (/resume, claude --resume) displays, per session: the
name, a summary, time since last activity, the git branch, and the
project path. So the name must not waste words repeating any of that:
The name carries the one thing the picker cannot infer: intent + object — what the user was trying to accomplish, on what.
From the conversation (and $ARGUMENTS, if given — it overrides your reading):
Rules, in priority order:
kebab-case, 2–5 words, ≤ 40 chars. Kebab-case makes it a shell-safe
resume handle: claude --resume auth-token-refresh needs no quotes.
Front-load the distinguishing term. Pickers truncate; search matches
prefixes. token-refresh-auth-flow beats implement-new-auth-flow-tokens.
Pick the shape by session type:
| Session type | Shape | Example |
|---|---|---|
| Feature / build | <object>-<capability> | session-naming-skill |
| Bug / debugging | <symptom>-<component> | login-500-token-expiry |
| Research / decision | <topic>-<question> | queue-vs-cron-tradeoff |
| Review | review-<subject> | review-payment-retries |
| Recurring / ops | <system>-<routine> | staging-deploy-friday |
Ban the filler words: fix, help, work, task, session, claude, new, misc, stuff, wip, update, changes. Each says nothing that distinguishes this session from any other.
Avoid prefix collisions. claude --resume matches names by search; if
the user likely has sibling sessions (api-auth, api-rate-limit), make
the first word the differentiator, not the shared prefix.
Output exactly this structure:
The recommended name, with one line on why it will be findable.
Up to two alternatives only if they capture a genuinely different framing — not spelling variations.
The command, ready to paste:
/rename <recommended-name>
One line on retrieval, so the name pays off: claude --resume <name> jumps
straight back; /resume searches by name; in the picker, Ctrl+R renames
without entering; on claude.ai and the desktop app, edit the title in the
sidebar (syncs to the CLI on v2.1.221+).
If the session pivots to a different goal later, the user can re-invoke this skill — a name that described the plan but not the outcome is the failure mode this skill exists to prevent.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jr-jesse123/claude-tookit --plugin sessionsOther plugins' skills for the same job