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.1
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.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| agnix-0.56.1-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| agnix-0.56.1-py3-none-manylinux_2_18_x86_64.whl | Python 3 | none | Linux glibc 2.18+ x86-64 | Details |
| agnix-0.56.1-py3-none-manylinux_2_18_aarch64.whl | Python 3 | none | Linux glibc 2.18+ ARM64 | Details |
| agnix-0.56.1-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.1-py3-none-win_amd64.whl
| Download URL | agnix-0.56.1-py3-none-win_amd64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b284fff29f426199a9bfc99492650f52653b913ddf14092af9f84c946bd6fe2f
|
|
BLAKE2b-256 checksum How to use checksums |
8163ce05224af6a6ad7438807914dfb111ecbe501cb89dbfcc404987fc1edbe2
|
| 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.1-py3-none-musllinux_1_2_x86_64.whl
| Download URL | agnix-0.56.1-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 |
4cb2eb1064fae7757be8f33ec43c9b9f1c723511b4296e184297744c843fb3d4
|
|
BLAKE2b-256 checksum How to use checksums |
aef09707cc210ddeaabdb9c99cbcd9bf52150037049a430d45bc22883ba46bfe
|
| 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.1-py3-none-manylinux_2_18_x86_64.whl
| Download URL | agnix-0.56.1-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 |
7937130d18943a0c25bf0864e77bd0a184057c3f9e5542e05160cf437a3864ad
|
|
BLAKE2b-256 checksum How to use checksums |
1945b5a06d0ac2f2acf638fa30e00662ba347642a0112245f785b96d49d7e191
|
| 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.1-py3-none-manylinux_2_18_aarch64.whl
| Download URL | agnix-0.56.1-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 |
ef193d7b364b1da76162d9eca1f5405ff3e783d9671c23670325266b77dc9fd2
|
|
BLAKE2b-256 checksum How to use checksums |
73b6e08efaf20aa3c1d6886757a58f1acc0509284fb9818564d8d4d05f2de416
|
| 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.1-py3-none-macosx_11_0_arm64.whl
| Download URL | agnix-0.56.1-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 |
eeda876d9b836ef5a0eec2f5c2ffc70d51bb6a566d15b5d62bbafbbaf171f2ca
|
|
BLAKE2b-256 checksum How to use checksums |
cc2856368cacdbf98db4e0b03d7f3b6f3685c0f52719d405aeb67750c92d1dd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|