← Browse

@moonrunnerkc/skillcheck

A

Validates SKILL.md files for spec-facing structure, sizing, references, cross-agent compatibility, and agent-authored critique or graph diagnostics.

skillclaude

Install

agr install @moonrunnerkc/skillcheck --target claude

Writes 11 files into .claude/skills/, pinned to git-ad1a7187.

  • .claude/skills/skillcheck/.gitignore
  • .claude/skills/skillcheck/.pre-commit-hooks.yaml
  • .claude/skills/skillcheck/CHANGELOG.md
  • .claude/skills/skillcheck/CONTRIBUTING.md
  • .claude/skills/skillcheck/LICENSE
  • .claude/skills/skillcheck/Makefile
  • .claude/skills/skillcheck/README.md
  • .claude/skills/skillcheck/REMEDIATION-EVIDENCE.md
  • .claude/skills/skillcheck/SKILL.md
  • .claude/skills/skillcheck/action.yml
  • .claude/skills/skillcheck/pyproject.toml

Document


name: skillcheck description: Validates SKILL.md files for spec-facing structure, sizing, references, cross-agent compatibility, and agent-authored critique or graph diagnostics. version: "1.3.0" author: "Brad Kinnard (moonrunnerkc), Aftermath Technologies Ltd"

Use this skill when validating a SKILL.md file or a directory of skill files with the skillcheck CLI.

Validate

Run the default symbolic checks:

skillcheck SKILL.md
skillcheck skills/ --format json

The report includes errors, warnings, and info diagnostics. Exit code 0 means no errors. Exit code 1 means at least one error, or warnings with --strict, or a regression with --fail-on-regression. Exit code 2 means input or argument error. Exit code 3 means symbolic validation passed but ingested agent critique found semantic errors.

Agent workflows

For semantic self-critique, emit a prompt and ingest the returned JSON:

skillcheck SKILL.md --emit-critique-prompt > prompt.txt
skillcheck SKILL.md --ingest-critique response.json

For capability graph work, use:

skillcheck SKILL.md --analyze-graph
skillcheck SKILL.md --emit-graph --format json

Configuration

skillcheck.toml can set CLI defaults and frontmatter extension fields:

[frontmatter]
extension_fields = ["my-org-tag", "internal-id"]

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-ad1a718750d02026-07-31