with-context-agent
Lints, validates, and auto-fixes AI agent configuration files like SKILL.md, CLAUDE.md, and MCP configs.
Introduction
Agnix is a specialized diagnostic and automation tool designed to ensure the integrity of AI agent configuration files. As AI-powered development workflows rely increasingly on specific manifest formats and configuration schemas, misconfigurations often lead to silent failures, invisible tools, or unexpected agent behavior. Agnix provides a comprehensive linting engine that validates syntax, structure, and semantic rules across diverse frameworks including Claude Code, Cursor rules (.mdc), GitHub Copilot instructions, and the Model Context Protocol (MCP). By identifying breaks in configuration before they reach the execution layer, developers can ensure that their agent instructions and skill definitions are production-ready.
The agent is engineered for developers and AI engineers managing multi-tool stacks who need a unified approach to configuration management. Whether you are dealing with local skill definitions or complex global context files like CLAUDE.md and AGENTS.md, Agnix ensures that every field and instruction follows best practices derived from official specifications and real-world failure patterns. It supports automated workflows through GitHub Actions, CLI-based CI/CD integration, and real-time feedback via IDE extensions, providing instant analysis and actionable suggestions to restore agent functionality.
-
Multi-format support including YAML, JSON, TOML, and Markdown frontmatter.
-
400+ validation rules covering Claude Code, Codex CLI, Cursor, Copilot, and MCP configurations.
-
Automated remediation engine with tiered confidence levels (--fix-safe, --fix-unsafe).
-
Real-time diagnostic feedback through Language Server Protocol (LSP) integration.
-
Cross-file validation capabilities to check project-wide consistency and references.
-
CI/CD ready outputs via SARIF formatting for automated build pipelines.
-
Specialized rules for ensuring instruction clarity and preventing common prompt engineering pitfalls.
-
Run as a CLI tool (agnix .) for project-wide auditing.
-
Use the --fix flag to automatically resolve common syntax issues and deprecated fields.
-
Integrate with VS Code, JetBrains, Neovim, or Zed via the built-in language server for real-time linting as you edit.
-
Utilize the playground for immediate testing of snippets without local installation.
-
Inputs: Configuration files including .md, .json, and .yaml manifests; Outputs: Diagnostic logs, SARIF reports, and auto-corrected files.
-
Constraints: Requires node/npm or cargo environment for installation; relies on consistent schema enforcement for specific agent platforms.
Repository Stats
- Stars
- 223
- Forks
- 19
- Open Issues
- 21
- Language
- Rust
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- May 3, 2026, 05:05 AM