@xynogen/pix-commands

Pi extension — /diff and /clear commands

Packages

Package details

extension

Install @xynogen/pix-commands from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@xynogen/pix-commands
Package
@xynogen/pix-commands
Version
0.1.2
Published
Jun 18, 2026
Downloads
not available
Author
xynogen
License
MIT
Types
extension
Size
5.1 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "src/extension.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pix-commands

Pi extension — /diff and /clear slash commands.

What it does

Registers two slash commands. /diff asks the agent to inspect git status and git diff, then respond with a one-sentence TL;DR, a per-file breakdown of what changed and why (with +/− line counts), and a brief impact note on behaviour or tests. If an agent turn is already in progress, the prompt is queued as a follow-up. /clear deletes ~/.cache/pi — useful for flushing stale model-data or BenchLM cache — and prompts you to run /reload to apply the change. No extra dependencies beyond Pi.

Install

pi install npm:@xynogen/pix-commands

Also included in @xynogen/pix-core:

pi install npm:@xynogen/pix-core

Full distro

To install the complete pix suite (all packages + Pi itself):

curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh

License

MIT