pi-extensions
Personal pi extension collection: /exit, /plan, ...
git clone https://github.com/matt-riley/pi-extensions ~/.pi/agent/extensions/pi-extensions
Extensions
-
pi-code-search
Faster, more reliable code discovery for pi: repo_map / code_search / file_outline / find_definition with a persistent mtime-invalidated symbol cache. Zero runtime dependencies.
-
pi-diagnosis-nudge
Attach a diagnosis-check reminder to failed tool results in pi, so a plausible root cause is checked against the evidence before it becomes a fix. Text only; no dependencies.
-
pi-done-gate
Remind the agent, naming the Go, TypeScript or Lua commands that cover the changed files, when a pi run ends with code edits made after the last verification. Lists leftover [DEBUG- tags and asks TypeSafe to judge a closing claim that reports success anyway. Text only; no dependencies.
-
pi-exit
Adds /exit as an alias for pi's built-in /quit.
-
pi-footer
Always-on status footer: model, thinking level, token & cost totals, git branch.
-
pi-guardrail
Prevent destructive tool use: deterministic rules, TypeSafe judgment for the ambiguous middle, human confirm for the rest.
-
pi-jobs
Pi-native background jobs, live logs, optional PTYs and semantic attention watches.
-
pi-plan-mode
Codex-like read-only /plan collaboration mode with a Markdown plan file for review before implementation.
-
pi-prompt-coach
On-demand /improve command: rewrite locally with Gemma4, verify intent with TypeSafe, and submit the rewrite with original-prompt fallback.
-
pi-review
Semantic review tools for pi: lint_change judges a diff against the repository's stated preferences and Conventional Commit rules, verify_findings drops review findings whose quoted code is absent from the diff and ranks the rest. Zero runtime dependencies.
-
pi-router
Task-aware virtual model routing for pi.
-
pi-safe-compact
Safe self-compaction for pi: Jev scores, selects and verifies what survives, with native compaction as the fallback. Zero runtime dependencies.
-
pi-skill-select
On-demand skill selection for pi: search the full skill library by task and get SKILL.md paths back, so skill names and descriptions never have to sit in the system prompt. Zero runtime dependencies.
-
pi-subagents
In-process parallel subagents: off-by-default, named scout/reviewer/oracle/worker/researcher children with a live widget.
-
pi-toasts
Top-right timed toasts for extension ctx.ui.notify in TUI mode.
-
pi-typesafe
TypeSafe System One judgments for pi: one typesafe_ask tool that turns state plus typed choice/noul/score questions into calibrated probabilities the agent can act on. Zero runtime dependencies.
-
pi-until
/until <command>: keep the agent working until a shell predicate exits 0, re-checking at every settle and logging one TSV row per iteration.
-
pi-watch-pr
watch_pr for pi: one read of a pull request's checks on its head commit, merge state and unresolved review threads, with a verdict. Read-only; zero runtime dependencies.
-
pi-web-fetch
Browser-grade web fetching and search for pi: clean markdown/HTML/text/JSON extraction, page metadata, GitHub URLs via gh, bounded-concurrency batch fetch, and keyless DuckDuckGo web search. Zero runtime dependencies.
-
pi-workbench
Personal command centre, file references and read-only change inspection