# Lint and autofix agent config files before broken prompts, hooks, or MCP settings derail runs with agnix

> Validate and optionally autofix SKILL.md, CLAUDE.md, AGENTS.md, hooks, and MCP config files before bad agent metadata or wiring silently breaks a workflow.

- Skill: `agentskillexchange/lint-and-autofix-agent-config-files-before-broken-prompts-ho` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/lint-and-autofix-agent-config-files-before-broken-prompts-ho`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/lint-and-autofix-agent-config-files-before-broken-prompts-ho/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/lint-and-autofix-agent-config-files-before-broken-prompts-ho

---


# Lint and autofix agent config files before broken prompts, hooks, or MCP settings derail runs with agnix

Validate and optionally autofix SKILL.md, CLAUDE.md, AGENTS.md, hooks, and MCP config files before bad agent metadata or wiring silently breaks a workflow.

## Prerequisites

agnix CLI

## Installation

Use the upstream install or setup path that matches your environment:
- $ npx agnix .
- npm install -g agnix
- brew tap agent-sh/agnix && brew install agnix
- cargo install agnix-cli

Requirements and caveats from upstream:
- | **Neovim** | { "agent-sh/agnix", config = function() require("agnix").setup() end } |

Basic usage or getting-started notes:
- console
- Validating: .
- CLAUDE.md:15:1 warning: Generic instruction 'Be helpful and accurate' [fixable]

- Source: https://github.com/agent-sh/agnix
- Extracted from upstream docs: https://raw.githubusercontent.com/agent-sh/agnix/HEAD/README.md

## Documentation

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

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-and-autofix-agent-config-files-before-broken-prompts-hooks-or-mcp-settings-derail-runs-with-agnix/)

