Install
Install with PiG
pig install npm:@moritzwilksch/pi-inlineskillInstall with Pi
pi install npm:@moritzwilksch/pi-inlineskillPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.4 (README.md). PiG does not review it.
pi-inlineskill
Use installed Pi skills anywhere in a prompt with /name or /skill:name:
Please use /a and then /skill:b.
Type / at the start of a line or after whitespace to open completion. Use the arrow keys to choose, Tab to insert, or Enter to select and submit. Tab also completes partial references.
Before submission, the extension replaces the references with skill:a and skill:b and sends each skill's full instructions to the model as a message just before the prompt. The transcript shows each one collapsed as [skill] name, like native /skill: commands; expand it to read the instructions. Each skill appears once, in first-use order, without YAML frontmatter. Supporting files remain available relative to the skill directory.
Install
pi install npm:@moritzwilksch/pi-inlineskill
From a local checkout, use pi install ., or try it for one session with pi -e ./index.ts.
Behavior
- Unknown names, paths, URLs, escaped slashes, and references in code stay unchanged. Skill content is not expanded recursively.
- Leading prompt commands keep their native meaning when a skill shares their name.
- Images are preserved. Expansion works with interactive, RPC, and extension-injected input.
- Unreadable skills cancel submission and report the file error.
- Pi handles skill discovery and reload. This extension replaces the editor, so don't combine it with another extension that replaces the editor.
Development
npm install
npm run hooks
npm test
npm run check