whereismyai
Pi Purge
Pi Purge is a pi extension that swaps assistant personas for prompt files to test system instructions.
Pi Purge is a pi coding agent extension built for prompt engineering and system instruction experiments. It allows developers to switch which system prompt a session runs with, choosing between the stock prompt, a trimmed variant, or a custom persona prompt. The extension provides three composition modes: append, replace, and strict, which control how user instructions mix with default framing. It operates entirely locally within the session scope without writing state files to disk. It is designed for researchers and developers who need to evaluate instruction following and prompt behavior under controlled conditions.
Pi Purge at a glance
Key features
- Switch system prompts using session commands
- Support append, replace, and strict composition modes
- Toggle extension behavior on or off per session
- Load custom prompt files from disk
- Check mode, prompt source, and loaded size status
- Set default prompt paths using environment variables
Use it for
- Comparing model behavior across different system prompts
- Testing custom persona instructions in coding sessions
- Isolating prompt variables in controlled environments
Alternatives to Pi Purge
- Agent Purge — Manage system prompts for multiple coding agents from one place.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- Zero — Operates entirely on the local machine with configurable permission-gated actions.
- Pi X — Access X data without API keys or paid tiers.
- pstack — Improves AI coding agent outcomes with rigorous workflows.
- Pi Knock — Sends remote alerts to your phone when Pi finishes tasks or needs input.
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
- PI Desktop — It keeps projects, settings, and sessions local without mandatory accounts.
- Unspin — Shows live progress, step names, and ETAs for coding agent shell commands instead of a spinner.
- Pi Skills — Extends coding agents with web search, browser automation, and Google tools.
- Pi Infinite Context — It keeps original messages saved and searchable while summarizing old work.
- Squeeze — Cuts token usage for coding agents by shrinking verbose tool output while retaining key data.
All Pi Purge alternatives