pi-mention-skills
v0.1.1
Published
Skill mention autocomplete and expansion extension for pi
Downloads
205
Readme
Mention Skills extension
Type $skill-name in the editor to autocomplete and reference discovered skills by name. On submit, $skill-name tokens are replaced with the full path to each skill's SKILL.md.
Install
pi install npm:pi-mention-skillsUsage
- Type
$in the editor to see discovered skills. - Continue typing to filter (for example,
$commatches$commit). - Select a suggestion to insert the
$skill-nametoken. - On submit, each known
$skill-nameis replaced with its fullSKILL.mdpath.
Example
Typing:
Read $commit before making changesSubmits as:
Read /Users/you/.agents/skills/commit/SKILL.md before making changesNotes
- Skill discovery reads
pi.getCommands()entries wheresource === "skill"andpathis present. - Unknown
$tokensare left unchanged. $mention detection follows boundary rules: start of line or preceded by whitespace.
