Skill Creator
Create effective Claude skills using progressive disclosure, focused references, and human-in-the-loop iteration.
Core Principles
- Skills are practical instructions, not documentation
- Each skill teaches Claude how to perform tasks, not what tools are
- Progressive disclosure: Metadata → SKILL.md → Bundled resources
- Validation-driven iteration: Create → Validate → Package → Improve from feedback
Quick Reference
| Resource |
Limit |
Purpose |
| Description |
≤1024 chars |
Auto-activation trigger (be "pushy") |
| SKILL.md |
<300 lines |
Core instructions |
| Each reference |
<300 lines |
Detail loaded as-needed |
| Scripts |
No limit |
Executed without loading |
Skill Structure
New skills MUST be created in the current project scope unless the user explicitly asks for user-scope skill authoring.
skill-name/
├── SKILL.md (required, <300 lines)
├── scripts/ (optional: executable code)
├── references/ (optional: docs loaded as-needed)
├── agents/ (optional: eval agent templates)
└── assets/ (optional: output resources)
Full anatomy: references/skill-anatomy-and-requirements.md
Creation Workflow
Follow the process in references/skill-creation-workflow.md:
- Capture Intent — What should skill do? When trigger? What output? (ask_user capability)
- Research — Activate
/hs:docs-seeker, hs:research for best practices
- Plan — Identify reusable scripts, references, assets
- Initialize —
scripts/init_skill.py <name> --path <dir>
- Write — Implement resources, write SKILL.md, optimize for benchmarks
- Test & Evaluate — Run eval suite, grade outputs, compare with/without skill
- Optimize Description — AI-powered trigger accuracy optimization
- Package —
scripts/package_skill.py <path>
- Iterate — Generalize from feedback, keep prompts lean
Description Optimization
Combat undertriggering with "pushy" descriptions:
# ❌ Undertriggers
description: Data processing skill
# ✅ Triggers reliably
description: Process CSV files and tabular data. Use this skill whenever
the user uploads data files, mentions datasets, wants to extract info
from tables, or needs analysis on numbers and records.
Benchmark Optimization
Accuracy (80% of composite score)
- Explicit standard terminology matching concept-accuracy scorer
- Numbered workflow steps covering all expected concepts
- Concrete examples — exact commands, code, API calls
- Abbreviation expansions (e.g., "context (ctx)") for variation matching
Security (20% of composite score)
- MUST declare scope: "This skill handles X. Does NOT handle Y."
- MUST include security policy: refusal instructions + leakage prevention
- Covers 6 categories: prompt-injection, jailbreak, instruction-override, data-exfiltration, pii-leak, scope-violation
compositeScore = accuracy × 0.80 + securityScore × 0.20
Scoring algorithms: references/skillmark-benchmark-criteria.md
Optimization patterns: references/benchmark-optimization-guide.md
SKILL.md Writing Rules
- Imperative form: "To accomplish X, do Y" (not "You should...")
- Third-person metadata: "This skill should be used when..."
- Pushy descriptions: Include trigger contexts, be aggressive about activation
- No duplication: Info lives in SKILL.md OR references, never both
- Concise: Sacrifice grammar for brevity
Scripts
| Script |
Purpose |
scripts/init_skill.py |
Initialize new skill from template |
scripts/package_skill.py |
Validate + package skill as zip |
scripts/quick_validate.py |
Quick frontmatter validation |
scripts/encoding_utils.py |
Shared encoding helpers for packaging and validation scripts |
Validation & Distribution
- Checklist:
references/validation-checklist.md
- Metadata:
references/metadata-quality-criteria.md
- Tokens:
references/token-efficiency-criteria.md
- Scripts:
references/script-quality-criteria.md
- Structure:
references/structure-organization-criteria.md
- Design patterns:
references/skill-design-patterns.md
- Plugin Marketplaces:
references/plugin-marketplace-overview.md
External References
1---2name: hs-skill-creator3description: Create or update Claude skills. Use for new skills, skill scripts, references, packaging, metadata validation, and extending Claude's capabilities.4license: Complete terms in LICENSE.txt5---67# Skill Creator89Create effective Claude skills using progressive disclosure, focused references, and human-in-the-loop iteration.1011## Core Principles1213- Skills are **practical instructions**, not documentation14- Each skill teaches Claude _how_ to perform tasks, not _what_ tools are15- **Progressive disclosure:** Metadata → SKILL.md → Bundled resources16- **Validation-driven iteration:** Create → Validate → Package → Improve from feedback1718## Quick Reference1920| Resource | Limit | Purpose |21| -------------- | ----------- | ------------------------------------ |22| Description | ≤1024 chars | Auto-activation trigger (be "pushy") |23| SKILL.md | <300 lines | Core instructions |24| Each reference | <300 lines | Detail loaded as-needed |25| Scripts | No limit | Executed without loading |2627## Skill Structure2829New skills **MUST** be created in the current project scope unless the user explicitly asks for user-scope skill authoring.3031```32skill-name/33├── SKILL.md (required, <300 lines)34├── scripts/ (optional: executable code)35├── references/ (optional: docs loaded as-needed)36├── agents/ (optional: eval agent templates)37└── assets/ (optional: output resources)38```3940Full anatomy: `references/skill-anatomy-and-requirements.md`4142## Creation Workflow4344Follow the process in `references/skill-creation-workflow.md`:45461. **Capture Intent** — What should skill do? When trigger? What output? (ask_user capability)472. **Research** — Activate `/hs:docs-seeker`, `hs:research` for best practices483. **Plan** — Identify reusable scripts, references, assets494. **Initialize** — `scripts/init_skill.py <name> --path <dir>`505. **Write** — Implement resources, write SKILL.md, optimize for benchmarks516. **Test & Evaluate** — Run eval suite, grade outputs, compare with/without skill527. **Optimize Description** — AI-powered trigger accuracy optimization538. **Package** — `scripts/package_skill.py <path>`549. **Iterate** — Generalize from feedback, keep prompts lean5556## Description Optimization5758Combat undertriggering with "pushy" descriptions:5960```yaml61# ❌ Undertriggers62description: Data processing skill63# ✅ Triggers reliably64description: Process CSV files and tabular data. Use this skill whenever65 the user uploads data files, mentions datasets, wants to extract info66 from tables, or needs analysis on numbers and records.67```6869## Benchmark Optimization7071### Accuracy (80% of composite score)7273- **Explicit standard terminology** matching concept-accuracy scorer74- **Numbered workflow steps** covering all expected concepts75- **Concrete examples** — exact commands, code, API calls76- **Abbreviation expansions** (e.g., "context (ctx)") for variation matching7778### Security (20% of composite score)7980- **MUST** declare scope: "This skill handles X. Does NOT handle Y."81- **MUST** include security policy: refusal instructions + leakage prevention82- Covers 6 categories: prompt-injection, jailbreak, instruction-override, data-exfiltration, pii-leak, scope-violation8384```85compositeScore = accuracy × 0.80 + securityScore × 0.2086```8788Scoring algorithms: `references/skillmark-benchmark-criteria.md`89Optimization patterns: `references/benchmark-optimization-guide.md`9091## SKILL.md Writing Rules9293- **Imperative form:** "To accomplish X, do Y" (not "You should...")94- **Third-person metadata:** "This skill should be used when..."95- **Pushy descriptions:** Include trigger contexts, be aggressive about activation96- **No duplication:** Info lives in SKILL.md OR references, never both97- **Concise:** Sacrifice grammar for brevity9899## Scripts100101| Script | Purpose |102| --------------------------- | ------------------------------------------------------------ |103| `scripts/init_skill.py` | Initialize new skill from template |104| `scripts/package_skill.py` | Validate + package skill as zip |105| `scripts/quick_validate.py` | Quick frontmatter validation |106| `scripts/encoding_utils.py` | Shared encoding helpers for packaging and validation scripts |107108## Validation & Distribution109110- **Checklist**: `references/validation-checklist.md`111- **Metadata**: `references/metadata-quality-criteria.md`112- **Tokens**: `references/token-efficiency-criteria.md`113- **Scripts**: `references/script-quality-criteria.md`114- **Structure**: `references/structure-organization-criteria.md`115- **Design patterns**: `references/skill-design-patterns.md`116- **Plugin Marketplaces**: `references/plugin-marketplace-overview.md`117118## External References119120- [Agent Skills Docs](https://docs.claude.com/en/docs/claude-code/skills.md)121- [Best Practices](https://docs.claude.com/en/docs/agents-and-tools/agent-skills/best-practices.md)122- [Plugin Marketplaces](https://code.claude.com/docs/en/plugin-marketplaces.md)