omp packages

@moritzwilksch/pi-inlineskill0.1.2

Expand skill references anywhere in a Pi prompt.

GitHub Actions Published 7 days ago Apache-2.0 ~607 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

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 appends each skill's 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