Agentfile — AI skill for Claude Code
Find what is wrong with the AI agent configuration your repository already has.
How to install Agentfile
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dennishavermans/agentfile and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentfile does
Find what is wrong with the AI agent configuration your repository already has.
Alternatives in AI
- Pal Configuration Docs — for model and thinking mode options 11.3k ★
- n8n Node Configuration — Node configuration with dependency rules and AI connections 3.6k ★
- Part 4 — Generate AGENTS.md And AI Agent Configuration Files — I'll help you create the instruction files that will guide your AI coding assistant to build your MVP 2.1k ★
README
Find what is wrong with the AI agent configuration your repository already has.
Your team uses Claude Code, Copilot, Cursor, Codex — each with its own instruction file, in its own format, in its own place. Nobody reads all of them at once, so they drift, contradict each other, and quietly cost context in every session.
`agentfile` reads them as they are and tells you what is wrong.
npx @agentfile/cli doctor
No setup. No file to adopt first. Nothing written to disk. **Nothing it finds is ever executed** — hooks, skills, commands and MCP configuration are read as text, and a clean result says "no pattern matched", never "this is safe".
The problem
The same rule, maintained in four places, drifting apart:
AGENTS.md ← the one that is current
CLAUDE.md ← a copy, edited last month
.github/copilot-instructions.md ← a copy, probably out of date
.cursor/rules/main.mdc ← different format, different rules
Symlinks solve the copying. They do not tell you that two of these disagree about the package manager, that a hook points at a script nobody committed, that a `.mcp.json` server will silently fail to load, or that 10,000 tokens load into every session before anyone types a word.
What it does
Nine questions, one command each. Run them in this order the first time:
npx @agentfile/cli doctor # what is here, and what is wrong with it
npx @agentfile/cli context src/api.ts # which configuration applies here, and why
npx @agentfile/cli audit # what a hook, skill or MCP server could do
npx @agentfile/cli adopt # plan a single source of truth
Then, once it is part of the build:
npx @agentfile/cli check # fast enough for a pre-commit hook
npx @agentfile/cli validate --strict # every layer, in CI
npx @agentfile/cli lint
Related Skills
Agentleak
Find secrets you already leaked into AI chat sessions — offline, local-first.
Docswatcher
Find the external APIs and AI models your code calls that already have a shutdown date, with the file and line
Keyspill
Find the secrets your AI coding agents have already seen
Csharp Unity Conventions
C# and Unity constraints a model gets wrong: global.json SDK pinning, Unity's C# 9 ceiling, main-thread async
Product Mode
The most expensive bug in AI-assisted building is shipping the wrong thing, well. A CLAUDE.md for PM + eng tea
Agentdream
Open-source 'dreaming' for any AI agent: sleep-time memory consolidation that merges duplicates, fixes stale o
Related Agents
Docs Drift Review
Given a session's commits or diff, finds the docs that the change made wrong — stale paths and symbols, checkl
Wrong: Risk Check After Order Sent
def place_order(order): exchange.send_order(order) # Already sent! if not risk_manager.check(order): exchange.
Premium Reviewer
Final independent review of a high-risk change, design or diagnosis, on the strongest available model. Use onl