Skip to main content

agnix

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

763 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.62.1

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

Total release size: 32.0 MB

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

Download URL agnix-0.62.1-py3-none-win_amd64.whl
Size 6.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7c01fc83fed576a50d6ddf602bc2e327f1fccc257212aa6ef5612d34d0e62ebe
BLAKE2b-256 checksum
How to use checksums
6d4f879484e5d7ab57ad6f6aff983deb3c6908892e1d1cf46ecf94eda6c2e499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.1-py3-none-musllinux_1_2_x86_64.whl
Size 6.7 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5addf1efc32c9050814fe3b3fa65c44e8e7189f51e794e99af34e665feca8e40
BLAKE2b-256 checksum
How to use checksums
924a9da941fb73441ee6a1b0ca203e9be6cbdbb7a8ba88897286b361eafec215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.1-py3-none-manylinux_2_18_x86_64.whl
Size 6.6 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8ddf4a6832ceed7a1e34a5caa7132ef2015e68c957ad1ead8c61587913249322
BLAKE2b-256 checksum
How to use checksums
537a41e93cc327280b492bb0ca2c5b2442c4ac7d838fb906ab1c3d67b67e597e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.1-py3-none-manylinux_2_18_aarch64.whl
Size 6.0 MB
Tags Linux glibc 2.18+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cd7279357fa33b5a0172163db3c55d9c91e1e165048e4bcc6cd23c3bcdf7c79e
BLAKE2b-256 checksum
How to use checksums
9fc577e38ef4aa06a92cae484d89d6674e2352a15536c7ba3d9097b126152a37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.1-py3-none-macosx_11_0_arm64.whl
Size 5.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
40a6cad2bf9894a88dddbb7f033cc382c743c412cecc83af1972db944f6de9ef
BLAKE2b-256 checksum
How to use checksums
64bff65b7448ff63c2936904b74952b89c1e8919397c9a84b427b30b523bee32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for agnix 0.62.1

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