---
title: "@henryqw/pi-skill-mentions"
seo:
  description: "Complete Pi skills and prompt templates anywhere in a draft with slash mentions."
---

<div class="not-prose my-6 flex flex-wrap items-center gap-3"><a href="https://www.npmjs.com/package/@henryqw/pi-skill-mentions" aria-label="View @henryqw/pi-skill-mentions version v1.1.0 on npm"><img alt="Version v1.1.0" height="20" src="https://img.shields.io/static/v1?cacheSeconds=7200&amp;color=1d4ed8&amp;label=version&amp;labelColor=6a7282&amp;style=flat-square&amp;message=v1.1.0" width="96"></a><div class="ml-auto flex flex-wrap items-center justify-end gap-3"><a href="https://www.npmjs.com/package/@henryqw/pi-skill-mentions" aria-label="View @henryqw/pi-skill-mentions on npm"><img alt="Monthly npm downloads" height="20" src="https://img.shields.io/npm/dm/%40henryqw%2Fpi-skill-mentions?cacheSeconds=7200&amp;color=1d4ed8&amp;label=downloads&amp;labelColor=6a7282&amp;style=flat-square" width="144"></a><a href="https://github.com/HenryQW/pi-harness/blob/main/extensions/pi-skill-mentions/LICENSE" aria-label="View the MIT license for @henryqw/pi-skill-mentions"><img alt="MIT license" height="20" src="https://img.shields.io/npm/l/%40henryqw%2Fpi-skill-mentions?cacheSeconds=7200&amp;color=1d4ed8&amp;label=license&amp;labelColor=6a7282&amp;style=flat-square" width="78"></a></div></div>

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`](https://github.com/EviHex/pi-minimal/tree/8e6bdb5be07fffde268d0d1e4fefbc840723e2d0/mention-skills).

## Install

Requires Pi 1.8.0 or later.

```bash
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.
