Exercise 01 — Your First pi Skill
pi learns what to do from skills — markdown instructions it loads on demand.
Task
Create a working pi skill called greet in your machine-wide skills folder:
- Create
~/.agents/skills/greet/SKILL.md - It must have YAML frontmatter with a
nameand adescription - The body must contain a heading
# Greeting Rulesand at least one rule line starting with- - Make it genuinely useful: a rule for how YOU want greetings/casual replies written for you
Test it: start a new pi session and ask it to greet you. It should follow your rule.
Why this matters
Everything pi does well starts with a well-scoped skill. Writing one is the single highest-leverage move in agent tooling.