Skip to main content

agnix

Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.

457 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)

License

MIT OR Apache-2.0

Metadata

Release files for agnix 0.56.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for agnix 0.56.6
File
agnix-0.56.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
agnix-0.56.6-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
agnix-0.56.6-py3-none-manylinux_2_18_x86_64.whl Python 3 none Linux glibc 2.18+ x86-64 Details
agnix-0.56.6-py3-none-manylinux_2_18_aarch64.whl Python 3 none Linux glibc 2.18+ ARM64 Details
agnix-0.56.6-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.56.6-py3-none-win_amd64.whl

Download URL agnix-0.56.6-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e0ba4e024f57da13da3a623ef5cc1b3300cecba0cbde8616b6a7d9ae7c64c8cb
BLAKE2b-256 checksum
How to use checksums
2ddc5e867ded136f737bdd1f452231623107fbd206486c4c22a88b27ff7b87b6
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.6-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.56.6-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
ee9d2b2012ae9f359b8d8a2b9bd86a49d76bbc7a6b0d6454914612af97796fb5
BLAKE2b-256 checksum
How to use checksums
a46a467b64fa5de29fe9485401fe48915c5dae758a1b99d61877068a0a569717
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.6-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.56.6-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
0831ff8cecfb024ba0c0242e76dd6dcb2b1f6b0678ea4d173bf4811c4d30ccfd
BLAKE2b-256 checksum
How to use checksums
431f081d8e91aa90c0bb9724db5bd63db937eba1ba2bf6ee986e8d49945903e7
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.6-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.56.6-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
2bd64fc5167225c01e2402fede03f07ed220ec9718aefd94f7b1f94f731a539e
BLAKE2b-256 checksum
How to use checksums
6d9fd912cc5ecf575109854fbda9888a6529af9b148a5cec24108c2f72a5f5e0
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.6-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.56.6-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
083b8344787417e556fc0793bf372375434299037f485a6d09ad9905c3c8cabc
BLAKE2b-256 checksum
How to use checksums
bef90e9df86d335bd6486b435fa5c3320efcf8148c6d4da293dc0ae8e97fdb07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.58.0

5 release files

This release

0.56.6 This release

5 release files

0.56.1

5 release files

0.56.0

5 release files

0.55.0

5 release files

0.54.0

5 release files

0.53.0

5 release files

0.52.1

5 release files

0.52.0

5 release files

0.51.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page