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:

  1. Create ~/.agents/skills/greet/SKILL.md
  2. It must have YAML frontmatter with a name and a description
  3. The body must contain a heading # Greeting Rules and at least one rule line starting with -
  4. 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.