A user conducted an experiment to determine the precedence of instructions when using Claude Code, specifically when multiple instruction sources conflict. The tests revealed that CLAUDE.md instructions consistently overrode AGENTS.md instructions. Surprisingly, a project-level skill, SKILL.md, also took precedence over CLAUDE.md, even when not explicitly invoked by the user. This suggests that Claude Code's internal logic prioritizes skills over static instruction files when a relevant skill can be auto-triggered. AI
IMPACT Demonstrates that Claude Code's internal logic prioritizes auto-triggered skills over static instruction files in conflict scenarios.
RANK_REASON User-conducted experiment on a specific product's behavior.
Read on dev.to — Claude Code tag →
- AGENTS.md
- ALPHA-WINS
- BETA-WINS
- Claude Code
- CLAUDE.md
- DELTA-WINS
- EPSILON-WINS
- ETA-WINS
- GAMMA-WINS
- SKILL.md
- ZETA-WINS
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →