skill-distillation
Installation
SKILL.md
Skill Distillation
Step 5 of the universal request loop (see AGENTS.md and meta-skills). Every user request ends with a distillation pass before delivery. Skip it and the library decays; the next session rediscovers the same lessons.
ORIENT -> PLAN -> EXECUTE -> VALIDATE -> DISTILL -> DELIVER
When to run
Run automatically when any of these happen:
- A task required > 3 iterations.
- The user corrected you ("that's wrong", "you missed X", "it should be Y").
- You discovered a workaround not in any existing skill.
- A sub-agent hit a failure not covered by an existing skill.
- You solved something that would break again next session without docs.
Also run during heartbeats (every 2-3 days): review recent memory/ files for undistilled lessons.