firehose> #llmops

Minimal Skill Surface

The structural discipline for a lean skill: think of a skill as composed of two units — steps (the step-by-step procedure) and reference (supporting material the steps need) — and keep the main SKILL.md as small as possible, pushing everything that isn't always needed out behind context pointers. Every skill is description → SKILL.md → reference material; the description is itself a context pointer into SKILL.md, and SKILL.md can point further out. Smaller skills are easier to maintain and audit, and — because SKILL.md is loaded on invocation — every word shaved is a token shaved from every use.

The lever for shrinking it is branch analysis: identify the different ways a skill can be used. Reference material needed on every branch stays inline; reference needed on only one branch of a multi-branch skill is moved to a separate markdown file inside the skill folder and reached via a context pointer ("if you need the template, go to this file") — the source calls this an external reference. It's still bundled with the skill so the agent can pull it in easily, but it no longer costs context on the branches that don't use it. Worked examples: /to-prd has a single branch and always needs its "test seam" note and PRD template, so both stay inline; domain-modeling has two-or-three branches, so its ADR and context.md templates move out behind pointers. This is progressive disclosure applied inside a skill.

Claims


Linked from