skill-progressive-disclosure-design

Decides how to split SKILL.md content into reference files for context-efficient skill architecture.

Updated May 23, 2026
One-click install
npx skills add https://github.com/Oatse/CWE-Automation --skill skill-progressive-disclosure-design-oatse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-progressive-disclosure-design
Source: https://github.com/Oatse/CWE-Automation/tree/main/.agents/skills/skill-progressive-disclosure-design
Command: npx skills add https://github.com/Oatse/CWE-Automation --skill skill-progressive-disclosure-design-oatse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When building or refactoring AI agent skills, it is hard to know what belongs in SKILL.md versus references/ or scripts/, and bad splits waste context tokens, break triggering assumptions, or hide critical content from the model. ## Core Features & Use Cases - Split decision framework: Separates triggering problems (fix the YAML description) from disclosure problems (file splitting), and defaults to keeping skills monolithic until evidence justifies a split. - Three proven split axes: Guides variant-branch splits (e.g., AWS/GCP/Azure), workflow-vs-reference-data splits (procedures vs. lookup tables), and depth-tier splits (common path vs. edge cases), each with explicit pros and cons. - Anti-pattern detection and architecture evals: Flags topic-based splits, cosmetic splits, and rare-but-critical content in references/, plus provides instrumentation, load-rate metrics, and decision rules (e.g., merge references co-loaded over 70% of runs). - Use Case: Your SKILL.md has grown to 600 lines covering three cloud providers. This skill recommends a variant-branch split with one reference file per provider and writes the exact pointer sentences for SKILL.md. ## Quick Start Ask the skill to review your SKILL.md and recommend whether and how to split its content into reference files.

Frequently Asked Questions about skill-progressive-disclosure-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split a SKILL.md that is too long?

Split only when the file exceeds roughly 400 lines and content has a sharp, observable branching condition. Use a variant-branch split for mutually exclusive paths, a workflow-vs-reference split for lookup data, or a depth-tier split for edge cases.

Does splitting a skill into reference files improve triggering?

No. Triggering is driven entirely by the YAML description field, not file structure. If a skill activates unreliably, rewrite the description with explicit trigger phrases instead of splitting files.

When should I use scripts/ instead of references/ in a skill?

Use scripts/ for anything deterministic such as validation, formatting, schema generation, or regex-heavy parsing. Scripts execute with zero context cost, are repeatable, and can be unit tested independently of the skill.

Why is putting critical content in references/ a bad idea?

References are optional by design, so the model may skip reading them. Rare-but-critical content must live in SKILL.md to load reliably, or the skill should be split into two separate skills.

What are the limits of topic-based skill splits?

Topic-based splits fail because real tasks span multiple topics, forcing several reference loads per invocation and erasing context savings. They also duplicate cross-cutting concerns and fragment conceptually unified content.