Extensions and prompt templates for pi.
| Extension | Description |
|---|---|
| auto-name-session | Auto-names sessions after the first completed exchange using the cheapest model |
| confirm-rm | Confirms before any rm command |
| context | Shows loaded extensions, context files, and token/cost usage |
| exa | Adds Exa-powered web search, answers, and research tools |
| ext-prof | Profiles extension handler execution time |
| files | Lists git-tracked and session-referenced files with quick actions |
| memory | Persists agent learnings across sessions — reflect, ruminate, dream, and named brains |
| notify | Sends desktop notifications via OSC 777 when the agent finishes |
| session-breakdown | Shows usage stats, cost by model, and a calendar graph |
| slop-scan | Adds a slop_scan checkpoint tool and /slop-scan command for JS/TS slop analysis |
| subagent | Delegates tasks to isolated subagents — single, parallel, or chained |
| tldraw-desktop | Reads and manipulates tldraw desktop canvases |
| Skill | Purpose |
|---|---|
| memory-ingest | Deterministically ingest URLs, local paths, repos, datasets, and pasted text into ~/.pi/memories/raw/, then compile them into curated notes under ~/.pi/memories/ |
| Template | Slash command |
|---|---|
| implement.md | /implement |
| implement-and-review.md | /implement-and-review |
| scout-and-plan.md | /scout-and-plan |
| simplify.md | /simplify |
| test-checklist.md | /test-checklist |
pi install /path/to/pi-extensionsOr in ~/.pi/agent/settings.json:
{
"packages": ["/path/to/pi-extensions"]
}All extensions and prompt templates load automatically. Use pi config to enable or disable individual resources.
Run tests:
cd confirm-rm && npm test
cd exa && npm test
cd ext-prof && npm test
cd memory && npm test
cd slop-scan && npm test
cd tldraw-desktop && npm testSkills live under ./skills/ and are packaged with the repository. For example, /skill:memory-ingest <input> writes markdown artifacts to ~/.pi/memories/raw/ and then updates curated notes in ~/.pi/memories/.
The memory extension defaults to the main brain at ~/.pi/memories.
Global brain config lives at ~/.pi/memory-config.json.
Example commands:
/memory brain create poe
/memory brain map /Users/brian/code/poe poe
Hot-reload in a running session:
/reload
context,files,notify, andsession-breakdownare forked from mitsuhiko/agent-stuff by Armin Ronacherconfirm-rmis based on thepermission-gateexample in pimemoryis inspired by brainmaxxing by Lauren Tantldraw-desktopconnects to tldraw desktop by tldraw
MIT