@zigai/pi-mention-project
Pi package that adds fuzzy project directory mentions.
Package details
Install @zigai/pi-mention-project from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@zigai/pi-mention-project- Package
@zigai/pi-mention-project- Version
0.6.0- Published
- Jul 17, 2026
- Downloads
- 1,148/mo · 114/wk
- Author
- zigai
- License
- MIT
- Types
- extension
- Size
- 224.3 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Mention Project
Use short #project mentions while typing in Pi; submitted messages show the matching absolute project path.
#pi-tweaks update the package README
Type #pi-tweaks and select the project from autocomplete. When submitted, the visible message and the model context use the matching path, such as /home/you/Projects/pi-tweaks.
Install
pi install npm:@zigai/pi-mention-project
Usage
- Type
#to fuzzy-search configured project folders. - Pick a project to insert a mention such as
#pi-tweaks. - Submitting the message replaces known mentions with their absolute paths.
- Use quoted mentions for names with spaces, such as
#"My Project". - Unknown mentions stay unchanged.
Configuration
Global settings are stored in ~/.pi/agent/extension-settings/pi-mention-project.json.
| Option | Type | Default | Description |
|---|---|---|---|
trigger |
string | "#" |
Single character that starts a project mention. |
roots |
string[] | string | [] |
Project root directory or directories searched for projects. |
gitReposOnly |
boolean | true |
Include only directories containing Git repositories. |
includeDotFolders |
boolean | false |
Include project directories whose names start with a dot. |
completionSuffix |
string | " " |
Text inserted after a completed project mention. |
{
"$schema": "./schemas/pi-mention-project.schema.json",
"trigger": "#",
"roots": [],
"gitReposOnly": true,
"includeDotFolders": false,
"completionSuffix": " "
}
License
MIT