pi-zellij-tab-namer

Automatically renames the active Zellij tab to a short summary of the conversation after each agent turn, using a fast model for minimal overhead.

Package details

extension

Install pi-zellij-tab-namer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-zellij-tab-namer
Package
pi-zellij-tab-namer
Version
0.1.1
Published
Mar 13, 2026
Downloads
30/mo ยท 8/wk
Author
pierre-mike
License
MIT
Types
extension
Size
7.5 KB
Dependencies
0 dependencies ยท 1 peer
Pi manifest JSON
{
  "extensions": [
    "."
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

๐ŸชŸ Zellij Tab Namer

Automatically renames the active Zellij tab to a short summary of the conversation after each agent turn. Uses a fast model to generate a concise 3โ€“5 word label so you always know what each tab is doing at a glance.

Install

pi install npm:pi-zellij-tab-namer

Requirements

  • Zellij terminal multiplexer (auto-detected via ZELLIJ env var โ€” does nothing outside Zellij)

What it does

Event Action
Session start (existing session) Generates a label from existing history
Agent turn ends Schedules a rename based on the latest conversation
Session shutdown Resets the tab name via zellij action undo-rename-tab

Renames are debounced so rapid successive turns don't spam the Zellij API.

How it works

After each turn, the extension passes the last few conversation entries to a fast/cheap model and asks it for a 3โ€“5 word label. The label is then written to the active Zellij tab via the zellij action rename-tab command.