skill-check
Skill80 starsChanged 8 months agoMITView on GitHub
Validate skill/command file format and structure. Use after creating or editing a skill, before committing skill changes, or when a skill fails to load or trigger.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 139
Add missing name from directory name
- Very specific: line 142
Remove non-official fields (metadata, license, version)
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill File Validator
Validate skill files for correct format against the official Claude Code spec.
Validation Target
- With argument: validate specific file
- Without: validate all
.claude/skills/*/SKILL.md
Frontmatter Reference (official fields)
Skills support these fields. Only description is meaningfully required (a
skill with none of these still loads — name defaults to the directory name).
---
name: skill-name # Optional: defaults to directory name; lowercase, hyphenated
description: What it does # Recommended: shown in / menu and used for triggering
when_to_use: When to reach for it # Optional: appended to description for triggering
# (description + when_to_use truncated at 1,536 chars in listings)
user-invocable: true # Optional: default true; false hides from / menu (Skill tool still works)
model: sonnet # Optional: any /model value (sonnet, opus, haiku, fable, best,
# default, opusplan, sonnet[1m], opus[1m], a full model ID) or inherit
effort: medium # Optional: low, medium, high, xhigh, max
allowed-tools: # Optional: pre-approved tools. Accepts a comma-separated string
- Read # OR a YAML list — BOTH are official (list shown here as house style)
- Grep
- Glob
disallowed-tools: # Optional: explicitly blocked tools (string or YAML list)
- WebFetch
context: fork # Optional: run the skill in a subagent
agent: agent-name # Optional: subagent type when context: fork (default: general-purpose)
background: false # Optional (2.1.218+): with context: fork, false waits for the result;
# forked skills run in the background by default
argument-hint: "[issue-number]" # Optional: autocomplete hint shown after the skill name
arguments: target flags # Optional: space-separated argument NAMES for $name substitution
# (e.g. arguments "target flags" -> use $target and $flags in the body).
# NOT a structured array of name/description/required objects.
disable-model-invocation: false # Optional: bool; true also blocks scheduled-task invocation
paths: # Optional: glob patterns that limit where the skill activates
- "src/**/*.ts"
shell: bash # Optional: bash or powershell for inline !`command` blocks
hooks: # Optional: skill-scoped lifecycle hooks (same schema as settings.json)
PreToolUse:
- matcher: Write
hooks:
- type: command
command: ./scripts/validate.sh
Stop:
- hooks:
- type: command
command: ./scripts/verify.sh
once: true
---Valid Tools (for allowed-tools / disallowed-tools)
Read, Write, Edit, Bash, Grep, Glob, Agent (Task = legacy alias),
Skill, WebFetch, WebSearch, TodoWrite, NotebookEdit, AskUserQuestionNon-official fields (flag as warnings, not errors)
metadata, license, version # Not part of the skill spec; harmless but should be removed
once # Valid ONLY inside a hooks[] entry, never at skill top levelValidation Checklist
Required / Recommended Fields
descriptionpresent (recommended; used for the / menu and triggering)name, if present, is lowercase and hyphenated (defaults to directory name if omitted)
Optional Field Validation
allowed-tools/disallowed-toolsare valid tool namesallowed-tools/disallowed-toolsare a comma-separated string OR a YAML list (both valid)allowed-toolsdoes not broadly preapprove bareBash,Edit,Write,Agent,Task, orSkill; omit it when normal runtime approval is requiredmodelis a /model value (fable, opus, sonnet, haiku, best, default, opusplan, sonnet[1m], opus[1m], a full model ID) or inheriteffortis one of: low, medium, high, xhigh, maxcontextisfork(if specified)agentonly set alongsidecontext: fork(defaults to general-purpose)backgroundis boolean and only set alongsidecontext: fork(default true since 2.1.218)argument-hintis a stringargumentsis a space-separated string of argument names (NOT a structured array)when_to_useis a descriptive string (appended to description for triggering)description+when_to_usestay within 1,536 characters (the listing truncates beyond it)disable-model-invocationis booleanpathsis a list of glob patternsshellisbashorpowershelluser-invocableis booleanhookshas valid structure (matcher + hooks[] with type/command)
Unknown / Non-official Fields
- Accept
metadata(map),license, andcompatibility(<=500 chars): official but not acted on - Warn on
versionand any other field outside the official list; Claude Code ignores them silently - Warn on
onceused at the top level (only valid inside a hooks[] entry)
Content Structure
- Clear instructions
- Uses
$ARGUMENTS(or$nameperarguments) if expecting input - Step-by-step process if complex
Output Format
## Skill Validation Report
### Files Checked
| File | Status | Issues |
|------|--------|--------|
| workflow/SKILL.md | OK | None |
| my-skill/SKILL.md | WARN | Missing description |
### Summary
- Total: [N]
- Valid: [N]
- Needs fixes: [N]Auto-Fix
- Add missing
namefrom directory name - Add missing
description - Normalize a comma-separated
allowed-toolsstring to a YAML list (house style only — the string form is valid; do NOT flag it as an error) - Remove non-official fields (
metadata,license,version) - Convert a structured
argumentsarray to a space-separated name string - Replace
opusplanmodel with a supported value - Add
$ARGUMENTShandling
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- olgasafonova/SkillCheck-Free★ 41same name
- JckJhns/skill-check★ 2same name
- 0xkangl/skills★ 1same name
- demithras/ClearMeta★ 1same name
- lxztry/skill-check★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- changelog-observerSkill
- agent-checkSkill
- agentsSkill
- agent-templateSkill
- auto-loopSkill
- changelogSkill
- check-environmentSkill
- claude-md-checkSkill
- claude-md-templateSkill
- code-reviewerSkill
- debuggerSkill
- director-modeSkill
- doc-writerSkill
- evolving-loopSkill
- evolving-statusSkill
- focus-problemSkill
- getting-startedSkill
- handoff-claudeSkill
- handoff-codexSkill
- handoff-geminiSkill
- handoff-grokSkill
- hooks-checkSkill
- hook-templateSkill
- interop-routerSkill
- mcp-checkSkill
- planSkill
- project-health-checkSkill
- project-initSkill
- session-relaySkill
- skillsSkill
- skill-templateSkill
- smart-commitSkill
- test-firstSkill
- test-runnerSkill
- workflowSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

