@dtmirizzi/pi-herdr-summarizer1.2.1
Auto-name herdr workspaces using AI summaries based on pi session context
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.
Reports 0
No reports yet.
Readme
@dtmirizzi/pi-herdr-summarizer
Auto-name herdr workspaces using AI summaries. Reads your pi session to understand what you're working on, then asks an LLM for a short, descriptive label (1–3 words).
Install
pi install dtmirizzi/pi-herdr-summarizer
Or add to ~/.pi/agent/settings.json:
{
"packages": ["git:github.com/dtmirizzi/pi-herdr-summarizer"]
}
Usage
Run /herdr-summarize from pi (inside herdr) to auto-name all workspaces.
Or let the LLM call it:
summarize my herdr workspaces
API key
Supports any of these environment variables (tried in order):
- Pi's configured models (OpenRouter, Anthropic, or OpenAI)
OPENROUTER_API_KEYANTHROPIC_API_KEYOPENAI_API_KEY
Falls back to the directory name if no API key is available.
How it works
- Calls
herdr api snapshotto discover workspaces - Reads the pi session file for each workspace to find what you're working on
- Sends the task context to an LLM with a prompt to summarize in 1–3 words
- Renames the herdr workspace via its socket API
License
MIT