codex-dollar-autcomplete
v0.1.2
Published
Dollar-triggered inline skill path references with cyan prompt highlighting for pi.
Maintainers
Readme
codex-dollar-autcomplete
codex-dollar-autcomplete adds $skill-name autocomplete, cyan prompt highlighting, and prompt-time skill path expansion to pi.
It is intentionally different from /skill:name: it does not expand SKILL.md into the prompt. When you send a prompt, each recognized $skill-name token is replaced with the loaded skill's sourceInfo.path.
Behavior
Type $ in the prompt editor to list loaded skills:
Review this using $libSelecting the suggestion inserts the token:
Review this using $librarianIf $librarian matches a loaded skill, the token is highlighted cyan while you are editing the prompt. Unknown tokens such as $UNKNOWN are not highlighted.
When the prompt is sent, pi transforms it to:
Review this using /Users/me/.pi/agent/skills/librarian/SKILL.mdMultiple references in one prompt are supported:
Compare $librarian with $pi-subagents and keep $UNKNOWN untouched.Only loaded pi skills are expanded. Unknown $NAME tokens are left unchanged.
Install
From npm:
pi install npm:codex-dollar-autcompleteFor local development from this repository:
pi install /path/to/codex-dollar-autcompleteOr test for one run:
pi -e /path/to/codex-dollar-autcompleteAfter installing into a running pi session, use /reload.
Development
npm run verify