@therynamo/pi-auto-session-name
Pi extension that auto-generates a short working title for each session based on the conversation
Package details
Install @therynamo/pi-auto-session-name from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@therynamo/pi-auto-session-name- Package
@therynamo/pi-auto-session-name- Version
0.1.0- Published
- May 22, 2026
- Downloads
- not available
- Author
- therynamo
- License
- unknown
- Types
- extension
- Size
- 1.4 MB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
],
"image": "https://raw.githubusercontent.com/therynamo/pi-auto-session-name/main/static/screenshot.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-auto-session-name
Automatically generate a short working title for your Pi sessions based on the conversation.
When you start a new session and finish your first turn, this extension asks the session model to summarize the conversation into a concise, specific title — so your sessions are always named after what you actually did instead of staying as "New Session".

Usage
Install
# From git (unpinned — updates with `pi update --extensions`)
pi install git:github.com/therynamo/pi-auto-session-name
# Pin to a tag
pi install git:github.com/therynamo/pi-auto-session-name@v0.1.0
# Local development
pi install /Users/theryngroetken/dev/pi-auto-session-name
Controls
No manual controls needed — the extension fires automatically after the first assistant response. You can still rename the session manually at any time afterward.
How it works
- After the first turn completes (the agent has responded), the extension collects the user's messages from the conversation
- It sends a prompt to the session's current model asking for a short, specific title (max 60 characters)
- The generated title is set as the session name via
pi.setSessionName() - This only runs once per session — subsequent turns are unaffected, and manual renaming always works
