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.2.0.tar.gz (21.3 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.2.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for csklint-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2437def8c13fa431aaaa855c7ebe645fbf10cefb8591f91329ff31778057b17d
MD5 88d85f99d0196abc245a0a0dc799ac67
BLAKE2b-256 73e9fd40d5a48cac2972def374ee42e48f8a696dc01f908af48b224033d7d1d3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for csklint-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf73ebdf3d3a2c3d01c460fcaf1c4f33fc04fafe09c92edb823453a5183195c8
MD5 c018210e45b01b31e63b71508a275e26
BLAKE2b-256 e533fcc41ffeae6d212f1bb0d629fff9a602c5738b80c9747486945caba29e05

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.0 This release

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