Metadata-Version: 2.4
Name: episodely-skillcheck
Version: 0.1.0
Summary: Lint agent SKILL.md files: frontmatter, dead links and duplicate names.
Author: episodely
License: MIT
Project-URL: Homepage, https://github.com/episodely/skillcheck
Project-URL: Issues, https://github.com/episodely/skillcheck/issues
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# skillcheck

Lint agent skills. Agent skill bundles (a folder with a `SKILL.md`) are everywhere now, and a bad `description` or a dead link means the agent never picks the skill up or reads a missing file. `skillcheck` finds those problems before your agent does. Pure Python, no dependencies.

```
$ python skillcheck.py ./skills
./skills/pdf/SKILL.md  ok
./skills/notes/SKILL.md
  [error] dead-link: Link to 'reference.md' does not exist.
  [info] no-trigger: Description never says when to use the skill.
2 skill(s) checked, 1 error(s).
```

## Install

```
pip install episodely-skillcheck
```

Or copy `skillcheck.py` into your project, it has no dependencies.

## What it checks

- frontmatter exists, with `name` and `description`
- name is lowercase letters, digits, hyphens (max 64)
- description is not too short or too long, and says when to use the skill
- body is not empty or huge
- relative links point to files that exist
- no two skills share a name

Exit code is 1 when there is at least one `error`, so it fits CI. `--json` gives machine-readable output.

```
python skillcheck.py . --json
python -m pytest
```

The frontmatter parser handles simple `key: value` lines only (no nested YAML). MIT licensed.
