โ† AI Coding Agents (Claude Code & Codex) learning path
AI Coding Agents (Claude Code & Codex) ยท Module 4 of 10

Project memory files

Files like CLAUDE.md and AGENTS.md give agents lasting project context.

๐Ÿ“– Key ideas

  1. CLAUDE.md (Claude Code) and AGENTS.md (Codex and others) hold project rules the agent reads each session.
  2. Include build, test and run commands.
  3. List conventions: folder layout, naming, code style, things to avoid.
  4. Keep it short and current; outdated rules mislead the agent.
  5. Commit it so the whole team shares the same guidance.
๐Ÿ’ก Real-life example: Like the staff handbook on a new employee's desk: how we do things here, read before starting.
CLAUDE.mdProject instructions file for Claude Code
AGENTS.mdShared agent instructions file
ConventionAgreed way of doing things
Build commandCommand that compiles or bundles the project