@manuelstolze/pi-hello-world
Example Pi coding agent extension that adds a /hello slash command.
Package details
Install @manuelstolze/pi-hello-world from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@manuelstolze/pi-hello-world- Package
@manuelstolze/pi-hello-world- Version
1.1.0- Published
- Oct 21, 2026
- Downloads
- 210/mo · 10/wk
- Author
- manuelstolze
- License
- MIT
- Types
- extension
- Size
- 3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@manuelstolze/pi-hello-world
An example Pi coding agent extension. It registers a /hello [name] slash command that shows a friendly notification, and exists as a template for building new extensions in this monorepo.
Compatibility
Requires Node.js 22.19.0 or later and Pi API 1.3.0 or later in the 1.x line. Pi API versions below 1.3.0 are not supported.
Install
npm install @manuelstolze/pi-hello-world
Then add it to your Pi configuration (e.g. package.json pi.extensions, or ~/.config/pi/config.json):
{
"pi": {
"extensions": ["@manuelstolze/pi-hello-world"]
}
}
Usage
Inside a Pi session, run:
/hello Ada
Development
From the repository root:
npm install
npm run build --workspace @manuelstolze/pi-hello-world
npm test