agents-md-audit

Audit AGENTS.md, CLAUDE.md, and .cursorrules files against Hermes runtime loading behavior and content rubrics.

4|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/exiao/meta-skills --skill agents-md-audit-exiao
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agents-md-audit
Source: https://github.com/exiao/meta-skills/tree/main/agents-md-audit
Command: npx skills add https://github.com/exiao/meta-skills --skill agents-md-audit-exiao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Repository context files like AGENTS.md often fail silently: they exceed the 20KB truncation cap, get shadowed by higher-priority files, or trip the prompt-injection scanner, leaving the agent running with no project context at all. This Skill audits the file the way the Hermes runtime actually loads it, then grades its content quality. ## Core Features & Use Cases - Hermes loading checks (H1-H7): Detects 20KB truncation with 70/20 head/tail splitting, one-file-wins priority conflicts, injection-scanner tripwires that block the whole file, SOUL.md vs AGENTS.md misplacement, cache-stability issues, subdirectory nesting opportunities, and Codex 32KB block placement. - Content rubric scoring: Scores the Karpathy 12-rule completeness checklist plus per-line lints for missing-why prohibitions, 28-word run-on directives, vague terms, and unescaped absolutes, with a readability pass flagging sections an agent cannot parse in one read. - Structured scorecard output: Produces a prioritized report separating hard loading failures from content grades, with concrete fixes ordered by severity. - Use Case: A team has a 64KB AGENTS.md that the agent seems to ignore. The audit reveals the middle 10% is dropped by truncation and an injection-example line blocks loading entirely, then lists the exact sections to move into nested subdirectory files. ## Quick Start Audit the AGENTS.md file in this repository and show me the scorecard with any truncation or injection-blocking failures.

Frequently Asked Questions about agents-md-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit an AGENTS.md file for Hermes agent?▼

Run the seven Hermes loading checks first: measure file size against the 20KB truncation cap, verify which context file wins priority, and grep for injection-scanner patterns. Then score content against the Karpathy 12-rule rubric and per-line lints, and generate the scorecard.

Why is my AGENTS.md not being followed by the agent?▼

Common causes are exceeding the 20,000 character cap so the middle 10% is dropped, a higher-priority file like .hermes.md shadowing it, or an injection-scanner match blocking the entire file. Check file size with wc -c and grep for injection-like phrases first.

What is the difference between skill-audit and agents-md-audit?▼

skill-audit grades a SKILL.md file's structure, description, and references, while agents-md-audit grades a repository's project context file like AGENTS.md or CLAUDE.md. They use different caps, loading models, and rubrics.

Does Hermes load both AGENTS.md and CLAUDE.md together?▼

No, only one project context file loads per session, with priority order .hermes.md/HERMES.md, then AGENTS.md, then CLAUDE.md, then .cursorrules. If both AGENTS.md and CLAUDE.md exist, only AGENTS.md loads in Hermes, though Codex and Claude Code still read CLAUDE.md.

How do I fix an AGENTS.md that exceeds the 20KB limit?▼

Split content into nested subdirectory AGENTS.md files, which Hermes loads on demand with an 8KB cap each when the agent touches that subtree. Alternatively, move detail behind references-style pointers and keep must-hold rules in the head or tail of the root file.

What belongs in SOUL.md versus AGENTS.md?▼

Identity, tone, voice, and communication style belong in the global SOUL.md, while project facts like paths, commands, ports, and conventions belong in the per-repo AGENTS.md. The rule of thumb: applies everywhere goes in SOUL, one project goes in AGENTS.