agentskills-lint
v0.2.0
Published
Zero-config linter for the Agent Skills specification (agentskills.io)
Downloads
91
Maintainers
Readme
agentskills-lint
Zero-config linter for the Agent Skills specification.
Usage
npx agentskills-lint [path]With no path, it lints ./skills/ if that exists, otherwise the current
directory. A directory containing SKILL.md is linted as one skill; any other
directory is walked for skills.
Flags
--json— emit{ "findings": [...], "skillCount": n }as JSON.--strict— treat warnings as errors (exit 1).
Exit codes
0— clean, or warnings only without--strict.1— one or more errors (or any warning under--strict).2— no skills found, or the path is missing or unreadable.
What it checks
Errors are spec violations (name rules, description length, metadata shape, frontmatter parse). Warnings are authoring best practices (weak description, body over budget, broken or deeply nested file references, unknown frontmatter keys, empty body).
