A team testing coding agents discovered that Claude Code, Codex CLI, and GitHub Copilot CLI exhibit distinct behaviors regarding instruction files. Claude Code prioritizes CLAUDE.md over AGENTS.md, potentially causing shared rules to be ignored unless specifically configured. Codex CLI requires explicit configuration to recognize CLAUDE.md as a fallback instruction file. GitHub Copilot CLI, despite its CLI output indicating it read no instruction files, actually processed multiple files, including a confidential one, as evidenced by its local logs. AI
IMPACT Developers using coding agents need to be aware of how instruction files are processed to ensure consistent behavior and avoid unintended consequences.
RANK_REASON The item details the behavior of specific AI coding tools in response to instruction files, which falls under the 'tool' category.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →