@pi-kaush/pi-inline-skill-identifier

Highlight $skill aliases and route one inline skill reference through Pi's native skill command.

Packages

Package details

extension

Install @pi-kaush/pi-inline-skill-identifier from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@pi-kaush/pi-inline-skill-identifier
Package
@pi-kaush/pi-inline-skill-identifier
Version
0.1.1
Published
Jul 14, 2026
Downloads
409/mo · 409/wk
Author
kaushikgopal
License
MIT
Types
extension
Size
12.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

@pi-kaush/pi-inline-skill-identifier

Use Codex-style $skill-name references in Pi prompts while keeping Pi's native skill loading.

Install

pi install npm:@pi-kaush/pi-inline-skill-identifier

Restart Pi or run /reload.

To run the extension from a local checkout instead:

pi -e ~/path/to/pi-kaush/extensions/pi-inline-skill-identifier/src/index.ts

Usage

Mention one loaded skill anywhere in a normal prompt:

Use $review-my to review these changes.

The extension highlights known $skill-name aliases in the existing editor and transforms that prompt into Pi's native skill command:

/skill:review-my Use $review-my to review these changes.

Pi still owns skill discovery, expansion, and slash-command handling.

While typing, Pi's native autocomplete suggests loaded skills after $. For example, $rev offers $review-my; use the normal autocomplete keys to select it. Typing a space after $ or a partial alias closes the suggestions.

Behavior

  • Only aliases matching loaded Pi skills are highlighted or transformed.
  • A prompt referencing exactly one known skill is transformed. Repeating that same skill still counts as one skill.
  • Prompts referencing multiple different skills are left unchanged because Pi does not expose a native skill-composition command.
  • Slash commands, unknown $tokens, and extension-generated input are left unchanged.
  • Skill names must match the complete $token; a loaded skill is not matched as a prefix of a longer token.
  • Autocomplete uses Pi's existing provider and only filters loaded skill names in memory.
  • Autocomplete and highlighting only run in TUI mode. Input transformation remains available in print, JSON, and RPC modes.
  • The extension does not replace the editor. It installs one guarded, lifecycle-scoped render wrapper so loaded skill aliases can be colored.