agents-md-improver
Installation
SKILL.md
AGENTS.md Improver
Audit and improve Codex AGENTS.md guidance files and companion code_map.md navigation maps so future Codex CLI, Codex App, and native subagent sessions receive concise, accurate, scoped project instructions and fast code search entry points.
Default mode is report-first. Output a quality report and proposed diff before writing. If the user explicitly asks to implement an approved plan, continue directly to targeted edits and verification.
Core Semantics
- An
AGENTS.mdfile governs the directory that contains it and every descendant directory. - A deeper
AGENTS.mdadds or overrides guidance for its subtree. - System, developer, and direct user instructions outrank any
AGENTS.mdcontent. - Repository
AGENTS.mdfiles are project guidance. User-level~/.codex/AGENTS.mdis global preference guidance and should not be edited unless explicitly requested. AGENTS.mdcarries durable behavioral constraints, commands, and safety rules.code_map.mdcarries navigational structure, search anchors, entry points, and generated/ignored directory notes.- Every created or updated
AGENTS.mdshould explicitly name the relativecode_map.mdpath agents must read before broad grep or repo-wide search, for exampleSee ./code_map.md before broad greporFor this subtree, start with platforms/codex/code_map.md. - Preserve hook-managed marker blocks such as
<!-- OMX:RUNTIME:START --> ... <!-- OMX:RUNTIME:END -->and<!-- OMX:TEAM:WORKER:START --> ... <!-- OMX:TEAM:WORKER:END -->.