pi-inline-skill-autocomplete

Inline / skill autocomplete for pi, so skills complete anywhere in the editor instead of only at command start.

Packages

Package details

extension

Install pi-inline-skill-autocomplete from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-inline-skill-autocomplete
Package
pi-inline-skill-autocomplete
Version
0.1.0
Published
May 20, 2026
Downloads
not available
Author
tridha643
License
ISC
Types
extension
Size
7.5 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/inline-skill-autocomplete.js"
  ]
}

Security note

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

README

pi-inline-skill-autocomplete

pi-inline-skill-autocomplete adds Claude-style inline skill completion to pi.

Pi already completes slash commands at the beginning of the editor. This extension layers on top of that behavior and completes skill names when you type a slash after other prompt text, for example:

Review this with /td      # suggests /tdd, inserts /skill:tdd
Explain briefly using /ca # suggests /caveman, inserts /skill:caveman

Features

  • completes only pi resources whose command source is skill
  • leaves command-position /... completion to pi's built-in provider
  • works on later lines after earlier prompt text
  • filters by bare skill name first, then full command name and description
  • delegates back to pi's provider when there is no inline skill match
  • ships as a dependency-free pi package

Install

From npm after publish:

pi install npm:pi-inline-skill-autocomplete

For local development from this repo:

pi install ./packages/pi-inline-skill-autocomplete

Or test for one run:

pi -e ./packages/pi-inline-skill-autocomplete

Usage

Type / after some ordinary prompt text and the extension will show skill-name completions:

Can you debug this with /dia

The menu labels use bare skill names such as /diagnose; selecting one inserts pi's actual skill command, such as /skill:diagnose.

At the start of the editor, pi's normal slash-command autocomplete still handles /.

Development

npm run check
npm test
npm run verify