agnix
Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.
458 rules | Real-time validation | Auto-fix | Multi-tool support
Installation
pip install agnix
Or run it without installing:
uvx agnix .
The wheels bundle a prebuilt binary, so there is no Rust toolchain to install
and nothing is downloaded after pip install. Supported platforms:
| Platform | Wheel |
|---|---|
| Linux x86_64 (glibc) | manylinux_*_x86_64 |
| Linux x86_64 (musl, e.g. Alpine) | musllinux_1_2_x86_64 |
| Linux aarch64 (glibc) | manylinux_*_aarch64 |
| macOS Apple silicon | macosx_11_0_arm64 |
| Windows x86_64 | win_amd64 |
On any other platform, install from source with cargo install agnix-cli.
Usage
Command line
# Lint current directory
agnix .
# Lint specific file
agnix CLAUDE.md
# Auto-fix issues
agnix . --fix
# JSON output
agnix . --format json
# Target a specific tool
agnix . --target claude-code
python -m agnix works the same way as the agnix script.
Python API
import agnix
# Version reported by the bundled binary
print(agnix.version())
# Lint a path and get parsed diagnostics
report = agnix.lint(".", tool="claude-code")
print(report["summary"])
# Anything else: pass arguments straight through
result = agnix.run(["--fix", "CLAUDE.md"])
print(result.returncode, result.stdout)
Links
License
MIT OR Apache-2.0
Metadata
Release files for agnix 0.56.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| agnix-0.56.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.56.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.56.0-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.56.0-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.56.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 17.4 MB
Release files / agnix-0.56.0-py3-none-win_amd64.whl
| Download URL | agnix-0.56.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e92ab7fc773cb5ad1946e8b27a52a6e1ec20adfd653f39b29b8b6c2b12a230f0
|
|
BLAKE2b-256 checksum How to use checksums |
b1f316806fb010e9b9d269d3752ab375d410b3370488cef37a295408e2086e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / agnix-0.56.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.56.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
2721275346c28b5b0684145af0c84e04c882ed75b1de3b20caca990174bb7e08
|
|
BLAKE2b-256 checksum How to use checksums |
3542434c8e5ce80d2df7efbc8dff762c0fbe14caed1786b52cae59c09826e8ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / agnix-0.56.0-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.56.0-py3-none-manylinux_2_18_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Linux glibc 2.18+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
aa6f3d5b565ecb3a4690a2603e68fa46c8dc2bdf9ca66924b597818b63397b51
|
|
BLAKE2b-256 checksum How to use checksums |
b7ce1c5cc4406e826a3ce5308d206a5bae74de7c41ae86479d4c32497da6b0e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / agnix-0.56.0-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.56.0-py3-none-manylinux_2_18_aarch64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Linux glibc 2.18+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
e5b9aa5541e37d62c1934b0e4c774432f8700d0fd2c0f6f8550786511a2a1ede
|
|
BLAKE2b-256 checksum How to use checksums |
d56a6b25a5a2e2749387bb8dff634df7ad9937bbe289d40e25f1580e5b3800b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / agnix-0.56.0-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.56.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
66948fff30d6166ea21c8f4d1f78ea05b89e92a36191a1414ac190c60f99c582
|
|
BLAKE2b-256 checksum How to use checksums |
da44953739a08dd122ea2edcf783c9042383a7074cbf2da5b28d6b867172ed47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|