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.58.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.58.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.58.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.58.0-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.58.0-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.58.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 18.0 MB
Release files / agnix-0.58.0-py3-none-win_amd64.whl
| Download URL | agnix-0.58.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9c20e22a06ce4ed8c21e801d663711bff90666cc3110b083ef3d75d4fa999bce
|
|
BLAKE2b-256 checksum How to use checksums |
2f9b0c63db3621de7f8f51119a7c86487ec778a16b160a03550137a5db5d2d5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / agnix-0.58.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.58.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c07e3404a6b3378d43d1d3abd6b260393673f071f0652e4d307b195028705e3c
|
|
BLAKE2b-256 checksum How to use checksums |
5367694f386818f77d552643c4bf5d7adb95b398c7fddfc946d5ef2f7b039c86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / agnix-0.58.0-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.58.0-py3-none-manylinux_2_18_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Linux glibc 2.18+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
aacbcc7b6ba7de777b708221d5696df4f74b568dea6fefa63e09d0cf40327a07
|
|
BLAKE2b-256 checksum How to use checksums |
4e764f9a8b76dc1a8d0768e96dcaa2d0ebbf9de8d5f8a373bb40878df8d35b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / agnix-0.58.0-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.58.0-py3-none-manylinux_2_18_aarch64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Linux glibc 2.18+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
3916b441bc081312d4717b54707fd2360802034fad00743de25d366c8a6c8610
|
|
BLAKE2b-256 checksum How to use checksums |
15b3308d7383742ec2f58433974bc50bf039c38815f466eafb5bf67f337192d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / agnix-0.58.0-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.58.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c330a85d4f033d6cf3a9b23f5263fd3cf19d77b36c1361a777bac5e38295549c
|
|
BLAKE2b-256 checksum How to use checksums |
2e76e34d1f2a14732e220f0d05a306000180e512efd4174184dfc658b6e75042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|