Simple choice
Use AGENTS.md when several coding agents need the same basic project instructions. Claude Code reads it too (v2.1.277 and later) when there is no CLAUDE.md; see does Claude Code read AGENTS.md?
Use CLAUDE.md for instructions that only Claude Code needs.
Use Cursor project rules when Cursor needs rules for certain files or tasks.
Use a skill when you want the AI to repeat a useful task.
Use MCP when the AI needs to connect to another tool or source of information.
How AIPM helps
AIPM does not replace these files and does not install AGENTS.md, CLAUDE.md, Cursor rules, or MCP config. It installs and updates versioned Agent Skills: --target claude writes .claude/skills/<skill>/SKILL.md and --target codex writes .agents/skills/<skill>/SKILL.md, and Cursor loads both. Start with the use guide or read how to share instructions across projects.
Primary sources
- Cursor documentation: Rules
- Cursor documentation: Agent Skills
- Claude Code documentation: CLAUDE.md and AGENTS.md
- Claude Code documentation: Extension features
- Claude Code documentation: Skills
- OpenAI Codex documentation: AGENTS.md
- OpenAI: Codex skills
- OpenAI Codex documentation: Agent Skills
- Model Context Protocol documentation