Skip to content
Henry Pi Harness
Esc
↑↓navigate↵open⌘Jpreview
On this page

@henryqw/pi-skill-mentions

Version v1.1.0
Monthly npm downloadsMIT license

Use / to find Skills and Prompt Templates while you type a draft in Pi. Press Enter to insert a reference and keep typing.

Adapted from @pi-minimal/mention-skills.

Install

Requires Pi 1.8.0 or later.

pi install npm:@henryqw/pi-skill-mentions

Use

Type Use /pony in the middle of a draft. If the ponytail Skill is available, select it to insert Use /skill:ponytail. Press Enter again to send the draft.

The Mention Picker inserts /skill:name for a Skill or /prompt:name for a Prompt Template. Pi keeps each Inline Mention in the saved message. The extension adds the file path to the model’s copy and instructs the model to read that file.

A slash at the start of the draft opens Pi’s command menu. Use @ for file completion.

Limits and recovery

The Mention Picker uses Pi’s terminal editor. If another extension replaces that editor, you can type the full /skill:name or /prompt:name reference yourself.

The model needs a file-reading tool to open the referenced resources. An Inline Mention of a Prompt Template tells the model to read its file. Use Pi’s leading prompt command to expand numbered arguments.