Skip to content
doraval
Esc
navigateopen⌘Jpreview
On this page

R007 · body-size

Body within size budget

What Warns when the SKILL.md body exceeds roughly 20 000 characters (~5k tokens at ~4 chars/token).
Why Skills load in layers: frontmatter always, body on trigger, references/ / scripts/ / assets/ on demand. A long body steals context from the task.

How to fix

  1. Keep the procedural core in SKILL.md.
  2. Move deep tables and long examples into references/ (one topic per file).
  3. For a huge reference file, add a short table of contents at the top.
  4. Prefer a script under scripts/ for fragile, order-critical work — see R023.

Was this page helpful?