Aigent validator
AI agent skill builder and validator
npx -y skills add wkusnierczyk/aigent-skills --skill aigent-validatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Validates AI agent skill definitions against the Anthropic agent skill best practices specification. Checks SKILL.md frontmatter fields, name format, description quality, and structural requirements. Use when the user asks to "validate a skill", "check a skill", "verify SKILL.md", or wants to ensure a skill follows best practices.
SKILL.md
3.5 KB, as published. Nobody here has run it
AIgent Validator
Validates AI agent skill definitions against the Anthropic agent skill best practices specification and the reference implementation rules. Reports all validation errors with suggested fixes.
When to Use
Use this skill when:
- The user asks to validate, check, or verify a skill definition
- The user wants to ensure a
SKILL.mdfile follows best practices - The user has just created or edited a skill and wants to confirm it is valid
- A skill build has completed and the output needs verification
Instructions
Step 1: Identify the target
Determine the skill directory to validate. The user may provide:
- A directory path (e.g.,
.claude/skills/my-skill/) - A path to a
SKILL.mdfile directly (resolve to its parent directory)
If not specified, look for skill directories in the current project (check .claude/skills/ and skills/).
Step 2: Detect aigent availability
Run the following to check if the aigent CLI is installed:
command -v aigent
Step 3a: With aigent (primary mode)
If aigent is on PATH, use the CLI for authoritative validation:
aigent validate <skill-dir>
- Exit code 0: The skill is valid. Report success to the user.
- Exit code 1: Validation errors are printed to stderr. Report each error and suggest how to fix it.
Common errors and fixes:
- "Missing required field: name" — add a
namefield to the YAML frontmatter - "Missing required field: description" — add a
descriptionfield - "name must match directory" — rename the directory or the
namefield to match - "name must not contain reserved word" — remove
anthropicorclaudefrom the name - "description must not contain XML tags" — remove any
<tag>patterns from the description
Step 3b: Without aigent (fallback mode)
If aigent is not available, validate manually by reading the SKILL.md file:
-
Check file structure:
- File exists and is named
SKILL.md(case-sensitive) - Contains YAML frontmatter between
---delimiters
- File exists and is named
-
Validate
namefield:- Present and non-empty
- String type
- Lowercase letters, digits, and hyphens only (
[a-z0-9-]) - Maximum 64 characters
- No leading, trailing, or consecutive hyphens
- Must not contain reserved words:
anthropic,claude - Should match the directory name
-
Validate
descriptionfield:- Present and non-empty
- String type
- Maximum 1024 characters
- No XML-like tags (patterns like
<word>or<word/>)
-
Check optional fields:
license— string if presentcompatibility— string, maximum 500 characters if presentallowed-tools— string if presentmetadata— hash/object if present
-
Reject unknown fields:
- Only the fields listed above are permitted
- Flag any unrecognized top-level frontmatter key
-
Report all findings to the user with specific fix suggestions.
-
Inform the user that this was a manual check. Recommend installing
aigentfor authoritative validation with full spec compliance.