agnix
Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.
456 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.53.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.53.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.53.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.53.0-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.53.0-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.53.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 17.3 MB
Release files / agnix-0.53.0-py3-none-win_amd64.whl
| Download URL | agnix-0.53.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
426dd6ffdce0425fa67efc6934e5de28c1963a0126f2f68cc2a74d1343d59215
|
|
BLAKE2b-256 checksum How to use checksums |
7af2ebe95045ef5a766410f3ab38bee772629d850c156294877829ff95a43225
|
| 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.53.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.53.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 |
044e015e053eb0f1444bc8ad303f26dfe2757876bff9e7f7fee68679c10f1168
|
|
BLAKE2b-256 checksum How to use checksums |
db92c4275e6e261da0daf49763e9697434a022e5da7e57ba10a495c02ced56dd
|
| 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.53.0-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.53.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 |
bf3f4b6b134071882ae234f29d9d7e05cd7e24f864bddd5cb7bb808945958d67
|
|
BLAKE2b-256 checksum How to use checksums |
906a51f2a55f63086560d6e7d3d8fe744655d7e17307c1f9d8fd175f892e4a87
|
| 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.53.0-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.53.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 |
158b18cd480284f3fefd035fd4be24e55827e408824a3d22ff8ebc20c5b3aada
|
|
BLAKE2b-256 checksum How to use checksums |
d53dde8c21be6f8d8d176768b14664fd9a4e76345e52d4782b6c5e291c6f9e8d
|
| 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.53.0-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.53.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 |
38e8626996d3e2f3901b5edaafdd7c8299cbb04c8a9829a0e900fe51974a4e92
|
|
BLAKE2b-256 checksum How to use checksums |
23aa69a1eede50b6a75e6d2fea3340c712a779a001c7343bb1274113be721367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|