← Catalog

@pi-minimal/mention-skills

Minimal $ mentions for pi: autocomplete skills and prompt templates, and point the agent to their files.

Extension

Install

Install with PiG

pig install npm:@pi-minimal/mention-skills

Install with Pi

pi install npm:@pi-minimal/mention-skills
Review before installing

Packages 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 1.0.3 (README.md). PiG does not review it.

@pi-minimal/mention-skills

Type $ in the editor to autocomplete skills and prompt templates. Like pi's @ for files, nothing is inlined: before each LLM call, $name gets its file path and the agent reads the file itself.

  • You type and see: use $jj to commit
  • The LLM sees: use $jj (skill: /path/to/jj/SKILL.md) to commit

Install

pi install npm:@pi-minimal/mention-skills

Settings

Put settings in ~/.pi/agent/settings.json (global) or .pi/settings.json (project), under "pi-minimal"."mention-skills". Merge the keys; do not overwrite the file. Settings are read at session start (use /reload).

KeyTypeDefaultMeaning
disableSkillCommandsbooleanfalseHide /skill:* from the / menu. $ still lists skills, and a typed /skill:name still works.
{ "pi-minimal": { "mention-skills": { "disableSkillCommands": true } } }

Behavior

  • Names come from your skills and prompt templates. A skill wins on a name clash.
  • A mention is $ at line start or after whitespace or ( [ { <, then [\w-]+. Unknown names ($HOME, $1) stay as they are.
  • Like @ for files, the agent decides when to read the file.

Limits

  • Prompt templates get no arguments. Write them after the name: $vocabulary word.