pi-docs

Answers Pi coding agent and Pi Workbench questions using version-matched documentation and extension references.

2|Updated Aug 17, 2026
One-click install
npx skills add https://github.com/yyy0107/pi-workbench --skill pi-docs-yyy0107
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pi-docs
Source: https://github.com/yyy0107/pi-workbench/tree/main/packages/agent-runtime/runtimes/pi/server/src/internal-skills/pi-docs
Command: npx skills add https://github.com/yyy0107/pi-workbench --skill pi-docs-yyy0107

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Pi and Pi Workbench users often get inaccurate or version-mismatched answers about setup, settings, providers, extensions, and SDK integration because generic answers ignore the actually installed version. This Skill grounds every answer in the documentation matching the running Pi version, with citations. ## Core Features & Use Cases - Version-matched documentation lookup: Reads runtime.json to locate the installed Pi version's README, docs, and examples before answering, avoiding stale or invented guidance. - Topic routing: Maps questions about settings, providers, models, sessions, skills, packages, compaction, SDK, RPC, and TUI to the correct documentation file, plus bundled Pi 0.84.2 extension reference snapshots. - Extension implementation support: Provides API references for events, tools, commands, UI components, providers, and dynamic tool loading when implementing Pi extensions or SDK integrations. - Use Case: A user asks how to register a custom tool in a Pi extension. The Skill checks the running version, reads the custom tools reference, and returns a cited, version-accurate code example. ## Quick Start Ask how to configure a custom model provider in the currently installed version of Pi.

Frequently Asked Questions about pi-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get accurate documentation for my installed Pi version?▼

The Skill reads runtime.json written beside it at install time to find the embedded Pi version and its docs, examples, and README paths. It then answers from those version-matched files rather than generic or latest-release documentation.

How do I implement a Pi extension with custom tools or commands?▼

The Skill routes extension questions to bundled Pi 0.84.2 reference topics covering registerTool, registerCommand, events, UI components, and providers. It verifies signatures against the installed package's public declarations before giving code examples.

Does this cover Pi Workbench settings as well as Pi settings?▼

It distinguishes Pi from its host: Workbench appearance, language, and preference changes are delegated to the workbench-settings skill, while Pi configuration questions use Pi's settings.md. It avoids confusing Pi terminal features with Workbench GUI capabilities.

What happens if the running Pi version cannot be determined?▼

The bundled extension references still document Pi 0.84.2, but the Skill discloses that compatibility with the running host is unverified. For other gaps it falls back to official sources at pi.dev and the upstream GitHub repository.

When should this Skill not be used?▼

Do not use it for unrelated software tasks that merely happen inside Pi, such as general coding questions. It is scoped to Pi and Pi Workbench documentation, extension development, and SDK integration.