@battlelamb/pi-titlewise
Auto-names Pi sessions and suggests multi-style titles with /titlewise. Picks with Jev when configured, falls back to the first valid candidate otherwise.
Package details
Install @battlelamb/pi-titlewise from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@battlelamb/pi-titlewise- Package
@battlelamb/pi-titlewise- Version
1.0.1- Published
- Nov 6, 2026
- Downloads
- 493/mo · 31/wk
- Author
- battlelamb
- License
- MIT
- Types
- extension
- Size
- 58.8 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-titlewise
Pi extension that names your sessions.
- Auto-rename: on a fresh session (
/newor a new start), the first real message gets a title likeFix login redirect loop - 2026-11-06. A final title is set at shutdown. Resumed sessions and names you set yourself are never overwritten. /titlewise [topic]: shows title suggestions in several styles (English/long/suffix and more). It never renames; apply one with/name.
Install
pi install npm:@battlelamb/pi-titlewise
Works with or without Jev
Auto-rename, /titlewise, the title checks and shutdown refresh behave the same either way; only the final pick differs.
Jev (optional)
If the typesafe provider is logged in (pi auth print-api-key --provider typesafe succeeds), Jev picks the best candidate. Without it, the first valid candidate is used. Nothing else changes. See SECURITY.md for exactly what is sent.
Notes
- Candidates are always generated with your current active model. Jev (if configured) only picks among them; without Jev the first valid candidate is used. Small local reasoning models can be slow or miss the JSON format; a non-reasoning model of 4B+ works best.
- Only a short generated synopsis and candidate titles go to Jev, never the raw transcript.
- To customise prompts, install your own skill at
~/.agents/skills/titlewise/SKILL.md; it overrides the bundled one. - Based on claude-code-conversation-titler (MIT).
Test
npm test