Skip to content

Commit 9fca1bc

Browse files
sturimcodeclaude
andcommitted
docs: reposition around name accuracy; scrub work-adjacent examples
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent f1ed25c commit 9fca1bc

8 files changed

Lines changed: 184 additions & 151 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@
44
"name": "sturimcode",
55
"url": "https://github.com/sturimcode"
66
},
7-
"description": "The claude-session-namer plugin, distributed from its own repository",
7+
"description": "Names Claude Code sessions more accurately and keeps the names accurate as the conversation changes.",
88
"plugins": [
99
{
1010
"name": "claude-session-namer",
1111
"source": "./",
12-
"description": "Auto-title Claude Code sessions - and re-title them when the conversation drifts",
13-
"version": "0.1.4",
12+
"description": "Names Claude Code sessions more accurately and keeps the names accurate as the conversation changes.",
13+
"version": "0.1.5",
1414
"author": {
1515
"name": "sturimcode",
1616
"url": "https://github.com/sturimcode"
1717
},
1818
"homepage": "https://github.com/sturimcode/claude-session-namer",
1919
"license": "MIT",
2020
"category": "productivity",
21-
"tags": ["sessions", "titles", "hooks"]
21+
"tags": [
22+
"sessions",
23+
"titles",
24+
"hooks"
25+
]
2226
}
2327
]
2428
}

.claude-plugin/plugin.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
33
"name": "claude-session-namer",
4-
"description": "Auto-title Claude Code sessions - and re-title them when the conversation drifts",
5-
"version": "0.1.4",
4+
"description": "Names Claude Code sessions more accurately and keeps the names accurate as the conversation changes.",
5+
"version": "0.1.5",
66
"author": {
77
"name": "sturimcode",
88
"url": "https://github.com/sturimcode"
99
},
1010
"homepage": "https://github.com/sturimcode/claude-session-namer",
1111
"repository": "https://github.com/sturimcode/claude-session-namer",
1212
"license": "MIT",
13-
"keywords": ["claude-code", "sessions", "titles", "hooks", "productivity"]
13+
"keywords": [
14+
"claude-code",
15+
"sessions",
16+
"titles",
17+
"hooks",
18+
"productivity"
19+
]
1420
}

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# claude-session-namer
22

3-
Automatically names your Claude Code sessions, and renames them when the conversation becomes something else.
3+
Keeps your Claude Code session names right - from first reply to last.
44

5-
Claude Code names sessions on its own, but the names are vague ("New session", "General coding session") and stay wrong once the work moves on. This fixes that: clear names, kept current, bucketed by project.
5+
Claude Code names each session once, early, with barely any context. The guesses are wrong as often as not, and they never change - a session that starts as a config question and becomes a three-hour refactor keeps its config-question name forever. A sidebar like that makes you open sessions just to find out what they are.
6+
7+
This tool names a session once there's something real to name, re-reads it as the work grows, and renames it when the name has stopped being true. It can also group sessions by project (`[API] Rate limiter fix`) and put a checkmark on sessions whose work is finished - both optional. The sidebar ends up readable at a glance: what each session is, which project it belongs to, whether anything in it is still open.
8+
9+
Names you set yourself are never touched.
610

711
## Install
812

@@ -39,7 +43,7 @@ Desktop app user? Run `claude-session-namer sidebar-setup` once and follow what
3943

4044
Wakeups are almost always free: the hook checks one number and exits. A model call only happens when a session is new or has grown a lot since the last check - whether the growth is your messages or agent activity - so even a very long session costs about 5 haiku calls total.
4145

42-
Titles look like `[Emails] SES bounce triage`. Prefixes are reused across sessions, so related work clusters in the sidebar. Prefer bare phrases? `claude-session-namer config prefix off`.
46+
Titles look like `[API] Rate limiter fix`. Prefixes are reused across sessions, so related work clusters in the sidebar. Prefer bare phrases? `claude-session-namer config prefix off`.
4347

4448
Haiku writes the titles by default, and for an eight-word phrase it is plenty. `claude-session-namer config model sonnet` switches if you want a sharper read of a messy conversation; a sonnet call costs about 3x a haiku one.
4549

package.json

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
{
22
"name": "claude-session-namer",
3-
"version": "0.1.4",
4-
"description": "Auto-title Claude Code sessions - and re-title them when the conversation drifts",
5-
"bin": { "claude-session-namer": "bin/cli.js" },
6-
"files": ["bin/cli.js", "src", "LICENSE"],
7-
"scripts": { "test": "node --test test/*.test.js" },
8-
"engines": { "node": ">=18" },
3+
"version": "0.1.5",
4+
"description": "Names Claude Code sessions more accurately and keeps the names accurate as the conversation changes.",
5+
"bin": {
6+
"claude-session-namer": "bin/cli.js"
7+
},
8+
"files": [
9+
"bin/cli.js",
10+
"src",
11+
"LICENSE"
12+
],
13+
"scripts": {
14+
"test": "node --test test/*.test.js"
15+
},
16+
"engines": {
17+
"node": ">=18"
18+
},
919
"license": "MIT",
10-
"repository": { "type": "git", "url": "https://github.com/sturimcode/claude-session-namer" },
11-
"keywords": ["claude-code", "claude", "sessions", "hooks", "productivity"]
20+
"repository": {
21+
"type": "git",
22+
"url": "https://github.com/sturimcode/claude-session-namer"
23+
},
24+
"keywords": [
25+
"claude-code",
26+
"claude",
27+
"sessions",
28+
"hooks",
29+
"productivity"
30+
]
1231
}

src/titler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ const MIN_WORD_CUT_INDEX = 20;
1111
const PROMPT_SIGNATURE = 'You title chat sessions between a developer and a coding assistant.';
1212

1313
const USE_PREFIX_EXAMPLES = [
14-
'[Emails] SES bounce rate investigation',
15-
'[Client Controls] Cascade validation rules',
14+
'[API] Rate limiter investigation',
15+
'[Webapp] Signup form validation',
1616
'KEEP',
1717
];
1818
const BARE_PHRASE_EXAMPLES = [
19-
'SES bounce rate investigation',
19+
'Rate limiter investigation',
2020
'Cascade validation rules',
2121
'KEEP',
2222
];

0 commit comments

Comments
 (0)