← Catalog

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

Extension

Install

Install with PiG

pig install npm:@battlelamb/pi-titlewise

Install with Pi

pi install npm:@battlelamb/pi-titlewise
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.1 (README.md). PiG does not review it.

pi-titlewise

Pi extension that names your sessions.

  • Auto-rename: on a fresh session (/new or a new start), the first real message gets a title like Fix 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