askill
skills-validator

skills-validatorSafety 95Repository

Comprehensive validation of AI agent skills against the 44-point cross-platform quality checklist. Use when (1) Building or editing a skill and need quality verification before deployment, (2) Reviewing community skills for compliance, (3) Running pre-commit or CI validation on skill changes, (4) Auditing local skills for cross-platform compatibility. Primary command is validate-skill with a path to a skill directory.

0 stars
1.2k downloads
Updated 2/21/2026

Package Files

Loading files...
SKILL.md

Skills Validator

Validates AI agent skills against a 44-point cross-platform quality checklist covering structure, metadata, triggers, token efficiency, and portability.

Quick Start

python3 scripts/validate_skill.py /path/to/skill

Example output:

Skills Validator: /path/to/my-skill
==========================================================
SKILL.md Core (7 checks)
  [PASS] C1.1  SKILL.md exists
  [PASS] C1.2  YAML frontmatter parses
  [WARN] C1.5  Description completeness (no numbered use cases)
...
==========================================================
Summary: 28 PASS | 2 WARN | 0 FAIL | 12 MANUAL | 1 SKIP
Result: WARN (exit code 2)

Commands

Primary: Validate a skill

# Validate a single skill directory
python3 scripts/validate_skill.py /path/to/skill

# JSON output for tooling
python3 scripts/validate_skill.py /path/to/skill --json

# Strict mode (WARNs become FAILs, for CI)
python3 scripts/validate_skill.py /path/to/skill --strict

# Single category only
python3 scripts/validate_skill.py /path/to/skill --category C1

Natural Language (Cross-Platform)

  • "Validate this skill"
  • "Check skill quality"
  • "Run the skills checklist"
  • "Audit this skill for compliance"

Batch Validation

# Validate all local skills
for d in ~/.agent/skills/local/*/; do
  python3 scripts/validate_skill.py "$d"
  echo "---"
done

Check Categories

CategoryChecksFocus
C17SKILL.md core: existence, frontmatter, name, description, body
C27File structure: dirs, executability, paths, references depth
C36Frontmatter: properties, file references, trigger placement
C47Triggers: keywords, natural language, examples, dependencies, body sections
C58Token efficiency: budget, relevance (mostly manual review)
C69Portability: Markdown-only, platform deps (partially manual)

Result Statuses

StatusMeaningAffects Exit Code
PASSCheck passedNo
WARNHeuristic concern (may be false positive)Exit 2
FAILHard requirement violatedExit 1
MANUALRequires human/AI judgmentNo
SKIPNot applicable or dedupedNo

Exit Codes

  • 0 — All automated checks pass
  • 1 — At least one FAIL (or WARNs in --strict mode)
  • 2 — No FAILs but at least one WARN

Options

FlagEffect
--jsonMachine-readable JSON output
--strictPromote all WARNs to FAILs
--category C1,C2Run only specified categories

Scripts

Requires Python 3.8+. No external packages needed (PyYAML optional for YAML parsing; falls back to built-in parser).

  • scripts/validate_skill.py — Main validator. Run against any skill directory.

Reference Files

  • references/skills-checklist.md — Read when you need the full 44-point checklist with rationale, platform compatibility matrix, or cross-platform testing guidance. Contains all check definitions and their sources.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

91/100Analyzed 2/22/2026

High-quality technical skill for AI agent skill validation. Comprehensive 44-point checklist with clear commands, multiple output modes, well-structured tables, and good coverage of use cases. Includes batch validation, CI integration, and cross-platform natural language triggers. Located in dedicated skills folder with appropriate tags. Strong bonus from R3 (when to use), R5 (structured steps), R6 (tags), R10 (skills folder), and R11 (technical reference content). Minor deduction for internal-only signal due to repo-specific checklist references."

95
90
90
88
92

Metadata

Licenseunknown
Version-
Updated2/21/2026
PublisherIMUR

Tags

ci-cd