Skip to main content

agnix

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

757 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.60.2

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.60.2
File Actions
agnix-0.60.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for agnix-0.60.2-py3-none-win_amd64.whl
agnix-0.60.2-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for agnix-0.60.2-py3-none-musllinux_1_2_x86_64.whl
agnix-0.60.2-py3-none-manylinux_2_18_x86_64.whl Python 3 none Linux glibc 2.18+ x86-64 Details for agnix-0.60.2-py3-none-manylinux_2_18_x86_64.whl
agnix-0.60.2-py3-none-manylinux_2_18_aarch64.whl Python 3 none Linux glibc 2.18+ ARM64 Details for agnix-0.60.2-py3-none-manylinux_2_18_aarch64.whl
agnix-0.60.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for agnix-0.60.2-py3-none-macosx_11_0_arm64.whl

Total release size: 30.1 MB

Release files / agnix-0.60.2-py3-none-win_amd64.whl

Download URL agnix-0.60.2-py3-none-win_amd64.whl
Size 6.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2bc50d8273ea33ddc9933438479334d7aa82bfef04f0226ac340f69413ac3d7c
BLAKE2b-256 checksum
How to use checksums
e4a485d1eb30d071c82ebb8c6c373787e7ae94d36ccdd63773d7bd0730d3feab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / agnix-0.60.2-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.60.2-py3-none-musllinux_1_2_x86_64.whl
Size 6.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9fbe9bbd9af96f43f2317ddcdfe4a88cb266272bb1a2c648b8909d04ed548a6a
BLAKE2b-256 checksum
How to use checksums
d0872c02e24cb09fbc566b2065cb04fd772657ac8bd74e13f77a2218db1e6cf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / agnix-0.60.2-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.60.2-py3-none-manylinux_2_18_x86_64.whl
Size 6.2 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d6b88bb00117c300c6270e23a7d21c47d1749ee1a7814b40a7714c0fc3596aa7
BLAKE2b-256 checksum
How to use checksums
94d42c6f9df2c14699cccf3e2b9d72160433e46540c949da5590b500314de43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / agnix-0.60.2-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.60.2-py3-none-manylinux_2_18_aarch64.whl
Size 5.6 MB
Tags Linux glibc 2.18+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7a685835e01f280b304c5421d4b708990128c815877ed938641076418d849c6b
BLAKE2b-256 checksum
How to use checksums
765dbada598c43e7e7f4beadf297ec5e1d7267594200fcfd56ef87745e36ba5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / agnix-0.60.2-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.60.2-py3-none-macosx_11_0_arm64.whl
Size 5.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ff39a6225eb91a7de05ed0f825d5f8ec7820bd1ad33713e5bd086a9c07de2410
BLAKE2b-256 checksum
How to use checksums
d0971734f7f73b43141bfd63596ab7f99af22e87bf444f9e1c89a359a1d6825a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Security for agnix 0.60.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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