skill-lint
A static, read-only linter for Hermes Agent skills. It checks
SKILL.md files against the Skill authoring standards in Hermes' CONTRIBUTING.md and catches the defect that
actually ships most often: a SKILL.md that points at a script or reference file that is not there.
It is for people who write skills (and for the agent when it writes one): lint a draft before you open a PR, or audit
the skills you have installed.
Use
/skill-lint # every installed skill
/skill-lint my-skill # one skill, by name or folder
/skill-lint ./skills/my-draft # a skill folder (or a folder of skills) you name by path
The agent can call the same check as the skill_lint tool (name, path, min_severity, limit). Each finding has
a rule id, a severity, the file and the line.
Rules
| Rule | Severity | Checks (authoring standard) |
|---|---|---|
| SL001 | error | SKILL.md unreadable, no frontmatter, unclosed, invalid YAML, or not a mapping |
| SL002 | error | name or description missing or empty |
| SL010 | warning | description longer than 60 characters (1) |
| SL011 | warning | description is not one sentence ending in a period (1) |
| SL012 | warning | description uses marketing words: powerful, comprehensive, seamless, advanced (1) |
| SL020 | info | prose names grep, cat, sed, find, ... instead of the native tools (2) |
| SL030 | warning | scripts use POSIX-only primitives but the frontmatter has no platforms: (3) |
| SL050 | info | standard sections missing (5) |
| SL051 | info | standard sections out of order (5) |
| SL060 | error | a relative Markdown link in SKILL.md whose target file does not exist (6) |
| SL061 | info | a script in scripts/ that SKILL.md never mentions (6) |
| SL062 | warning | SKILL.md references a file under scripts/, references/ or templates/, the skill has that folder, and the file is not in it (6) |
| SL063 | info | the same reference when the skill has no such folder at all; often a description of another project, so only a hint (6) |
| SL070 | info | SKILL.md longer than 300 lines (5) |
Findings below the configured severity are hidden (default warning); the counts in the summary always cover all of them.
Only file references (a path ending in an extension) count, and inside a code block only scripts/ paths are checked,
because other files there are often generated output. scripts/run_tests.sh is the Hermes repo's own runner (standard 7)
and is never reported.
Measured on the 185 skills bundled with Hermes main (skills/ and optional-skills/), the default view reports 0
errors and 1 warning (a description that is two sentences); the style rules (info) report the rest.
Settings
# ~/.hermes/config.yaml
plugins:
entries:
skill-lint:
settings:
min_severity: warning # info | warning | error
max_findings: 200 # 1-2000
Safety
- Read-only. No network, no model calls, no subprocesses and no writes. It reads
SKILL.mdand script files (up to
1 MB each) under the skill folders Hermes searches, or under a path you pass. - A path you pass is checked against Hermes' own read denylist (
agent.file_safety.get_read_block_error) first, so a
credential folder or a project.envcannot be read through it. - Symlinks that leave the skill folder are not followed.
Develop
python3 -m unittest discover -s tests -p 'test_*.py'
Requires PyYAML outside Hermes (Hermes' own hermes_yaml is used inside it).
License
MIT © Shikhyy
README from the reviewed commit 852ec3e; it updates when the author re-pins.

Shikhyy