Agnix
Linter for agent configurations (skills, hooks, memory, plugins, MCP)
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Agnix. The extension's id is agnix.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
agnix for Zed
Zed extension for agnix - lint agent configurations before they break your workflow.
Provides real-time validation of AI agent configuration files (CLAUDE.md, AGENTS.md, SKILL.md, .claude/settings.json, *.mcp.json, .cursor/rules/*.mdc, and more) using the agnix-lsp language server.
Features
- Automatic LSP binary download from GitHub releases
- Real-time diagnostics as you type
- Quick-fix code actions for auto-fixable issues
- Hover documentation for configuration fields
- 757 validation rules across 46 categories
Requirements
- Zed editor
The extension automatically downloads the agnix-lsp binary - no manual installation needed.
Installation
- Open Zed
- Open the Extensions panel (Zed > Extensions, or
cmd+shift+x) - Search for "agnix"
- Click Install
Configuration
agnix reads configuration from .agnix.toml in your project root. See the Configuration Reference for all options.
Example .agnix.toml:
tools = ["claude-code"]
severity = "Warning"
[rules]
disabled_rules = ["AS-001"]
Supported File Types
| File Pattern | Type |
|---|---|
SKILL.md | Agent skill definitions |
CLAUDE.md, CLAUDE.local.md | Claude Code memory |
AGENTS.md, AGENTS.local.md, AGENTS.override.md | Agent memory |
.claude/settings.json, .claude/settings.local.json | Hook configurations |
plugin.json | Plugin manifests |
*.mcp.json, mcp.json, mcp-*.json | MCP tool configurations |
.github/copilot-instructions.md | Copilot instructions |
.github/instructions/*.instructions.md | Copilot scoped instructions |
.cursor/rules/*.mdc | Cursor project rules |
.cursorrules | Legacy Cursor rules |
.claude/agents/*.md | Claude agent definitions |
Troubleshooting
No diagnostics appearing
- Verify the file is a supported type (see table above)
- Check the Zed log (
cmd+shift+p> "zed: open log") for LSP errors - Ensure the project has a
.gitdirectory or.agnix.tomlfor root detection
LSP binary download fails
The extension downloads the agnix-lsp binary from GitHub releases. If the download fails:
- Check your internet connection
- Verify you can access https://github.com/agent-sh/agnix/releases
- Try restarting Zed to trigger a fresh download
Manual LSP binary
The extension does not use an agnix-lsp on your PATH. It runs the copy it downloads and checks GitHub releases each time Zed starts, so Zed needs network access to start the server.
License
MIT - see LICENSE