SKILL.md stays under 500 lines

The spec and Anthropic both recommend keeping SKILL.md under 500 lines.

WarningFails on 199 of 4462 indexed skills
share

The whole body stays in context for the rest of the session

When a skill triggers, the agent loads its whole SKILL.md into context, and it stays there for the rest of the session. Every line costs room, whether the current task needs it or not.

The specification and Anthropic's guide both put the limit at 500 lines. Past that, a skill is usually carrying reference material, such as API tables, long examples or option lists, that only some tasks need. Those can sit in separate files that the agent opens only when a step asks for them.

"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
"SKILL.md should stay at or below 500 lines; larger files receive an advisory finding."
NVIDIA SkillEvaluator: Tier 1 reference, schema check

Move tables and long examples into reference files

Keep the procedure in SKILL.md and link the detail from the step that uses it.

FailsPasses
SKILL.md720 lines, including a 300-line API table180 lines
references/api.mdnonethe API table, linked from step 3