/skill-development:creating-skillfrom skill-development
Builds or revises a validated SKILL.md with scripts and references, packaged as a zip. Use for creating a reusable skill, troubleshooting trigger issues, or reviewing a SKILL.md.
Ships in skill-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A skill is instructions to the agent: a procedure with commands, checks and failure signals. Facts alone belong in a document labelled as a reference. The measurements behind every rule here are in references/skill-utility-evidence.md; read it when a rule seems arbitrary.
| Situation | Use |
|---|---|
| Whether the instruction should be a skill, project instructions or a prompt | crafting-instructions |
| Sentence-level quality of instruction prose | writing-instructions |
| Revising an existing skill that has evidence of underperforming | optimizing-skills |
| Project-specific context, one-off tasks | project instructions or a prompt |
Create the directory. mkdir -p <name>/{scripts,references,assets}; delete unused ones before shipping. Name: gerund first word (processing-pdfs), lowercase and hyphens, at most 64 characters, no "anthropic" or "claude".
Write the description (about 250 characters; 1024 is the hard limit):
-> and >200MB are rejected too);Validate the frontmatter:
python3 /mnt/skills/examples/skill-creator/scripts/quick_validate.py <skill-dir>
Allowed keys: name, description, license, allowed-tools, metadata, compatibility. One SKILL.md per directory.
Check confusability from oaustegard/claude-workspace:
python3 scripts/skill_confusability.py --skills <skills-root> --queries q.json
q.json: five task-shaped queries under the skill's name, negatives under __none__. Require top-1 on 5/5, no steals of sibling queries, no near-miss above the hit floor. A neighbour above ~0.65 cosine needs a routing row in both bodies.
Write the body in this order:
signal | action table. The signal is what the reader sees.Write imperatives. Give a reason only where it changes what the reader does, in one clause ("— it catches fixes the regression accepts"). Leave out motivation, provenance, results, dated incidents and paragraphs repeating the description; they go in the CHANGELOG. Phrase instructions positively, but keep negative scope (the Not-for table) as content.
Add resources only when they earn it. Code Claude would rewrite each time → scripts/, with explicit errors and non-zero exits. Detail that would push SKILL.md past ~500 lines → references/, one level deep. Output templates → assets/. A script that fails quietly is worse than none.
Write the CHANGELOG entry: what changed, provenance, measurements, and the dated story of any diagnosed failure the body now encodes as a row.
Bump metadata.version (releases trigger on the change). Commit each skill's bump separately: the release bot writes the commit subject into every bumped skill's CHANGELOG.
Test on three real scenarios — simple, complex, edge — and fix what actually happened.
Package for claude.ai upload when needed:
zip -r <name>.zip <name>/ && unzip -l <name>.zip
README.md, CHANGELOG.md and tests/ are stripped from release zips; put anything that must ship (credits, licenses) in SKILL.md or a shipped file.
| Signal | Action |
|---|---|
| Skill does not load; no error | an unquoted : or an angle bracket in the description; run quick_validate.py |
| Skill loses its own queries | description too long or reusing a sibling's phrases; cut to ~250 characters with three phrasings |
| Skill wins queries it should ignore | a disclaimer in the description; delete it and move routing into the body |
| Body explains, tells history or sells | move it to the CHANGELOG; keep steps, commands, signals |
| Steps read as goals ("scan the repo and check") | replace with the command and the output that means failure |
| CHANGELOG entry describes another skill's change | the release bot used a shared commit subject; edit it and bump separately next time |
| Agent applies the skill where it does not fit | the Not-for table is missing or names categories, not skills |
python3 /mnt/skills/examples/skill-creator/scripts/quick_validate.py <skill-dir>
python3 scripts/skill_confusability.py --skills <skills-root> --queries q.json # top-1 5/5
wc -l <skill-dir>/SKILL.md # under 500
grep -n "Diagnosed\|20[0-9][0-9]-[0-9][0-9]-" <skill-dir>/SKILL.md # dated stories left in the body
Bad success: a skill that validates and wins its queries while its body is a goal statement or a history — read the procedure as someone who must execute it with no other context.
quick_validate.py passes; confusability 5/5signal | action rowsreferences/skill-utility-evidence.md — measurements behind each rule, and the dated catalogue casesreferences/bundled-resources.md — scripts, references and assets patternsreferences/advanced-patterns.md — validation workflows, multi-stage skillsreferences/optimization-techniques.md — token budgetreferences/environment-reference.md — Claude.ai vs Claude Code pathsCHANGELOG.md (opens in a new tab)README.md (opens in a new tab)references/advanced-patterns.md (opens in a new tab)references/bundled-resources.md (opens in a new tab)references/environment-reference.md (opens in a new tab)references/optimization-techniques.md (opens in a new tab)references/skill-utility-evidence.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/crafting-instructionsChooses the right FORMAT for instructions on Claude.ai — project instructions, a skill, or a standalone prompt — and gives the format-specific structure once chosen. Use when the question is which container an instruction belongs in ("should this be a skill or project instructions", "where do I put this", "how do I set up this project", "is this worth a skill"), or when someone has instructions and does not know how to package them. For the writing principles that apply inside any of the three formats, use writing-instructions. For building, testing and packaging a complete skill directory, use creating-skill./finding-skillsDiscover and load skills on demand from /mnt/skills/user/. Use when you need a capability but don't know which skill provides it, when the boot-emitted skill list is names-only and you need a full description, or when you want to list the catalog. Verbs are list (names only), search (rank by name/description match against a query), and show (emit the full SKILL.md for a named skill)./inspecting-skillsDiscovers and indexes Python code in skills, enabling cross-skill imports. Use when importing functions from other skills or analyzing skill codebases./installing-skillsInstall skills from github.com/oaustegard/claude-skills into /mnt/skills/user. Use when user mentions "install skills", "load skills", "add skills", "update skills", "refresh skills", or references a skill not currently installed./optimizing-skillsDisciplined, validation-gated revision of an EXISTING skill so each edit is a measured improvement rather than a guess. Use when editing, revising, or tuning a skill that already exists and there is evidence it underperforms (observed failures, drift, complaints) — invoke by name, or have versioning-skills / creating-skill defer to it before applying edits. Not for authoring a brand-new skill from scratch (use creating-skill) or one-off prose./orchestrating-skillsSkill-aware orchestration with context routing. Decomposes complex tasks into skill-typed subtasks, extracts targeted context subsets, executes subagents in parallel, and synthesizes results. Self-answers trivial lookups inline. No SDK dependency — uses raw HTTP via httpx. Use when tasks require multiple analytical perspectives, when context is large and subtasks only need portions, or when orchestrating-chat-agents spawns too many redundant subagents.npx claudepluginhub oaustegard/claude-skills --plugin skill-developmentOther plugins' skills for the same job