All plugins

skill-lint

Static linter for skills: checks SKILL.md files against the Hermes skill authoring standards (frontmatter, description rules, standard sections, references to files the skill does not contain, POSIX-only scripts without platforms:), as the skill_lint tool and the /skill-lint command. Disclosure — read-only: it reads SKILL.md and script files (up to 1 MB each) under the skill folders Hermes searches, or under a folder passed as path after Hermes' own read denylist check, and makes no network requests, runs no subprocesses, calls no model and writes no files.

ShikhyyToolsv0.1.0Updated 1 day ago

About

Static linter for skills: checks SKILL.md files against the Hermes skill authoring standards (frontmatter, description rules, standard sections, references to files the skill does not contain, POSIX-only scripts without platforms:), as the skill_lint tool and the /skill-lint command. Disclosure — read-only: it reads SKILL.md and script files (up to 1 MB each) under the skill folders Hermes searches, or under a folder passed as path after Hermes' own read denylist check, and makes no network requests, runs no subprocesses, calls no model and writes no files.

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

RuleSeverityChecks (authoring standard)
SL001errorSKILL.md unreadable, no frontmatter, unclosed, invalid YAML, or not a mapping
SL002errorname or description missing or empty
SL010warningdescription longer than 60 characters (1)
SL011warningdescription is not one sentence ending in a period (1)
SL012warningdescription uses marketing words: powerful, comprehensive, seamless, advanced (1)
SL020infoprose names grep, cat, sed, find, ... instead of the native tools (2)
SL030warningscripts use POSIX-only primitives but the frontmatter has no platforms: (3)
SL050infostandard sections missing (5)
SL051infostandard sections out of order (5)
SL060errora relative Markdown link in SKILL.md whose target file does not exist (6)
SL061infoa script in scripts/ that SKILL.md never mentions (6)
SL062warningSKILL.md references a file under scripts/, references/ or templates/, the skill has that folder, and the file is not in it (6)
SL063infothe same reference when the skill has no such folder at all; often a description of another project, so only a hint (6)
SL070infoSKILL.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.md and 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 .env cannot 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.

More by Shikhyy

2 plugins by Shikhyy in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section