Skill Creator
Create, evaluate, improve, package, and maintain Claude skills. Use this skill
when the user wants a new skill, an existing skill changed, skill performance
measured, evals run, or a skill description optimized for triggering accuracy.
Core Loop
- Determine where the user is: new skill, draft review, eval run, improvement,
description optimization, packaging, or troubleshooting.
- Capture intent and confirm the required input contract before writing.
- Draft or edit the skill folder.
- Create realistic test prompts when testing is useful.
- Run skill-vs-baseline evals when tooling supports it; otherwise run a
smaller qualitative review.
- Grade outputs, gather user feedback, and improve the skill.
- Repeat until the user is satisfied, objective checks pass, or progress stalls.
- Package or present the final skill when requested and supported.
Required Input Contract
Before writing a new skill, identify:
- what the skill enables Claude to do
- when it should trigger, including user phrases and contexts
- expected output format or artifacts
- dependencies, tools, scripts, reference docs, or assets
- safety boundaries and prohibited behavior
- whether evals are useful for the task type
If the conversation already contains the workflow to turn into a skill, extract
the sequence, tools, corrections, input/output formats, and success criteria
from the conversation before asking follow-up questions.
Skill Folder Contract
Use this structure unless the existing skill already has a compatible layout:
skill-name/
SKILL.md
scripts/
references/
assets/
evals/evals.json
SKILL.md is required and holds frontmatter plus concise operating guidance.
scripts/ holds deterministic or repetitive executable helpers.
references/ holds lazy-loaded detailed docs.
assets/ holds templates, icons, examples, or output resources.
evals/evals.json holds skill test prompts when evals are used.
Keep SKILL.md concise. Move bulky examples, schemas, deep explanations,
templates, troubleshooting detail, and long playbooks into references/.
Frontmatter Requirements
Every SKILL.md must include YAML frontmatter with:
name: stable skill identifier, usually matching the folder name.
description: the primary trigger mechanism. Include what the skill does and
when to use it.
Descriptions should be specific and slightly trigger-forward. Include likely
user intents and contexts, not only a generic capability label. Do not hide
triggering rules only in the body.
Safety and Security Constraints
- Do not create misleading skills.
- Do not add malware, exploit code, credential harvesting, data exfiltration, or
unauthorized-access workflows.
- Do not include secrets, credentials, private context, local user paths, session
records, memory exports, personal identifiers, or real tokens in skill files.
- Do not overfit instructions to one example when the skill should generalize.
- Preserve existing skill
name and frontmatter identity when improving an
installed skill unless the user explicitly asks for a rename.
- Treat bundled scripts as code: keep them scoped, inspectable, and testable.
Creation Workflow
- Capture intent: confirm capability, trigger contexts, output format,
dependencies, success criteria, and safety limits.
- Research: inspect existing files, examples, tools, references, and related
skills. Ask only the missing questions that affect the skill design.
- Draft structure: create
SKILL.md; add scripts/, references/,
assets/, and evals/ only when they carry real value.
- Write instructions: use imperative, general, reusable guidance. Explain
why important rules matter.
- Add minimal examples: include only examples needed for correct invocation
or output shape; move longer examples to references.
- Validate: check frontmatter, links, file layout, safety constraints, and
eval schema when present.
- Evaluate: run test prompts when meaningful; compare against baseline for
measurable skills.
- Iterate: improve based on transcript evidence, grader output, benchmarks,
and user feedback.
Full phase detail: references/workflow-deep-dive.md.
Validation Rules
- Do not claim eval success without evidence.
- Do not use
/skill-test or another testing skill for the skill-creator eval
loop.
- For eval runs, create a sibling workspace named
<skill-name>-workspace/ and
organize by iteration-N/eval-N/.
- For new skills, baseline is
without_skill.
- For improving existing skills, snapshot or otherwise preserve the old version
before comparing.
- Capture timing from completion notifications immediately when available.
- Use
eval-viewer/generate_review.py for human review when browser/static
output is available; do not invent custom review HTML.
- Use
agents/grader.md, agents/analyzer.md, and agents/comparator.md only
for their documented roles.
Detailed eval, grading, viewer, failure-mode, and security guidance:
references/validation-and-safety.md, references/eval-workflow.md, and
references/schemas.md.
Minimal Eval Example
{
"skill_name": "example-skill",
"evals": [
{
"id": 1,
"prompt": "User's task prompt",
"expected_output": "Description of expected result",
"files": []
}
]
}
Full schemas: references/schemas.md.
Output Expectations
When creating or modifying a skill, report:
- skill folder and files created or changed
- trigger behavior and output contract
- safety constraints included
- validation performed and results
- evals run, if any, with evidence
- known limitations and recommended next iteration
If packaging is requested and supported, use scripts/package_skill.py and point
to the created package artifact.
Environment Variants
- Claude Code/Codex with subagents: run parallel skill-vs-baseline evals when
useful.
- Claude.ai without subagents: run qualitative tests one at a time and ask for
user review inline.
- Headless/Cowork-like environments: generate a static review artifact instead
of a browser server.
Variant details and packaging notes: references/workflow-deep-dive.md.
Reference Map
references/workflow-deep-dive.md - full creation workflow, eval phase
details, environment variants, packaging, and advanced decisions.
references/frontmatter-and-structure.md - frontmatter examples, folder
layout, naming, output contracts, and resource placement.
references/authoring-patterns.md - writing patterns, long templates,
description guidance, progressive disclosure, and reusable instruction forms.
references/validation-and-safety.md - extended validation checks, failure
modes, eval mechanics, security caveats, and troubleshooting.
references/examples.md - end-to-end skill creation and improvement examples.
references/eval-workflow.md - existing detailed eval-and-review procedure.
references/description-optimization.md - existing trigger-description
optimization procedure.
references/schemas.md - JSON schemas for eval, grading, timing, and metrics.
references/skill-template-reference.md - existing anatomy diagram and
progressive-disclosure reference.
Specialized agents:
agents/grader.md - evaluate assertions against outputs.
agents/comparator.md - blind A/B comparison.
agents/analyzer.md - analyze why one version beat another.
1---2name: skill-creator3description: Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.4---56# Skill Creator78Create, evaluate, improve, package, and maintain Claude skills. Use this skill9when the user wants a new skill, an existing skill changed, skill performance10measured, evals run, or a skill description optimized for triggering accuracy.1112## Core Loop13141. Determine where the user is: new skill, draft review, eval run, improvement,15 description optimization, packaging, or troubleshooting.162. Capture intent and confirm the required input contract before writing.173. Draft or edit the skill folder.184. Create realistic test prompts when testing is useful.195. Run skill-vs-baseline evals when tooling supports it; otherwise run a20 smaller qualitative review.216. Grade outputs, gather user feedback, and improve the skill.227. Repeat until the user is satisfied, objective checks pass, or progress stalls.238. Package or present the final skill when requested and supported.2425## Required Input Contract2627Before writing a new skill, identify:2829- what the skill enables Claude to do30- when it should trigger, including user phrases and contexts31- expected output format or artifacts32- dependencies, tools, scripts, reference docs, or assets33- safety boundaries and prohibited behavior34- whether evals are useful for the task type3536If the conversation already contains the workflow to turn into a skill, extract37the sequence, tools, corrections, input/output formats, and success criteria38from the conversation before asking follow-up questions.3940## Skill Folder Contract4142Use this structure unless the existing skill already has a compatible layout:4344```text45skill-name/46 SKILL.md47 scripts/48 references/49 assets/50 evals/evals.json51```5253- `SKILL.md` is required and holds frontmatter plus concise operating guidance.54- `scripts/` holds deterministic or repetitive executable helpers.55- `references/` holds lazy-loaded detailed docs.56- `assets/` holds templates, icons, examples, or output resources.57- `evals/evals.json` holds skill test prompts when evals are used.5859Keep `SKILL.md` concise. Move bulky examples, schemas, deep explanations,60templates, troubleshooting detail, and long playbooks into `references/`.6162## Frontmatter Requirements6364Every `SKILL.md` must include YAML frontmatter with:6566- `name`: stable skill identifier, usually matching the folder name.67- `description`: the primary trigger mechanism. Include what the skill does and68 when to use it.6970Descriptions should be specific and slightly trigger-forward. Include likely71user intents and contexts, not only a generic capability label. Do not hide72triggering rules only in the body.7374## Safety and Security Constraints7576- Do not create misleading skills.77- Do not add malware, exploit code, credential harvesting, data exfiltration, or78 unauthorized-access workflows.79- Do not include secrets, credentials, private context, local user paths, session80 records, memory exports, personal identifiers, or real tokens in skill files.81- Do not overfit instructions to one example when the skill should generalize.82- Preserve existing skill `name` and frontmatter identity when improving an83 installed skill unless the user explicitly asks for a rename.84- Treat bundled scripts as code: keep them scoped, inspectable, and testable.8586## Creation Workflow87881. **Capture intent:** confirm capability, trigger contexts, output format,89 dependencies, success criteria, and safety limits.902. **Research:** inspect existing files, examples, tools, references, and related91 skills. Ask only the missing questions that affect the skill design.923. **Draft structure:** create `SKILL.md`; add `scripts/`, `references/`,93 `assets/`, and `evals/` only when they carry real value.944. **Write instructions:** use imperative, general, reusable guidance. Explain95 why important rules matter.965. **Add minimal examples:** include only examples needed for correct invocation97 or output shape; move longer examples to references.986. **Validate:** check frontmatter, links, file layout, safety constraints, and99 eval schema when present.1007. **Evaluate:** run test prompts when meaningful; compare against baseline for101 measurable skills.1028. **Iterate:** improve based on transcript evidence, grader output, benchmarks,103 and user feedback.104105Full phase detail: `references/workflow-deep-dive.md`.106107## Validation Rules108109- Do not claim eval success without evidence.110- Do not use `/skill-test` or another testing skill for the skill-creator eval111 loop.112- For eval runs, create a sibling workspace named `<skill-name>-workspace/` and113 organize by `iteration-N/eval-N/`.114- For new skills, baseline is `without_skill`.115- For improving existing skills, snapshot or otherwise preserve the old version116 before comparing.117- Capture timing from completion notifications immediately when available.118- Use `eval-viewer/generate_review.py` for human review when browser/static119 output is available; do not invent custom review HTML.120- Use `agents/grader.md`, `agents/analyzer.md`, and `agents/comparator.md` only121 for their documented roles.122123Detailed eval, grading, viewer, failure-mode, and security guidance:124`references/validation-and-safety.md`, `references/eval-workflow.md`, and125`references/schemas.md`.126127## Minimal Eval Example128129```json130{131 "skill_name": "example-skill",132 "evals": [133 {134 "id": 1,135 "prompt": "User's task prompt",136 "expected_output": "Description of expected result",137 "files": []138 }139 ]140}141```142143Full schemas: `references/schemas.md`.144145## Output Expectations146147When creating or modifying a skill, report:148149- skill folder and files created or changed150- trigger behavior and output contract151- safety constraints included152- validation performed and results153- evals run, if any, with evidence154- known limitations and recommended next iteration155156If packaging is requested and supported, use `scripts/package_skill.py` and point157to the created package artifact.158159## Environment Variants160161- Claude Code/Codex with subagents: run parallel skill-vs-baseline evals when162 useful.163- Claude.ai without subagents: run qualitative tests one at a time and ask for164 user review inline.165- Headless/Cowork-like environments: generate a static review artifact instead166 of a browser server.167168Variant details and packaging notes: `references/workflow-deep-dive.md`.169170## Reference Map171172- `references/workflow-deep-dive.md` - full creation workflow, eval phase173 details, environment variants, packaging, and advanced decisions.174- `references/frontmatter-and-structure.md` - frontmatter examples, folder175 layout, naming, output contracts, and resource placement.176- `references/authoring-patterns.md` - writing patterns, long templates,177 description guidance, progressive disclosure, and reusable instruction forms.178- `references/validation-and-safety.md` - extended validation checks, failure179 modes, eval mechanics, security caveats, and troubleshooting.180- `references/examples.md` - end-to-end skill creation and improvement examples.181- `references/eval-workflow.md` - existing detailed eval-and-review procedure.182- `references/description-optimization.md` - existing trigger-description183 optimization procedure.184- `references/schemas.md` - JSON schemas for eval, grading, timing, and metrics.185- `references/skill-template-reference.md` - existing anatomy diagram and186 progressive-disclosure reference.187188Specialized agents:189190- `agents/grader.md` - evaluate assertions against outputs.191- `agents/comparator.md` - blind A/B comparison.192- `agents/analyzer.md` - analyze why one version beat another.