agent-sh

Project Memory: Agnix — Git skill for Claude Code

Git community intermediate

Linter for agent configurations.

How to install Project Memory: Agnix

This entry records only its repository, not the path inside it, so there is no exact command to give. Open agent-sh/agnix and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Project Memory: Agnix does

Linter for agent configurations. Validates Skills, Hooks, MCP, Memory, Plugins. **Repository**: https://github.com/agent-sh/agnix

Alternatives in Git

  • Intel — On-demand intelligence fetch for a target — CVEs, disclosed reports, new features 3.8k ★
  • My Claude Code Setup — GitHub Repo stars Shared starter template configuration and CLAUDE.md memory bank system Setup template 2.1k ★
  • TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★

README

Project Memory: agnix

Linter for agent configurations. Validates Skills, Hooks, MCP, Memory, Plugins.

**Repository**: https://github.com/agent-sh/agnix

Project Instruction Files

  • CLAUDE.md is the project memory entrypoint for Claude Code.
  • AGENTS.md is a byte-for-byte copy of CLAUDE.md for tools that read AGENTS.md (Codex CLI, OpenCode, Cursor, Cline, Copilot).
  • Keep them identical (tests enforce this).

Critical Rules

  1. Rust workspace - agnix-rules (data), agnix-core (lib), agnix-cli/agnix-lsp/agnix-mcp (binaries), agnix-wasm (WASM bindings)
  2. rules.json is source of truth - knowledge-base/rules.json is the machine-readable source of truth. When adding a new rule, add it to BOTH rules.json AND VALIDATION-RULES.md. CI parity tests enforce this.
  3. Plain text output - No emojis, no ASCII art
  4. Certainty filtering - HIGH (>95%), MEDIUM (75-95%), LOW (<75%)
  5. Release binaries - Compile with LTO, strip symbols
  6. Track work in GitHub issues - All tasks tracked there
  7. Task is not done until tests added - Every feature/fix must have quality tests
  8. Documentation - Keep long-form docs in README.md, SPEC.md, and knowledge-base/ (especially knowledge-base/VALIDATION-RULES.md). Keep CLAUDE.md/AGENTS.md for agent instructions only.
  9. Always follow the skill/command flow as instructed - No deviations
  10. No unnecessary files - Don't create summary files, plan files, or temp docs unless specifically required
  11. Never merge without waiting for claude workflow to end successfully - It might take time, but this is the major quality gate, and most thorough review.
  12. You MUST follow the flow phases one by one - If they state to use subagents, tools, or any specific method, you must follow it exactly as described.
  13. You MUST address all comments and reviews - If reviewers leave comments, even minor ones, and even if not a requested change, you must address them all before merging. If you disagree, respond in the review comments. Minor comments must still be addressed.
  14. Use single dash for em-dashes - In prose, use - (single dash with spaces), never -- (double dash). This does not apply to CLI flags like --help or --fix.

Architecture

Crate Dependency Graph

agnix-rules (data-only, generated from rules.json)
    ↓
agnix-core (validation engine)
    ↓
├── agnix-cli (command-line interface)
├── agnix-lsp (language server protocol)
├── agnix-mcp (MCP server)
└── agnix-wasm (WebAssembly bindings)

Project Layout

crates/
├── agnix-rules/    # Rule definitions (build-time generated)
├── agnix-core/     # Core: parsers, schemas, validators, diagnostics
├── agnix-cli/      # CLI binary (clap)
├── agnix-lsp/      # LSP server (tower-lsp, tokio)
├── agnix-mcp/      # MCP server (rmcp)
└── agnix-wasm/     # WASM bindings for browser/runtime integrations
editors/
├── neovim/         # Neovim plugin
├── vscode/         # VS Code