Skill creator

From Dicklesworthstone/pi_agent_rust · View interactive version

Skill creator is an AI agent skill from the GitHub repository Dicklesworthstone/pi_agent_rust. Create or update Pi skills (SKILL.md plus optional scripts, references, or assets). Use when someone asks to design a new Pi skill, refine an existing one, or structure skills for Pi discovery or packaging.

How to use this skill

Skill file

Skill Creator

Provide guidance for creating effective Pi skills.

Principles

Pi Agent Skills format

Recommended structure

pi-skill/
├── SKILL.md
├── README.md         # Optional: human summary + installation
├── scripts/          # Optional executables
├── references/       # Optional docs loaded on demand
└── assets/           # Optional templates/assets

Workflow

1) Clarify use cases

2-4 concrete example requests usually suffice to scope triggers and functionality.

2) Plan reusable resources

For each example, decide if you need:

3) Create the skeleton

A skill needs a directory containing a SKILL.md. Only add resource sub-directories that are actually needed.

mkdir -p ~/.pi/agent/skills/my-skill
touch ~/.pi/agent/skills/my-skill/SKILL.md

4) Optional: Write README.md (humans + installation)

If you plan to share the skill with humans, a README.md helps discovery and installation. If you have a README, installation info can live there to save space in SKILL.md.

# My Skill

Short summary for humans discovering the skill.

## Installation
`pi install git:github.com/org/my-skill`

5) Write frontmatter

Use only the fields you need.

---
name: my-skill
description: What it does + when to use it.
---

If you need to hide auto-invocation, set:

disable-model-invocation: true

6) Write the body

7) Add resources

SKILL.md is the agent's interface to the skill — usage examples and input/output descriptions let it call scripts without needing to understand internals.

8) Validate and test

scripts/validate_skill.py /path/to/my-skill
pi --no-skills --skill /path/to/my-skill
/skill:my-skill

9) Publish (optional)

To share beyond a single machine, publish as a Pi package (package.json-based, not a .skill archive).

{
  "name": "my-pi-skills",
  "keywords": ["pi-package"],
  "pi": { "skills": ["./skills"] }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.