A test covering 27 types of conflicts across 160 runs found that Claude Code and Codex differed in how consistently they followed project instructions, with compliance rates up to 20 percentage points apart. When a skill conflicted with AGENTS.md, Codex followed the project rules in all 25 tests; Claude Code changed its response depending on the scenario. This suggests that whether an Agent can execute reliably depends not only on the model, but also on how instructions are organized.

What this is

Modern coding assistants now read multiple types of project documentation: CLAUDE.md, AGENTS.md, local rules, and skills. A skill is a set of operating instructions loaded on demand; when it conflicts with project rules, there is no universal rule for which one takes precedence.

Claude Code places these materials into the context window, but Anthropic explicitly says that when instructions conflict, the model may choose either one. Codex establishes a clearer hierarchy: user requests take precedence over skills, while AGENTS.md files are merged by directory level, with content closer to the current directory placed later. However, once the combined AGENTS.md content exceeds 32 KiB, it is truncated. In testing, the specification at the end was not read in any of the five runs.

Industry view

We see Codex behaving more predictably and Claude Code more flexibly. The former suits development workflows with explicit rules and reviewable outcomes; the latter fits exploratory stages in which rules are still changing rapidly. Their shared problem is not which system is smarter, but whether an enterprise knows whether a given rule was loaded and what will happen when instructions conflict.

The risks are equally clear. In Claude Code, merely rewording the same skill can change whether it yields to CLAUDE.md or takes precedence itself. Codex has a stable hierarchy, but it may silently omit files that exceed the size limit. If a team mistakes an incidental test result for a dependable rule, the deeper an Agent (an AI tool capable of autonomously executing tasks) penetrates business systems, the harder those deviations become to detect. Rule merging, version management, and execution logs are therefore not supporting work; they are prerequisites for production deployment.

Impact on regular people

For enterprise IT: Before deploying coding assistants, standardize project documentation files, add length warnings for rules, and retain conflict audit records. Otherwise, even a successful pilot may fail to scale reliably across other departments.

For workplace productivity: When using AI coding tools, rather than repeatedly adding requirements to prompts, check whether repository documentation contains conflicting or outdated instructions. Verifying a result once more is often more effective than writing another paragraph of prompts.

For the consumer market: At present, these differences primarily affect developers and enterprise software, so the impact on ordinary users remains limited. But as AI begins booking tickets, processing spreadsheets, and invoking enterprise systems, dependable instruction handling will determine whether “say one sentence and get it done” can become reality.