Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 13, 2026·3 min de lectura

agnix — Lint & Fix Agent Configs

Lint and auto-fix agent config files (CLAUDE.md, SKILL.md, hooks, MCP configs) to catch broken setups before tools silently ignore them.

Introducción

agnix validates and fixes agent configuration files so your AI tools don’t quietly ignore malformed CLAUDE.md, skills, hooks, and MCP configs.

Best for: Teams sharing agent configs across repos and tools (Claude Code/Cursor/Codex/OpenCode)

Works with: macOS/Linux/Windows; run via npx/npm; editor integrations are available (README)

Setup time: 3–10 minutes

Key facts (verified)

  • README mentions 421 rules spanning multiple agent tools and file types.
  • Quick start is npx agnix . (README).
  • GitHub: 239 stars · 20 forks; pushed 2026-05-09 (GitHub API verified).

Main

Use agnix as a “pre-commit check” for agent files:

  1. Run it in CI on PRs that touch .claude/, CLAUDE.md, skills, hooks, or MCP config files.
  2. Enable auto-fix only for changes you’re comfortable with, and require review for permission-tightening edits.
  3. If you support multiple tools, keep a single source of truth and let agnix enforce compatibility.

README excerpt (verbatim)

agnix

agnix

Lint agent configurations before they break your workflow

npm Crates.io Release CI License Mentioned in Awesome Claude Code

Catch broken agent configs before your AI tools silently ignore them.
421 rules across Claude Code, Codex CLI, OpenCode, Cursor, Copilot, and more -
validating CLAUDE.md, SKILL.md, hooks, MCP configs, and other agent files.

Auto-fix | GitHub Action | VS Code + JetBrains + Neovim + Zed

Website Playground Blog Post

New rules and tool support ship constantly. Follow for real-time updates:

FAQ

Q: Is it only for Claude Code? A: README lists broader tool support (Claude Code, Codex, OpenCode, Cursor, Copilot, etc.).

Q: Can it run without installing? A: Yes—README shows npx agnix ..

Q: How do I integrate with an editor? A: README points to editor extensions and an editor integration guide.

🙏

Fuente y agradecimientos

Source: https://github.com/agent-sh/agnix > License: Apache-2.0 > GitHub stars: 239 · forks: 20

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados