Skip to main content
agnix

Lint agent configurations before they break your workflow

230 validation rules for Claude Code, Cursor, Copilot, Cline, MCP, and many more. CLI, LSP, and IDE plugins.

$npx agnix .
CInpmcrates.ioLicense

Like what you see? Give it a star — it helps other developers find agnix. | Read the blog post

agnix
$ npx agnix .
Validating: .

.claude/settings.json:8:3 error: Hook command contains dangerous pattern 'rm -rf' [CC-HK-009]
  help: Hooks run automatically -- destructive commands can cause data loss

.claude/skills/deploy/SKILL.md:1:1 error: Dangerous skill without safety flag [CC-SK-006]
  help: Add 'allowedTools' restrictions to prevent unrestricted access

CLAUDE.md:15:1 warning: Generic instruction 'Be helpful and accurate' [fixable]
  help: Remove generic instructions. Claude already knows this.

Found 2 errors, 1 warning
  1 issue is automatically fixable

hint: Run with --fix to apply fixes

See it in your editor

Try it right now — no install needed

Paste your CLAUDE.md, SKILL.md, or any agent config and see diagnostics instantly. Runs entirely in your browser via WebAssembly.

Open Playground

230 Validation Rules

Comprehensive validation across 31 rule categories. Catch broken skills, invalid hooks, misconfigured MCP servers, and much more.

Auto-Fix

Fix common issues automatically. Run agnix --fix . and move on.

Editor Integration

Real-time diagnostics in VS Code, Neovim, JetBrains, and Zed via the built-in LSP server.

What does agnix catch?

AS-004
Skill name 'Review-Code'
Renamed to 'review-code'

Your skill was invisible to the agent. Now it triggers.

CC-HK-009
Hook runs 'rm -rf $DIR'
Flagged dangerous pattern

Hooks run automatically. This could delete your project.

CC-MEM-005
'Be helpful and accurate' in CLAUDE.md
Removed generic instruction

Claude already knows this. It was wasting your context window.

XML-001
Unclosed <rules> tag in instructions
Auto-added closing </rules>

The agent was parsing your instructions incorrectly.

Validates configs for

Claude CodeCLAUDE.md, Skills, Hooks, Agents
Cursor.cursorrules, .cursor/rules/
GitHub Copilotcopilot-instructions.md
Codex CLI.codex/config.toml, AGENTS.md
MCP*.mcp.json, JSON-RPC schemas
Cline.clinerules, .clinerules/*.md
OpenCodeopencode.json
Gemini CLIGEMINI.md
Roo Code.roo/rules/
Kiro CLIkiro.md
And many moreAny tool using Markdown, JSON, or YAML configs
230rules
97auto-fixable
11tools
5editors

Try it now

$npx agnix .

Zero config. Finds real issues in seconds.