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.2
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.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.56.2-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.56.2-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.56.2-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.56.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 17.0 MB
Release files / agnix-0.56.2-py3-none-win_amd64.whl
| Download URL | agnix-0.56.2-py3-none-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3e2de9c97b1409f70ee527a4540f1138f4511056cef18acfeb8617118ad4beb9
|
|
BLAKE2b-256 checksum How to use checksums |
7e6f443943b52baa0409fd12f9da60b0f08f6f98565f3bce2eec092cdad796b0
|
| 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.2-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.56.2-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
adf028729c969d1977c63ba70c1d86cb837562244fea3f11ad86aac000355e94
|
|
BLAKE2b-256 checksum How to use checksums |
5f3250952fb92b7007f98bbbfef7d467b93cd7fe9411ab2ca62c6e89958c3e3a
|
| 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.2-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.56.2-py3-none-manylinux_2_18_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Linux glibc 2.18+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
9d47169a6f51baa0802f0533a8e1f452097397a9bae185e9c6c93b5733a92908
|
|
BLAKE2b-256 checksum How to use checksums |
8c9be794dad94b3f28d507211befecef5bb524968fa9f15533303d9fb62b5f93
|
| 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.2-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.56.2-py3-none-manylinux_2_18_aarch64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Linux glibc 2.18+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
c079edaaee0ce3c34c209dfc505eab74663d82a4bfa69bbad504c2a99e506591
|
|
BLAKE2b-256 checksum How to use checksums |
50d0b5fd970f289757b1aba426a9f2baaff319e0d02e979fe20ef7011b5255bf
|
| 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.2-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.56.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
89c8bd1070ed5c4246a28d7cce1b6e20a5da10a3f51bf6ef8e270b030dc4cdd7
|
|
BLAKE2b-256 checksum How to use checksums |
da39ceb08cfbfe46db6e33b6423e3cd9149c89ea69a2b743ad4a197f501537ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|