agnix-agent

agnix-agent is an agent for coding agents from agent-sh/agnix. It costs 23 tokens per session (305 once invoked), scanned A, original, Apache-2.0.

An agent that checks configuration files with the agnix command-line tool. It can target configurations for tools such as Claude Code, Cursor, or Codex.

In plain words
What is it for?
Use it to validate agent configuration files, optionally enable automatic fixes, enforce strict warning handling, and choose a tool-specific rule set.
Why use it?
It finds configuration errors and warnings without requiring manual inspection of every rule.

Agent

Part of the agnix plugin — 1 skill, 1 command, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/agent-sh/agnix/agnix-agent
Clone the repo
git clone --depth 1 https://github.com/agent-sh/agnix

Or install agnix, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agnix-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/agent-sh/agnix/agnix-agent.svg)](https://agentmods.dev/agents/agent-sh/agnix/agnix-agent)
Your own site
<a href="https://agentmods.dev/agents/agent-sh/agnix/agnix-agent"><img src="https://agentmods.dev/badge/agents/agent-sh/agnix/agnix-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00305
Opus 5 $0.00012 $0.00152
Sonnet 5 $0.00005 $0.00061
Haiku 4.5 $0.00002 $0.00030

Measured 4d ago against content hash 68a069beb0be, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agnix-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/agents/agnix-agent.md · 57 lines

What it actually says

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 57 lines · 23 tokens per session scan A 68a069beb0be

Subscribe to this mod's changes

agnix-agent is an agent published in the GitHub repository agent-sh/agnix (402 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 305 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens