← Catalog

@manuelstolze/pi-hello-world

Example Pi coding agent extension that adds a /hello slash command.

Extension

Install

Install with PiG

pig install npm:@manuelstolze/pi-hello-world

Install with Pi

pi install npm:@manuelstolze/pi-hello-world
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": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 1.1.0 (README.md). PiG does not review it.

@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