pi-skill-dollar
v0.1.0
Published
Dollar-sign autocomplete shortcut for pi Agent Skills
Maintainers
Readme
pi-skill-dollar
pi-skill-dollar is a small pi extension that adds a $ autocomplete shortcut for Agent Skills.
It lets you type $ anywhere a new token can start and pick from the same skill command list that powers /skill:<name>.
Features
$opens a skill autocomplete picker at prompt start or after whitespace$shifilters skills as you typeTaborEnterselects the highlighted skillEscapecancels the pickerSpaceexits the picker normally unless the typed token is an exact skill match$checkwith an exact skill match rewrites to/skill:checkso you can keep typing arguments\$literalsubmits as literal$literal
Requirements
- pi 0.73.0 or newer
- Node.js 20.6 or newer when installing from npm/GitHub
- Skill commands enabled in pi (
enableSkillCommands, enabled by default in recent pi releases)
Install
Install from npm:
pi install npm:pi-skill-dollarInstall directly from GitHub:
pi install https://github.com/lhl/pi-skill-dollarInstall from a local checkout while developing:
pi install /home/lhl/github/lhl/pi-skill-dollarThen run /reload or restart pi.
Usage
At the beginning of the input:
$This opens the skill picker. Selecting check inserts/submits the native skill command path:
/skill:checkFilter by typing:
$shisaWhen there is an exact skill match, pressing Space accepts it and leaves a trailing space for arguments:
$shisa-kb<space>
# becomes
/skill:shisa-kb Inline token-boundary usage also works:
Use $shisa-kb to inspect the KB workflowSelecting the skill rewrites just that token:
Use /skill:shisa-kb to inspect the KB workflowEscaping disables the shortcut:
\$not-a-skillBehavior Notes
$ only triggers at a token boundary: prompt start or after a space/tab. It does not trigger inside ordinary words.
Examples:
| Input | Behavior |
|---|---|
| $ | Opens skill picker |
| $check | Filters to matching skills |
| $check<space> | Exact match: rewrites to /skill:check |
| $chec<space> | Not exact: inserts a normal space and closes picker |
| foo $check | Opens inline picker |
| foo$check | No special handling |
| \$check | Literal $check |
Development
npm install
npm run check
npm testBuild artifacts in dist/ are committed so direct GitHub installs work:
npm run build
npm pack --dry-runLicense
MIT
