agnix
Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.
455 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.57.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.57.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.57.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.57.0-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.57.0-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.57.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 17.6 MB
Release files / agnix-0.57.0-py3-none-win_amd64.whl
| Download URL | agnix-0.57.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ee6ed2432d9d085360329fcf33a6d71386465028fdb21066e4979046d6c914ed
|
|
BLAKE2b-256 checksum How to use checksums |
42e3583b621d51fd52f29a97aad271e63f5541506228c2eff1f92c4548f577c0
|
| 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.57.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.57.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 |
975b2ac36d9b3ff78d71bb5efeac6c5efc7f59f8b596e73a40a3e17206d96298
|
|
BLAKE2b-256 checksum How to use checksums |
925c1fb83ad2ceb909d90c589f541e45bcb12231be5b09b239a25c61d0063126
|
| 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.57.0-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.57.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 |
0162cdd9c18772a4326f5e8947cd991d66c58713719676330c0c62996cd201af
|
|
BLAKE2b-256 checksum How to use checksums |
e3242cb00fd43a5797d11b6a0205fd802283c96a54f1263f50524a5f35e3d535
|
| 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.57.0-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.57.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 |
92815c4e1f17c2ae21931550aeb51d026cd90c699f50610df09bdcf99e6fb576
|
|
BLAKE2b-256 checksum How to use checksums |
6861d1ab67ec43ef8d52e1e017b8bf373187e0b72673e020de1497d5c6ae1a0a
|
| 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.57.0-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.57.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 |
59f496a8df3e460cd91de618cd645f39640da0d356accebbedbe0619aa6dc5f7
|
|
BLAKE2b-256 checksum How to use checksums |
57c6b4323aef41a4d82728ac08d9fe238afc2f6aa0403900b0d82878b219e939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|