AS-021: SKILL.md Body Exceeds 5,000 Tokens - Agent Skills
Summary
- Rule ID:
AS-021 - Severity:
MEDIUM - Category:
Agent Skills - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://agentskills.io/specification
- https://agentskills.io/skill-creation/best-practices
- https://docs.cline.bot/customization/skills
- https://code.claude.com/docs/en/skills
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
(a SKILL.md body of about 25,000 characters in under 500 lines)
Valid
---
name: focused
description: Use when formatting release notes.
---
Short instructions; details live in references/format.md.