omp packages

pi-session-auto-rename0.1.5

Automatically names pi sessions with AI, with configurable naming model

egornomic Published 18 days ago MIT ~431 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-session-auto-rename

Auto-renames pi sessions using AI. The extension picks a short title from the first user message, and also provides commands to rename from full chat history and choose which model to use for naming.

Install

pi install npm:pi-session-auto-rename

Or from git:

pi install git:github.com/egornomic/pi-session-auto-rename

What it adds

  • Automatic naming when a session starts or after first assistant response
  • /name-ai command to rename from full conversation history
  • /name-ai-config command to show the current naming model and pick/set a new one (provider/model)

Example

User first message: "Design a migration plan for our billing schema"
→ Session name: "Billing Schema Migration Plan"

Notes

  • The extension uses your configured model keys in pi.
  • Selected naming model is persisted in ~/.pi/agent/extensions/pi-session-auto-rename.json, so it survives restarts and new sessions.
  • If no API key exists for the selected naming model, it shows a warning and keeps the current session name.