pi-order-extension

Pi extension for managing reusable prompt templates with the /order command.

Packages

Package details

extension

Install pi-order-extension from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-order-extension
Package
pi-order-extension
Version
0.1.1
Published
Jun 1, 2026
Downloads
not available
Author
linmingjing
License
MIT
Types
extension
Size
22.2 KB
Dependencies
0 dependencies · 0 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-order-extension

A Pi extension for managing reusable prompt templates with the /order command.

Features

  • Create, edit, send, remove, and list local templates.
  • Store an optional description for each template.
  • Insert template content into the current Pi input box without auto-sending.
  • Autocomplete /order subcommands and existing template names.
  • Clear template body from the edit flow without deleting the template name or description.

Commands

/order create <name>   Create a template
/order edit <name>     Edit description and body, or clear body from the edit flow
/order send <name>     Insert template body into the input box
/order remove <name>   Delete a template
/order list            List templates

Template names may contain letters, numbers, _, and -.

Install

From npm after publishing:

pi install npm:pi-order-extension

From GitHub tag:

pi install git:git@github.com:LinMingjing007/pi-order.git@v0.1.1

Reload Pi after installing:

/reload

Development

npm install
npm test