HOW-TO GUIDE

How to check which instruction files Claude Code, Codex, and Copilot CLI read

Based on a guide by joshinamsterdam-ai on DEV Community · Dec 1, 2026

You'll end with: A tested map of which instruction files each coding agent loads, from AGENTS.md and CLAUDE.md to Copilot's file and Cursor rules.

Why it's worth having: In the test, Claude Code dropped AGENTS.md once a CLAUDE.md existed, Codex skipped CLAUDE.md, and Copilot CLI read three files while answering NONE.

At a glance

WHO IT'S FOR
Software engineers and team leads who run more than one AI coding agent in a repository.
LEVEL
Intermediate
COST
Free to read. Claude Code, Codex, and Copilot CLI each run on their own plan.
YOU NEED
A throwaway git repo · Claude Code, Codex CLI, or GitHub Copilot CLI · One instruction file per tool

The method, in short

  1. 1Put a different codeword in AGENTS.md, CLAUDE.md, the Copilot instructions file, and a Cursor rule, then ask each agent.
  2. 2Check what loaded with the tool, not the model: /memory in Claude Code and copilot instruction list in Copilot CLI.
  3. 3Keep shared rules in one root AGENTS.md and start any CLAUDE.md with an @AGENTS.md import so Claude Code reads both.
  4. 4Add CLAUDE.md to project_doc_fallback_filenames in the Codex config for folders that have no AGENTS.md.

The post has the five test setups, the result table, and the settings that brought each file back.

More from The Feed

TOOL

Amazon Bedrock AgentCore shows near-real-time cost for each agent

Teams running agents on AWS can see estimated cost per agent, session, and account as they scale, and evaluate every session for less.

WHAT IT DOES
AgentCore Observability shows estimated cost by session, trace, and span, split by model, compute, memory, gateway, and tools; Agent Registry rolls it up.
WHO IT'S FOR
Cloud architects, platform engineers, and IT finance leads who run AI agents on AWS.
HOW TO START

Needs agents on AgentCore Runtime in US West (Oregon), US East (N. Virginia), or US East (Ohio).

https://aws.amazon.com/about-aws/whats-new/2026/12/agentcore-agent-fleet-cost-visibility/

Then open AgentCore Observability for an agent and set a CloudWatch alarm on its cost threshold.

COST
Billed to your AWS account; cost visibility and Agent Registry are in preview.
WHY IT MATTERS
Built-in evaluators now cost 10x less and custom evaluators 3x less, so teams can evaluate every agent session instead of a sample.
Source: AWS
GRID

Clarksville voters keep $55B in bonds for Serverfarm's data center

Crew members stand by the signed final steel beam for Serverfarm's ARK1 data center building in Clarksville, Arkansas
Photo: Serverfarm

Clarksville, Arkansas voters kept two city ordinances that allow up to $55B in industrial revenue bonds for Serverfarm's $6.6B data center now under construction.

THE VOTE
Bond issue 1 passed 654 to 350 and bond issue 2 passed 659 to 345, about 65% in favor of each.
THE INCENTIVE
The bonds carry a 65% property tax abatement for 30 years, and the city does not repay them if the company defaults.
THE CAMPUS
Serverfarm plans more than 200 permanent jobs, 2,000 people in construction, and over $548M in taxes through 2060.
WHY IT MATTERS
The vote keeps Serverfarm's $1M payments each to Clarksville, Johnson County, and the regional medical center in place as crews build its four-building campus.
HOW-TO GUIDE

How to check that CLAUDE.md loaded before you rewrite a rule Claude ignored

You'll end with: A check of which CLAUDE.md and rule files Claude Code loaded, a hook that logs each load, and a script that flags rules that never reach Claude.

WHO IT'S FOR
Software engineers and team leads who set up Claude Code for a repository.
LEVEL
Intermediate
COST
Free to read. Claude Code needs a paid Claude plan; the check script uses only Python.
YOU NEED
Claude Code · jq for the logging hook · Python 3 for the pre-flight script

Based on a guide by PromptMaster on DEV Community · Dec 2, 2026