Validates Agent Skills directories and agent files with deterministic rules - frontmatter, size, references, layout and CLI-fronting skills. Use when a skill or an agent is about to be committed, after each iteration of a skill being written, or when CI reports a skill-check finding.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Skill Check?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/broneq-skill-check)
---
name: skill-check
description: Validates Agent Skills directories and agent files with deterministic rules - frontmatter, size, references, layout and CLI-fronting skills. Use when a skill or an agent is about to be committed, after each iteration of a skill being written, or when CI reports a skill-check finding.
license: MIT
allowed-tools: Bash(node ${CLAUDE_PLUGIN_ROOT}/dist/skill-check.mjs *)
metadata:
fronts-cli: skill-check
---
Run the checker from the project root after you add or change a skill or an agent, after each iteration while you write one, and before you commit. It reads `skill-check.config.ts` (or `.mjs`, `.js`) from the working directory.
```sh
node ${CLAUDE_PLUGIN_ROOT}/dist/skill-check.mjs --json
```
Exit 0 means clean. Exit 1 means findings: each one names a rule ID, a file and a line. Exit 2 means the config or the arguments are wrong; the reason is on stderr. Exit 3 means skill-check or one of its rules failed before the check finished; stderr names it, and it is not a finding in the skill.
Fix a finding in the file it names. Run the command with `--explain <rule>` in place of `--json` to read what that rule asks for, why, and how to fix it.
`skill-check --help` is the only usage reference: run the command above with `--help` instead of `--json` for options, the baseline and exit codes.