agents-md-writer
AGENTS.md Writer
Produce durable instructions at the scope that needs them. Ground additions in non-obvious repository facts and gotchas, recurring failures, hard constraints, or explicit team decisions; prefer executable enforcement for mechanical rules.
Establish the effective hierarchy
Identify the requested operation and target tools. Inspect the relevant global, root, nested, tool-specific, and legacy sources and how they combine. A local wording fix needs its affected instruction chain; a hierarchy migration needs coverage of every candidate source and intended tool.
When a decision depends on filenames, discovery, precedence, overrides, size limits, or reload timing, verify current official tool documentation. Start with the Codex AGENTS.md guide and the Claude Code memory guide. Do not assume other clients use the same rules. Confirm these divergences against those guides before relying on them: