ln-014-agent-instructions-auditor
Audits CLAUDE.md, AGENTS.md, GEMINI.md for token budget, prompt cache safety, compact instructions, and cross-agent consistency. Use after editing instruction files or before release.
npx skills add majiayu000/claude-skill-registry --skill ln-014-agent-instructions-auditor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **Paths:** All file refs relative to skills repo root. # Agent Instructions Auditor **Type:** L3 Worker **Category:** 0XX Shared Audits instruction files (CLAUDE.md, AGENTS.md, GEMINI.md) across all three agents for quality, consistency, and best practices. ## When to Use - After editing any instruction file - After adding/removing MCP servers or hooks - Before release or publishing - When sessions degrade (context bloat symptoms) ## Phase 1: Discover Files Locate instruction files in target project: | Agent | Primary | Fallback | |-------|---------|----------| | Claude | `CLAUDE.md` | `.claude/settings.local.json` | | Codex | `AGENTS.md` | `.codex/instructions.md` | | Gemini | `GEMINI.md` | `AGENTS.md` (shared with Codex) | Report: which files exist, which agents share files. ## Phase 2: Token Budget Audit For each instruction file: | Check | Pass | Warn | Fail | |-------|------|------|------| | Line count | ≤100 lines | 101-150 lines | >150 lines | | Estimated tokens | ≤2,500 tokens | 2,501-3,500 | >3,500 | | Sections count | ≤8 sections | 9-12 | >12 | **Token estimation:** `wc -w {file}` × 1.3 (English average tokens/word ratio). Report table per file with line count, word cou
- When to Use
- Phase 1: Discover Files
- Phase 2: Token Budget Audit
- Phase 3: Prompt Cache Safety
- Phase 4: Content Quality
- Phase 5: Cross-Agent Consistency
- Phase 6: Report
- Definition of Done
What does the ln-014-agent-instructions-auditor skill do?
Audits CLAUDE.md, AGENTS.md, GEMINI.md for token budget, prompt cache safety, compact instructions, and cross-agent consistency. Use after editing instruction files or before release.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ln-014-agent-instructions-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
