Writing Great Skills
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
A skill exists to wrangle determinism out of a stochastic system. Predictability — the agent taking the same process every run — is the root virtue.
Two choices:
Pick model-invocation only when the agent must reach the skill on its own.
A model-invoked description does two jobs — state what the skill is, and list the branches that should trigger it.
A skill is built from two content types — steps and reference:
SKILL.md, the primary tier.SKILL.md, consulted on demand.SKILL.md into a separate file.Granularity is how finely you divide skills:
Keep each meaning in a single source of truth. Check every line for relevance. Then hunt no-ops sentence by sentence.
A leading word is a compact concept already living in the model's pretraining that the agent thinks with while running the skill.