@stagefright5/pi-ask
v0.1.2
Published
Ask before decisions by applying a one-turn interaction policy in pi
Downloads
373
Maintainers
Readme
Ask
Most of this extension was written with the pi agent CLI.
Adds /ask as an extension command that applies an ask-before-deciding policy to one task.
Back to the extension workspace
Usage
Submit the command at the beginning of the prompt:
/ask Implement the authentication flowWith Prompt Truly Mine installed, you can also insert the command after existing text. Prompt Truly Mine moves it to the beginning when you submit the draft:
Implement the authentication flow /askThe extension sends the command arguments to the agent with instructions to:
- ask before choosing among reasonable options
- ask about ambiguity, intent, edge cases, and tradeoffs
- ask before destructive, irreversible, or outward-facing actions
- use the agent's structured question tool when available
- verify code and filesystem facts before asking
- continue independent work before asking about blocked decisions
The extension normalizes quoted arguments using the same parsing rules as pi prompt templates. Calling /ask without arguments sends the policy by itself, as the previous prompt template did.
/ask remains a normal extension command. Prompt Truly Mine provides the optional inline autocomplete and promotion behavior described above.
Installation
Install the standalone package:
pi install npm:@stagefright5/pi-askFor source development and tests, see the source README and workspace development guide.
Scope
The policy applies only to the task submitted through /ask. It does not enable a persistent mode or change later prompts.
