$ cat ~/map/pi-kit.md
pi-kit
Community grab-bag of guardrails, workflow tools, and integrations for the pi coding agent.
extensions✓ Oct 16
Facts
- repository
- github.com/butttons/pi-kit ↗
- GitHub Stars
- ★ 36
- Forks
- 1
- license
- —
- npm / mo
- —
- last push
- Sep 15, 2026
install
pi install git:github.com/butttons/pi-kit## TL;DR
A personal pi kit of extensions, skills, and one theme — safe-delete guards against destructive bash, /fold collapses history into a digest, plus plan mode, session recall, and provider integrations, installable wholesale or cherry-picked.
## Key points
- $Keeps only what is pi-specific: universal harness-agnostic skills (git workflows, obi, playwright-cli, dora, exe-dev) live in the separate agents.dotfiles repo and are loaded directly by every harness.
- $Cherry-pick resources by listing extensions, skills, and themes under the git package source in ~/.pi/agent/settings.json (or .pi/settings.json per project) — omit a key to load all of that type, use [] to load none, !pattern to exclude; pi config then enables or disables individual resources from the TUI.
- $Safety guardrails: safe-delete intercepts destructive bash (rm on protected or large paths, find -delete, recursive chmod/chown, git clean -fdx, dd to devices, wildcard explosions, and more) and safe-commit prompts for confirmation before git commits.
- $Context management: /fold folds conversation history into a sentinel marker carrying a truncated prose digest, with search_folded and get_folded_message for retrieval; context-usage is a fold-aware footer with cache hit percentage, cost, and context bar; thinking-stash re-injects captured thinking tokens via /rethink; lazy-agents loads AGENTS.md files on demand.
- $Workflow tools: plan-mode (/plan read-only exploration with step extraction, Ctrl+Alt+P toggle), handoff, session-recall (/recall searches past sessions via a TOON-formatted index), shell-preprocessor, and agent-watch for subagent status injection.
- $Integrations register providers and search: dora lifecycle hooks, exa-search via EXA_API_KEY, opencode-usage (/usage), command-code, and poolside.
- $Ships a butttons theme based on Catppuccin Mocha plus pi-specific skills such as pi-costs (session cost and token analysis) and herdr-pi-subagents.
## FAQ
Q How do I install only some of the extensions?
Install the git package, then edit the packages entry in ~/.pi/agent/settings.json (or .pi/settings.json for project level) to list specific extensions, skills, and themes — omit a key to load all of that type, [] to load none, !pattern to exclude; pi config enables or disables resources from the TUI.
Q What does safe-delete actually intercept?
rm on protected or large paths, find -delete, recursive chmod and chown, git clean -fdx, dd to devices, wildcard explosions, and more destructive bash commands.
## References
## Related entries
$ big-pi
Model-driven compression that summarizes completed phases into tiered blocks while Pi's JSONL transcript stays authoritative and untouched.
$ Pi Taste
Local preference-learning extension that distills accepted and rejected turns into one readable taste.md.
$ pi-agent-substrate
Suspendable remote workspaces for pi and Oh My Pi, on a self-hosted Agent Substrate cluster.
Last updated: Aug 31, 2026