Skip to main content

Claude Skill Lint

Test CodeQL Code Coverage Maintainability Dependabot Python versions PyPI - Downloads X URL

The linter for Claude Code skill.

Advantage

  • Wraps two purpose-built validators — skill-validator for SKILL.md structure and frontmatter, and markdownlint-cli2 for Markdown hygiene — behind a single command, so you don't need to discover, install, and orchestrate them yourself.
  • csklint install fetches and installs both tools (a Go binary and an npm package) for you, verifying the binary's SHA-256 checksum before installing it, on macOS, Debian, and Ubuntu.
  • csklint run executes as a pytest suite, so failures show up as familiar pytest output and slot straight into CI pipelines or pre-commit hooks without extra tooling.

Quickstart

Install the CLI:

pip install csklint

Install the tools it depends on (skill-validator and markdownlint-cli2):

csklint install

Lint your skills (defaults to ~/.claude/skills):

csklint run

A passing run prints a pytest summary ending in ... passed; a failing skill reports the offending file and the validator's error output.

How do I...

How do I lint skills in a different directory?

Pass the directory as an argument:

csklint run path/to/skills

How do I use this in CI?

Run csklint install once per CI run, then csklint run <skills_dir>; both exit non-zero on failure so the step fails the build.

- run: csklint install
- run: csklint run skills/

How do I install without root privileges?

csklint install writes skill-validator to /usr/local/bin, which typically requires root. Re-run the command with sudo if it reports a permission error.

Credits

This package was created with Cookiecutter and the yukihiko-shinoda/cookiecutter-pypackage project template.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csklint-0.3.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csklint-0.3.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file csklint-0.3.0.tar.gz.

File metadata

  • Download URL: csklint-0.3.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for csklint-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5e2b29aaf44f974e92eff6563b1009652c3a587b3948e04c51f60759b7eadf96
MD5 f8b535c59032029f26d8e2e245a7f892
BLAKE2b-256 16eca3db1428032b0176da5b7cf135c98a9749f537a382057c58b73a935e1794

See more details on using hashes here.

File details

Details for the file csklint-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: csklint-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for csklint-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7edcb525e44bc9d181e51072d963f73c3b6e10e10c7dbacb9332434298182e5c
MD5 555b19e0468bb40f98289fda43b6d0cd
BLAKE2b-256 e40f4379c1209c34a50c55c453df1496604f632a8e1641a54998c2a152cd5f60

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page