codex-dollar-autcomplete

Dollar-triggered inline skill path references with cyan prompt highlighting for pi.

Packages

Package details

extension

Install codex-dollar-autcomplete from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:codex-dollar-autcomplete
Package
codex-dollar-autcomplete
Version
0.1.2
Published
Jul 5, 2026
Downloads
514/mo · 36/wk
Author
hheei
License
MIT
Types
extension
Size
12.6 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/dollar-skill-autocomplete.js"
  ]
}

Security note

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

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 $lib

Selecting the suggestion inserts the token:

Review this using $librarian

If $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.md

Multiple 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-autcomplete

For local development from this repository:

pi install /path/to/codex-dollar-autcomplete

Or test for one run:

pi -e /path/to/codex-dollar-autcomplete

After installing into a running pi session, use /reload.

Development

npm run verify