agnix
The missing linter and lsp for AI coding assistants. Validate CLAUDE.md, AGENTS.md, SKILL.md, hooks, MCP. Plugin for all major IDEs included, with autofixes.
What is agnix?
The missing linter and lsp for AI coding assistants. Validate CLAUDE.md, AGENTS.md, SKILL.md, hooks, MCP. Plugin for all major IDEs included, with autofixes.
Overview of agnix
What it is
agnix is a linter and language server for AI coding assistant configuration files. It validates files such as CLAUDE.md, AGENTS.md, SKILL.md, hooks, and MCP configurations. It includes plugins for major IDEs and provides auto-fixes.
Key features
- Validates agent configuration files (CLAUDE.md, AGENTS.md, SKILL.md, hooks, MCP, and others)
- 702 rules sourced from official specs, academic research, and real-world breakage patterns - Supports multiple AI coding assistants: Claude Code, Codex CLI, OpenCode, Cursor, Copilot, Kiro, Cline, Gemini CLI, Windsurf, Devin Desktop, Amp, and more - Auto-fix capability for many issues - GitHub Action for CI integration - Editor extensions for VS Code, JetBrains, Neovim, and Zed - Multiple installation methods: npm, Homebrew, pip, Cargo - Includes a language server (LSP) and MCP server
Use cases
- Catching broken agent configurations before AI tools silently ignore them - Ensuring configurations work across multiple AI coding assistants (e.g., Cursor + Claude Code + Copilot)
- Preventing bad patterns from being amplified by AI assistants - Validating configurations in CI pipelines using the GitHub Action
Getting started
Install agnix using one of the following methods: bash # npm (recommended, all platforms) npm install -g agnix # Homebrew (macOS/Linux) brew tap agent-sh/agnix && brew install agnix # pip pip install agnix # Cargo cargo install agnix-cli Then run validation on a directory: bash agnix . For editor extensions, see the repository README for installation instructions.
License and pricing
agnix is open source under the Apache-2.0 license.
Based on the project's public README and repository metadata.