@dihak/pix-commands
v0.2.0
Published
Pi extension — slash commands for cache clearing and isolated side questions
Maintainers
Readme
pix-commands
Pi extension providing focused slash commands:
/clear— flush Pi's cached model data./btw <question>— ask an isolated side question without interrupting the main agent.
/clear
Deletes ~/.cache/pi to flush stale model-data cache, then prompts you to run /reload.
/btw
/btw runs a separate in-memory child session concurrently with the main agent:
/btw what is the difference between a mutex and a semaphore?The child session:
- starts with an empty conversation and a lean Pix system prompt;
- snapshots the main session's model, thinking level, active tools, credentials, extensions, and working directory;
- never imports the main conversation;
- publishes its Markdown answer in a visually distinct side-thread card;
- keeps rendered BTW answers out of future main-agent LLM context;
- supports multiple concurrent side questions.
When the main agent is streaming, completion is shown as a notification and the durable card is appended after the main session becomes idle. This prevents the side answer from becoming steering input.
Install
pi install npm:@dihak/pix-commandsAlso included in
@dihak/pix-core:pi install npm:@dihak/pix-core
Full distro
Source: github.com/dihak/pix-mono
To install the complete pix suite:
curl -fsSL https://raw.githubusercontent.com/dihak/pix-mono/main/scripts/install.sh | shLicense
MIT
