Create, rewrite, prune or test AGENTS.md files (root and per-package) and their CLAUDE.md companions so any coding agent — Codex, Claude Code, Cursor, Copilot, Gemini CLI and others — gets only high-signal, project-specific rules. Use when asked to write, update, shorten or audit AGENTS.md or CLAUDE.md, when a new package or service directory is added, when an agent keeps making the same mistake, or after the stack changes.