Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
skillscatalog avatar

Skill Validator

  • 15 installs
  • 1 repo stars
  • Updated January 3, 2026
  • skillscatalog/registry

skill-validator is an agent skill that validates Agent Skills folders against the official specification using a bundled Python CLI.

About

skill-validator is a Skill Development checker for solo and indie builders who ship agent skills to registries like Prism or skills.sh. It runs a Python CLI against a skill folder and applies the same specification rules the catalog uses, so you catch frontmatter, structure, and compliance issues before users install your package. Use it when you are authoring or updating SKILL.md, bundling scripts, or preparing a release that must pass manifest and integrity expectations. The skill bundles validate_skill.py with argparse-driven usage, JSON reporting for automation, and a strict mode for tighter gates. It fits the Build phase on the agent-tooling shelf and also supports Ship-phase review when you treat spec compliance as a launch checklist. You get repeatable validation instead of guessing whether an agent runtime will accept your skill layout.

  • Mirrors catalog spec-compliance rules via validate_skill.py for consistent pass/fail behavior
  • CLI validates a skill directory path with optional --json and --strict modes
  • SHA-256 manifest integrity block documents SKILL.md and bundled script fingerprints
  • Two-file layout: SKILL.md manifest plus scripts/validate_skill.py validator
  • Structured validation output suitable for CI and pre-publish gates

Skill Validator by the numbers

  • 15 all-time installs (skills.sh)
  • Ranked #482 of 782 Skill Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 27, 2026 (Skillselion catalog sync)
npx skills add https://github.com/skillscatalog/registry --skill skill-validator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs15
repo stars1
Security audit3 / 3 scanners passed
Last updatedJanuary 3, 2026
Repositoryskillscatalog/registry

What it does

Validate local SKILL.md packages against the Agent Skills spec before you publish or submit them to a catalog.

Who is it for?

skill authors and maintainers who want the same validation logic as the skills catalog before every commit or publish.

Skip if: Skip if you only consume third-party skills and never author SKILL.md packages—skip unless you are packaging your own skill.

When should I use this skill?

Before publishing, submitting to a catalog, or merging changes to a skill package that must match Agent Skills specification.

What you get

You receive structured pass/fail validation from validate_skill.py so you can fix spec issues before catalog ingest or CI release.

  • Console or JSON validation report for the skill path
  • Spec compliance pass/fail suitable for CI pipelines

By the numbers

  • 2 bundled files: SKILL.md manifest and scripts/validate_skill.py
  • Supports --json and --strict CLI flags per bundled usage docs

Files

SKILL.mdMarkdownGitHub ↗

Instructions

Use this skill to validate any Agent Skill directory against the specification before publishing. The validator checks:

  • SKILL.md presence - Required manifest file exists
  • Frontmatter format - Valid YAML frontmatter with required fields
  • Name validation - 1-64 chars, lowercase, hyphens only, starts with letter
  • Name-directory match - Name field matches the directory name
  • Description validation - 1-1024 characters, non-empty
  • Structure validation - Valid folder organization

When to Use

  • Before submitting a skill for publication
  • After making changes to SKILL.md
  • To diagnose why a skill was rejected
  • As part of CI/CD pipelines

How to Use

Validate a skill directory:

Validate the skill at /path/to/my-skill

Get JSON output for CI integration:

python3 validate_skill.py /path/to/my-skill --json

Output

✓ Skill Validation Report
  Skill: pdf-tools
  Status: COMPLIANT (100/100)

  Checks:
    ✓ SKILL.md exists
    ✓ Valid frontmatter
    ✓ Name format valid (pdf-tools)
    ✓ Name matches directory
    ✓ Description valid (45 chars)
    ✓ Structure valid

  No issues found.

Or if issues are found:

✗ Skill Validation Report
  Skill: My-Skill
  Status: NON-COMPLIANT (40/100)

  Checks:
    ✓ SKILL.md exists
    ✓ Valid frontmatter
    ✗ Name format invalid
    ✗ Name doesn't match directory
    ✓ Description valid
    ✓ Structure valid

  Issues:
    - Name must be lowercase with hyphens only (got "My-Skill")
    - Name 'My-Skill' doesn't match directory 'my-skill'

Examples

Basic validation:

User: Validate the skill at ./document-skills/pdf
Agent: Running validation on ./document-skills/pdf...
       ✓ Skill is compliant (100/100)

Fix validation errors:

User: Why is my skill failing validation?
Agent: Let me check... Running validator...
       The name field uses underscores. Change "pdf_tools" to "pdf-tools".

Limitations

  • Does not validate skill functionality (only structure/format)
  • Does not run safety scans (use skill-safety-scanner for that)
  • Requires local filesystem access to the skill directory

Dependencies

  • Python 3.9+
  • PyYAML (optional, falls back to basic parsing)

Related skills

How it compares

Use instead of hand-reading the spec or ad-hoc lint scripts that drift from catalog compliance rules.

FAQ

Who is skill-validator for?

Developers and small teams authoring Agent Skills who need spec compliance checks aligned with catalog ingest rules before publish.

When should I use skill-validator?

During Build agent-tooling when packaging SKILL.md, before Ship review as a release gate, and in CI when validating skill directories with --json output.

Is skill-validator safe to install?

Review the Security Audits panel on this Prism page and inspect scripts/validate_skill.py locally; the skill runs filesystem reads on paths you pass to the CLI.

Skill Developmentintegrationstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.