Skip to main content

agnix

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

758 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.61.0

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

Total release size: 30.1 MB

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

Download URL agnix-0.61.0-py3-none-win_amd64.whl
Size 6.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
39f7aa5b70e65f6bd35bd652f204a7bb4f8c41dd56c819d1350cb7baefa948aa
BLAKE2b-256 checksum
How to use checksums
32fbbdafaf15c32769272a1a856a2fd71584969b3c67c67d7f265b28bfccfed6
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.61.0-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.61.0-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
9b0fc28a10ff2575af1cb80f9c70a541c8583928d6db191ed3046be6ba095643
BLAKE2b-256 checksum
How to use checksums
448413ce86db81ffa8404fdf6f4aa8fc3893f547b67da7ecd97f6941994cba04
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.61.0-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.61.0-py3-none-manylinux_2_18_x86_64.whl
Size 6.3 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e452b59ca6f8a365c25a0ed1e1b59934bf085560128238d00cc4ca8c351142ef
BLAKE2b-256 checksum
How to use checksums
63855dcca3e37f47be46b826e726c61b25d5b722b29461d40cde37bd8850ff2e
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.61.0-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.61.0-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
d4033d749d546dd229a06bffe537b68a9fcdfe6a77da0ea7f255cf2dc2c7a370
BLAKE2b-256 checksum
How to use checksums
758cd081c5be818695f2b22ee1af92bdc1b936e1f8db23826e65ec08d6f5a9e2
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.61.0-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.61.0-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
c4b282efd28991d5ca512586f96df54756f5ecf54650fb4b7aa8753bd6fa8f62
BLAKE2b-256 checksum
How to use checksums
68265f4efc05161464a82f4ae3a440fd8057292328eeb75bbfc84b902b24c53f
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.61.0

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