AgentSkills.site

SKM-B01 · Warning

Body is longer than 500 lines

The specification recommends keeping SKILL.md under 500 lines and moving detail into `references/`.

What the rule is

The specification recommends keeping SKILL.md under 500 lines, with additional detail moved into `references/` files instead. This is a recommendation, not a hard constraint like the `name` and `description` rules — no documented behaviour treats it as a hard failure.

The reason it matters anyway: the full body loads into context the moment the skill activates, on every runtime. A long body isn't just harder to maintain — it's a real, recurring context cost every time the skill fires.

Where it comes from

Which runtimes enforce it

RuntimeEffectNote
Claude CodeDegradesThe full body loads the moment the skill activates, on every runtime — a long body is a real context cost, not just untidy, even though no runtime hard-rejects it.
CodexDegradesThe full body loads the moment the skill activates, on every runtime — a long body is a real context cost, not just untidy, even though no runtime hard-rejects it.
CursorDegradesThe full body loads the moment the skill activates, on every runtime — a long body is a real context cost, not just untidy, even though no runtime hard-rejects it.
OpenClawDegradesThe full body loads the moment the skill activates, on every runtime — a long body is a real context cost, not just untidy, even though no runtime hard-rejects it.
Hermes AgentDegradesThe full body loads the moment the skill activates, on every runtime — a long body is a real context cost, not just untidy, even though no runtime hard-rejects it.

How to fix it

  • Move detailed reference material, examples, or edge-case handling out of SKILL.md and into a `references/` file, leaving the main body as the core procedure.
  • Keep only what the agent needs on every activation in the body itself.

Elsewhere