Docs/Extend pi-kit

Skills and packages

Install, write and use skills; install and manage pi packages.

ResourceWhat it is
SkillInstructions in a SKILL.md file that pi loads when a task needs them.
Prompt templateReusable message text.
ExtensionCode that adds tools, commands and event handlers.
PackageA pi package that bundles any of these, and themes.
User resources apply to every project. Project resources live in the repository and load only in a trusted project.

Install a skill#

  1. Open Settings → Skills → Library and choose Install skill.
  2. Search the skills.sh catalog. Your query is sent to skills.sh.
  3. Pick a result. pi-kit reads it from GitHub and shows the description, SKILL.md, bundled scripts, revision, license and files.
  4. Choose your user folder or a trusted project, and install.
The whole skill folder is copied at the previewed commit. Installing runs nothing: no extensions, dependencies or scripts. The agent may run bundled scripts later, so install only sources you trust.

Video walkthrough · English captions

Find and add a skill

Find and add a skill

Fictional demo data · Qwen3-TTS · Aiden (English)

Find a public web-testing skill, review its instructions and source, install it, and add it to an unsent draft.

The skills library with user and project skills.
The skills library with user and project skills.
The library lists skills from ~/.pi/agent/skills and the project's .pi/skills.
  • The switch turns a skill on or off without deleting it.
  • Add to composer selects it for the next message.
  • Delete (top-level local skills only) removes the folder after a confirmation.
  • Learned skills have Edit, Re-verify, Retire and Restore instead.

Write a skill#

Create a folder with a SKILL.md. In a project: .pi/skills/<name>/SKILL.md. For yourself: ~/.pi/agent/skills/<name>/SKILL.md.
---
name: review-api-change
description: Review API changes for validation, compatibility, and tests.
---

1. Read the changed endpoint and its callers.
2. Check input validation and error handling.
3. Add or update tests for the changed behavior.
4. Run the tests and report any failures.
name matches the folder name. description tells pi when the skill applies. Use project-relative paths and keep secrets out.
Then choose Reload in Settings, or type /reload. If the skill is missing, check the project, the folder, the frontmatter, the skill's switch and project trust.
A skill with a room.yaml beside SKILL.md is also a room playbook.

Use a skill#

Pick it from /, the + menu, the command palette or Add to composer. It appears as a chip; several can go with one message. Pin a chip to keep it on every later message in the thread.
With Settings → Skills → Commands → Register every skill as /skill:name on, /skill:name at the start of a message expands the skill the way the pi CLI does. Removing a chip does not uninstall anything.

Install a package#

  1. Open Settings → Extensions → Packages and choose +.
  2. Choose a source: Browse (npm packages with the pi-package keyword and pi-kit's list), From git (pin with @tag or @commit) or From a folder (loaded in place).
  3. Select a package and read its source, README and What it adds, including the command it will run.
  4. Choose the scope and Install.
Packages with extensions run code when they load.
The package browser.
The package browser.
What a package adds, before installing.
What a package adds, before installing.

Video walkthrough · English captions

Install and use an extension

Install and use an extension

Fictional demo data · Qwen3-TTS · Aiden (English)

Review a pre-authored fictional package, install it, control whether it is enabled, and run its station-brief command. The fixed note comes from the extension, not a model reply.

Manage packages#

Extensions → Packages lists installed packages with a switch, Check for updates and a menu to update or remove. Local files lists extensions and prompt templates outside packages. pi-kit's bundled packages are marked; after you remove one, pi-kit does not offer it again.
Installed packages, including the ones that ship with pi-kit.
Installed packages, including the ones that ship with pi-kit.
The pi CLI manages the same list:
pi list
pi install npm:pi-subagents
pi remove npm:pi-subagents