OpenAI Codex
NativeAGENTS.md
Uses repository instructions from AGENTS.md.
Official documentationSelect the coding agents your team uses. Get a minimal AGENTS.md-centered plan, short bridge files where support differs, and explicit notes for scoped native rules—without copying the same instructions six times.
The recommendation updates immediately.
Nothing is uploaded. The planner uses only your tool selections.
4 files for 6 tools
# AI coding agent instruction file plan Selected tools: OpenAI Codex, Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf ## 1. AGENTS.md — canonical shared instructions Keep repository-wide commands, architecture boundaries, safety rules, and the definition of done here. Treat this file as the source of truth. ## 2. CLAUDE.md — Claude Code bridge ```md @AGENTS.md ``` Add Claude-only guidance below the import only when it genuinely differs from the shared rules. ## 3. .github/copilot-instructions.md — Copilot bridge ```md # Repository instructions Treat the root AGENTS.md as the canonical repository instructions. Read and follow it before making changes. ``` Keep this bridge because AGENTS.md support differs between Copilot surfaces. Put Copilot-only instructions here; do not duplicate the shared body. ## 4. GEMINI.md — Gemini CLI bridge ```md @./AGENTS.md ``` Add Gemini-only context below the import only when needed. ## Tool-specific notes - Codex: AGENTS.md is the repository instruction file; no bridge is needed. - Cursor: AGENTS.md can follow directory scope. Use .cursor/rules/*.mdc only when a rule needs globs or another activation mode. - Windsurf: AGENTS.md works directly. Use .windsurf/rules/*.md only for cross-cutting rules that need explicit activation behavior. - Claude Code: verify the import with /memory after adding CLAUDE.md. - GitHub Copilot: verify active instructions in the specific IDE, CLI, review, or cloud-agent surface your team uses. - Gemini CLI: verify loaded context with /memory show. ## Drift-prevention checklist - Edit shared rules in AGENTS.md first. - Keep bridge files short and tool-specific. - Use scoped native rules only when the scope cannot be expressed by file location. - Re-check loaded instructions after changing filenames, imports, or repository layout.
Current compatibility
Support is not identical across tools or even across every surface of the same tool. The planner uses the broadest documented repository behavior and keeps exceptions visible.
AGENTS.md
Uses repository instructions from AGENTS.md.
Official documentationCLAUDE.md
CLAUDE.md can import a shared root file with @AGENTS.md.
Official documentationAGENTS.md or .cursor/rules/*.mdc
AGENTS.md can follow directory scope; .mdc rules add glob and activation controls.
Official documentation.github/copilot-instructions.md
AGENTS.md support varies by Copilot surface; the .github file is the broad repository-wide option.
Official documentationGEMINI.md
GEMINI.md can import @./AGENTS.md; the context filename is configurable.
Official documentationAGENTS.md or .windsurf/rules/*.md
AGENTS.md is discovered by location; Windsurf rules add activation modes.
Official documentationGenerate a first draft from repository facts, then use this plan to connect it to the rest of your tools.