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.
In context_servers hinzufügen. Zed lädt beim Speichern neu.
claude mcp add agnix-skill -- git clone https://github.com/avifenesh/agnix ~/.claude/skills/agnix
Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.
Anwendungsfälle
Praxisnahe Nutzung: Agnix (Agent Config Linter)
Enforce skill quality in CI before merging to the team's shared skill repo
👤 Teams maintaining a skill library⏱ ~15 minintermediate
Wann einsetzen: You don't want a broken SKILL.md frontmatter to ship and break everyone's agent.
Voraussetzungen
Server/skill installed and authenticated — See repo README
Ablauf
Set up CI
Add agnix check to GitHub Actions on every PR touching .claude/ or skills/.✓ Kopiert
→ Workflow file added
Fix locally
Run agnix fix on the staged files. Show me the diff before committing.✓ Kopiert
→ Autofix diff
Ergebnis: No more bad-frontmatter incidents in production.
Fallstricke
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.
Kosten & Limits
Was der Betrieb kostet
API-Kontingent
See provider docs for rate limits
Tokens pro Aufruf
Varies by tool
Kosten in €
See repo README for pricing details
Tipp
Cache tool results and avoid repeated identical calls.
Sicherheit
Rechte, Secrets, Reichweite
Credential-Speicherung: Use environment variables; never commit secrets
Datenabfluss: Tool calls go to the provider's API as documented
Fehlerbehebung
Häufige Fehler und Lösungen
rule too strict
Tune in .agnix.toml — every rule has severity/disable settings.
Prüfen: agnix check --explain <rule-id>
LSP doesn't activate
Make sure the editor extension matches your agnix CLI version.