sorrycc

Session Namer — Development skill for Claude Code

Development community

Give every Claude Code session a real name, automatically.

How to install Session Namer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sorrycc/session-namer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Session Namer does

Give every Claude Code session a real name, automatically.

Alternatives in Development

  • Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
  • Claude Subconscious — Give Claude Code a subconscious 2.9k ★
  • Clawk — Give coding agents a disposable Linux VM, not your laptop 996 ★

README

session-namer

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.

Install

/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.

Configuration

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_N