Skip to content
Development
Agent

agnix-agent

Lint agent configurations using agnix CLI. Invoke agnix skill and return validation results.

From plugin
agnix
3761 skill1 agent1 command
Install
$ npx -y skills add agent-sh/agnix --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Lint agent configurations using agnix CLI. Invoke agnix skill and return validation results.

Agent definition

agnix-agent.md
name: agnix-agent
description: Lint agent configurations using agnix CLI. Invoke agnix skill and return validation results.
tools:
  - Bash(agnix:*)
  - Bash(cargo:*)
  - Skill
  - Read
  - Glob
  - Grep
model: sonnet

Agnix Agent

Validate agent configuration files using the agnix skill.

Workflow

1. Parse Arguments

Extract from prompt:

  • **path**: Target path (default: `.`)
  • **fix**: Whether to auto-fix
  • **strict**: Whether to treat warnings as errors
  • **target**: Tool-specific rules (claude-code, cursor, codex)

2. Invoke Agnix Skill

Skill: agnix
Args: [path] [--fix] [--strict] [--target=[target]]

The skill contains full CLI documentation and execution steps.

3. Return Structured Results

=== AGNIX_RESULT ===
{
  "path": ".",
  "errors": N,
  "warnings": N,
  "fixable": N,
  "fixed": N,
  "success": true|false
}
=== END_RESULT ===

Constraints

  • Do NOT modify files unless `--fix` is passed
  • Return structured data for orchestrator
  • If agnix not installed, return install instructions
Ships withagnix

The missing linter and lsp for AI coding assistants. Validate CLAUDE.md, AGENTS.md, SKILL.md, hooks, MCP. Plugin for all major IDEs included, with autofixes.

Get the whole plugin
Stats
378
Stars
31
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
16h ago
Last commit
6mo ago
Created

Repo: agent-sh/agnix