Context budget optimization
Compression priorities
Keep:
- trigger lists
- decision tables
- short checklists
- one integrated example per high-value scenario
Trim:
- repeated background explanations
- duplicate examples with the same lesson
- low-signal prose that does not change behavior
Layering strategy
SKILL.md: high-signal overview, activation cues, linksrules/*.md: deeper procedures and examples
Only promote details to SKILL.md when repeated eval failures show they are being missed.
Budget checks
Before shipping a skill update, ask:
- Which added lines are behavior-critical?
- Could this section be expressed as a checklist/table?
- Does each example teach a unique failure mode?
Safe simplifications
- Convert paragraphs to bullet checklists
- Merge similar examples and annotate variants
- Move deep rationale into one explanation section and cross-link to it