Skip to content
Back to skills

Extending Pi

BSecurity

Guide for extending Pi — decide between skills, extensions, prompt templates, themes, context files, or custom models, then create and package them. Use when someone wants to extend Pi, add capabilities, create a skill, build an extension, or make a Pi package.

  • 2,011 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 3, 2026
developmentgobashapi

Works with

  • cli
  • api

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro scans all 10 files and shows the line behind each finding

Scanned June 3, 2026

npx -y skills add Dicklesworthstone/pi_agent_rust --skill extending-pi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extending Pi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extending Pi
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/dicklesworthstone-extending-pi/badge)](https://www.skillsdirectory.com/skills/dicklesworthstone-extending-pi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: extending-pi
description: Guide for extending Pi — decide between skills, extensions, prompt templates, themes, context files, or custom models, then create and package them. Use when someone wants to extend Pi, add capabilities, create a skill, build an extension, or make a Pi package.
---

# Extending Pi

Help the user decide what to build and where to find guidance.

## What to build

| Goal | Build a… | Where |
|------|----------|-------|
| Teach Pi a workflow or how to use a tool/API/CLI | **Skill** | Read `skill-creator/SKILL.md` for detailed guidance |
| Give Pi a new tool, command, or runtime behavior | **Extension** | Read Pi docs: `docs/extensions.md` |
| Reuse a prompt pattern with variables | **Prompt template** | Read Pi docs: `docs/prompt-templates.md` |
| Set project-wide coding guidelines | **Context file** | `AGENTS.md` in project root or `.pi/agent/` — just markdown |
| Change Pi's appearance | **Theme** | Read Pi docs: `docs/themes.md` |
| Add a model or provider | **Custom model** | Read Pi docs: `docs/models.md` (JSON) or `docs/custom-provider.md` (extension) |
| Share any of the above | **Package** | Read Pi docs: `docs/packages.md` |

## Skill vs Extension — the fuzzy boundary

If `bash` + instructions can do it, prefer a **skill** (simpler, no code to maintain). If you need event hooks, typed tools, UI components, or policy enforcement, use an **extension**.

Examples:
- "Pi should know our deploy process" → **Skill** (workflow instructions)
- "Pi should confirm before `rm -rf`" → **Extension** (event interception)
- "Pi should use Brave Search" → **Skill** (instructions + CLI scripts)
- "Pi should have a structured `db_query` tool" → **Extension** (registerTool)

Files in this skill

  • CHANGELOG.md235 B
  • README.md462 B
  • SKILL.md1.7 KB
  • package.json627 B
  • skill-creator/CHANGELOG.md688 B
  • skill-creator/LICENSE1 KB
  • skill-creator/README.md166 B
  • skill-creator/SKILL.md4.8 KB
  • skill-creator/package.json597 B
  • skill-creator/scripts/validate_skill.py6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.