/ Directorio / Playground / Agnix (Agent Config Linter)
● Comunidad avifenesh ⚡ Instantáneo

Agnix (Agent Config Linter)

por avifenesh · avifenesh/agnix

The missing linter and LSP for AI-coding-assistant configs (CLAUDE.md, SKILL.md, hooks, MCP).

Agnix validates agent configuration files — CLAUDE.md, AGENTS.md, SKILL.md frontmatter, hook scripts, MCP settings — with 156 rules and autofixes. Plugins for VS Code, Zed, Neovim. Treat it like ESLint for your agent setup.

Por qué usarlo

Características clave

Demo en vivo

Cómo se ve en la práctica

agnix-skill.replay ▶ listo
0/0

Instalar

Elige tu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "agnix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/avifenesh/agnix",
        "~/.claude/skills/agnix"
      ],
      "_inferred": true
    }
  }
}

Abre Claude Desktop → Settings → Developer → Edit Config. Reinicia después de guardar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "agnix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/avifenesh/agnix",
        "~/.claude/skills/agnix"
      ],
      "_inferred": true
    }
  }
}

Cursor usa el mismo esquema mcpServers que Claude Desktop. La configuración del proyecto prevalece sobre la global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "agnix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/avifenesh/agnix",
        "~/.claude/skills/agnix"
      ],
      "_inferred": true
    }
  }
}

Haz clic en el icono MCP Servers de la barra lateral de Cline y luego en "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "agnix-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/avifenesh/agnix",
        "~/.claude/skills/agnix"
      ],
      "_inferred": true
    }
  }
}

Mismo formato que Claude Desktop. Reinicia Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "agnix-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/avifenesh/agnix",
        "~/.claude/skills/agnix"
      ]
    }
  ]
}

Continue usa un array de objetos de servidor en lugar de un mapa.

~/.config/zed/settings.json
{
  "context_servers": {
    "agnix-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/avifenesh/agnix",
          "~/.claude/skills/agnix"
        ]
      }
    }
  }
}

Añádelo a context_servers. Zed recarga en caliente al guardar.

claude mcp add agnix-skill -- git clone https://github.com/avifenesh/agnix ~/.claude/skills/agnix

Un solo comando. Verifica con claude mcp list. Quita con claude mcp remove.

Casos de uso

Usos del mundo real: Agnix (Agent Config Linter)

Enforce skill quality in CI before merging to the team's shared skill repo

👤 Teams maintaining a skill library ⏱ ~15 min intermediate

Cuándo usarlo: You don't want a broken SKILL.md frontmatter to ship and break everyone's agent.

Requisitos previos
  • Server/skill installed and authenticated — See repo README
Flujo
  1. Set up CI
    Add agnix check to GitHub Actions on every PR touching .claude/ or skills/.✓ Copiado
    → Workflow file added
  2. Fix locally
    Run agnix fix on the staged files. Show me the diff before committing.✓ Copiado
    → Autofix diff

Resultado: No more bad-frontmatter incidents in production.

Errores comunes
  • Some rules are opinion-shaped (e.g., max description length). Tune in .agnix.toml rather than ignoring globally. — Some rules are opinion-shaped (e.g., max description length). Tune in .agnix.toml rather than ignoring globally.

Coste y límites

Lo que cuesta ejecutarlo

Cuota de API
See provider docs for rate limits
Tokens por llamada
Varies by tool
Monetario
See repo README for pricing details
Consejo
Cache tool results and avoid repeated identical calls.

Seguridad

Permisos, secretos, alcance

Almacenamiento de credenciales: Use environment variables; never commit secrets
Salida de datos: Tool calls go to the provider's API as documented

Resolución de problemas

Errores comunes y soluciones

rule too strict

Tune in .agnix.toml — every rule has severity/disable settings.

Verificar: agnix check --explain <rule-id>
LSP doesn't activate

Make sure the editor extension matches your agnix CLI version.

Verificar: agnix --version vs extension version

Alternativas

Agnix (Agent Config Linter) vs otros

AlternativaCuándo usarlaContrapartida
Hand-rolled YAML lintersYou only need one formatWon't catch cross-file issues

Más

Recursos

📖 Lee el README oficial en GitHub

🐙 Ver issues abiertas

🔍 Ver todos los 400+ servidores MCP y Skills