← Catalog

pi-session-auto-rename

Automatically names pi sessions with AI, with configurable naming model

Extension

Install

Install with PiG

pig install npm:pi-session-auto-rename

Install with Pi

pi install npm:pi-session-auto-rename
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 0.1.5 (README.md). PiG does not review it.

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.