Configuration Reference

Agent Config

How to configure each agent CLI. File locations, formats, sections, and best practices — set up your agent once, use it everywhere.

Side-by-Side Comparison

Equivalent config files across different agent CLIs.

CLIConfig File
Claude CodeCLAUDE.md (or AGENTS.md)
CodexAGENTS.md or .codex/config.json
GitHub Copilot CLI.github/copilot-instructions.md
Gemini CLIGEMINI.md
opencodeopencode.json / opencode.jsonc
Cursor.cursorrules
Windsurf.windsurfrules
Amazon Q CLI.amazonq/