Two posts explain how Claude Code “skills” are structured and how they actually trigger during use. A skill is a directory containing a required SKILL.md file. Claude always shows the skill’s frontmatter metadata (especially the name and description), but it loads the SKILL.md body only when the skill is matched and invoked. Because the description is what Claude uses for matching, both sources emphasize that the description should explicitly state the situations and phrases that should activate the skill, rather than describing the domain in broad terms. The first post provides a minimal working example and walks through common frontmatter fields: a name (often inferred from the folder), description (the trigger), disable-model-invocation (for “slash-only” task actions), and allowed-tools (to pre-approve tool permissions). It also covers arguments and a recommended approach for supporting files (e.g., keeping SKILL.md lean and linking to additional reference or example content).

The second post compares Anthropic’s 17 official skills against stated guidance. It reports that the “keep SKILL.md under 500 lines” recommendation is often exceeded in practice, and that most official skills are single-file rather than split into references/scripts. It also claims Anthropic descriptions tend to be broadly triggering and that the description matching behavior is effectively optimized via an evaluation process, not by “feel.”