Skill creation conventions
- All skills live in
~/.claude/skills/asSKILL.mdfiles. - Command skills (invoked explicitly) get
disable-model-invocation: true; knowledge skills (always available for reference, never directly invoked) getuser-invocable: false. - Exception: a command skill may set
disable-model-invocation: falsewhen itswhen_to_usedescribes a moment Claude recognises before the user does (stale PR description, post-merge status drift, "add this to the roadmap" phrasing) and the skill contains its own approval gate before anything irreversible. The gate is the safety net; without one, keep ittrue.
Where to create a skill
- Always create in the project-local
.claude/skills/directory unless explicitly told to create it globally. - Check for naming conflicts with personal-level skills (
~/.claude/skills/); personal scope shadows project scope. - Use the new frontmatter convention below when creating or editing skills; recognise the old convention when reading existing skills.
Metadata convention (current)
Model and taxonomy live in real frontmatter, never in the description text:
model: opus # explicit on every command skill; omit on knowledge skills (inherit)
effort: high # explicit on every command skill; omit on knowledge skills (inherit)
metadata:
glyph: ᛟ # mirrors the model: field; omit when model is omitted
family: pr # the skill's family prefix (pr, roadmap, doc, clod-lens, …)
| Glyph | Rune | Model |
|---|---|---|
ᚺ |
hagalaz | haiku |
ᛊ |
sowilo | sonnet |
ᛟ |
othala | opus |
ᚠ |
fehu | fable |
Knowledge skills (user-invocable: false) set neither model nor effort: both fields override the session absolutely while the skill is active, so an inline reference skill would hijack the very turn that triggered it.
Model-tag conventions (old: recognise, don't write)
Retired forms that tagged the model inside description as "{{ X }} …": Greek triples (𝚫𝚫𝚫 haiku, ƔƔƔ sonnet, 𝛀𝛀𝛀 opus) and before that runic pairs (ᚻᛕ haiku, ᛇᚤ sonnet, ᛜᚹ opus, ᚨᛔ fable). On sight, migrate the skill to the metadata convention above.