Long skills keep detail in reference files

A body over 250 lines that never points to a bundled file, by link or by path.

WarningFails on 402 of 4462 indexed skills
share

Detail the agent rarely needs still costs context every time

Skills are built to load in stages. The description is always in context, the body loads when the skill triggers, and bundled reference files load only when a step points to them.

A long body with no reference files skips that last stage. Every table and edge case loads each time the skill runs, even for the simple cases that need none of it. Moving the deepest detail into a linked file keeps the always-loaded part small without losing anything.

"Keep your main SKILL.md under 500 lines. Move detailed reference material to separate files."
Agent Skills specification: progressive disclosure
"Keep the SKILL.md body under 500 lines for optimal performance. If your content exceeds this, split it into separate files using the progressive disclosure patterns described earlier."
Anthropic: skill authoring best practices, token budgets

Link a reference file from the step that needs it

Move the largest tables or examples into a file in the skill folder and point to it from the step that uses it. A Markdown link or a plain path such as references/fields.md both count.

This fails:

3. Map the fields. (followed by a 120-line field table)

This passes:

3. Map the fields. The full list is in [references/fields.md](references/fields.md).

Skillland's call: The 250-line point, half the 500-line limit, is Skillland's.