Migrating from CLAUDE.md to AGENTS.md
2024-02-18
Why migrate?
AGENTS.md is the emerging standard (60k+ repos). AgentMD parses, validates, and executes it.
Key differences
- CLAUDE.md: Claude-specific, prose-heavy
- AGENTS.md: Tool-agnostic, section-based, executable
Migration steps
- Copy your CLAUDE.md content
- Add ## headings for each major section
- Extract commands into backticks or code blocks
- Add frontmatter for triggers and guardrails
- Run
agentmd validateto check
Example
Before (CLAUDE.md): "To run tests, use pnpm test"
After (AGENTS.md): ```## Test
pnpm test```