Harness Notes

Plugin formats

Updated 2026-11-25,

On this page

Plugin manifests, component layouts and distribution formats checked November 16, 2026. Agent Plugins 1.0 is the published portable format for skills and MCP; 1.1 portable hooks remain a working draft. Vendor formats and executable extensions have separate contracts. Source inspection and documentation review do not establish runtime conformance.

Questionpichecked at 1.5.2
Manifest and format

Pi packages use package.json with an optional pi resource manifest. Without explicit resource arrays, conventional directories supply extensions, skills, prompt templates and themes. A metadata-only pi object keeps conventional discovery.

Required and optional fields

pi.extensions, pi.skills, pi.prompts and pi.themes are optional resource arrays. Package metadata includes changelogPath and gallery image/video; npm keyword pi-package enables gallery discovery. Ordinary package.json dependencies supply runtime imports.

Components and default layout

Default extensions/, skills/, prompts/ and themes/ package executable TS/JS extensions, Agent Skills, Markdown templates and JSON themes. Extensions register event handlers and tools in process. The package manifest itself is a resource selector.

Paths and variables

Resource paths resolve relative to the package root, with globs and exclusions. Exact dot-prefixed/symlinked roots can be listed explicitly. User/project resource filters narrow the package manifest; they cannot expose resources the package did not declare.

MCP configuration

Not documented

This audit covers Pi resource packaging and extension loading; it does not establish a portable root mcp.json or package-level MCP manifest contract. Extension or host MCP APIs require their own trace.

Distribution and marketplaces

Pi packages can be installed from npm, Git or local paths, in personal/project configuration. Identity is npm package name, Git repository URL without ref, or resolved local path. A normal project entry replaces personal configuration; autoload:false instead applies a filtering delta.

Compatibility and verification limits

Partly

Pi extension code and its event/UI APIs are host-specific. Reusing a SKILL.md directory does not transfer extension behavior, package identity or user/project filter semantics. Agent Plugins loading remains unestablished by this audit.

Commands

From your shell

Commands you run in a terminal or script, outside a session.

Taskpichecked at 1.2.0
Set up
Install

pi install <source> [-l]

Install a package and add it to settings.

1 note

Sources: npm:, git:, HTTPS or SSH URLs, or a local path. Packages run extension code; project packages load only after trust.

Use
Open the manager

pi config [-l]

Open a panel to enable or disable package resources and built-in extensions.

1 note

Tab switches between global and project scope.

List

pi list

List installed packages from user and project settings.

Change
Update

pi update (<source> | --extensions | --all)

Update one or all installed packages, optionally with pi itself.

1 note

A bare pi update updates pi only. Pinned versions and Git refs are not moved.

Remove
Remove

pi remove <source> [-l]

also pi uninstall <source>

Remove a package and its entry from settings.

Inside a session

Slash commands you type into an open session.

Taskpichecked at 1.2.0
Change
Reload

/reload

Reload keybindings, extensions, skills, prompt templates, themes and context files.

Notes and sources

pi, 5 sources
Manifest and format, 3
Required and optional fields, 2
Components and default layout, 2
Paths and variables, 2
MCP configuration, 1
Distribution and marketplaces, 1
Compatibility and verification limits, 2