
TL;DR
A controlled ablation across Claude Code and Codex, 17 real tasks, and 288 evaluated runs finds context-injection strategy does not measurably change correctness (bounded to under 10-15pp). The failures are implementation skill, not missing repository knowledge.
AGENTS.md and CLAUDE.md files are the standard way teams steer coding agents. New research asks the question most of us have never tested: does the context actually change what the agent ships? The answer, from a controlled ablation of 288 evaluated runs across Claude Code and Codex on 17 real tasks from 3 repositories, is that injection strategy does not measurably move correctness on either agent, bounded to under 10-15 percentage points via equivalence testing.
The paper also explains why, and the why is more interesting than the null.
The researcher, Prakhar Khatri, built a SWE-bench-style harness with three context-injection strategies applied to the same tasks:
Each task ran under all three strategies with 3 independent repeats, on Claude Code (claude-sonnet-4-6) and Codex CLI (gpt-5.5). Tasks came from merged pull requests in three Python repositories: pdm (477-word context file), firebase-admin-python (1,236 words, rated "Excellent" on the study's rubric), and opshin (248 words). Correctness was scored by hidden gold tests extracted from the merged PRs, and runs executed on an egress-locked pod with GitHub DNS blackholed so agents could not read gold solutions.
Pass rates by strategy:
| Strategy | Claude (15 tasks) | Codex (17 tasks) |
|---|---|---|
| none | 53.3% (24/45) | 58.8% (30/51) |
| always_on | 55.6% (25/45) | 56.9% (29/51) |
| selective | 55.6% (25/45) | 52.9% (27/51) |
Omnibus permutation tests found no strategy effect (p = 1.00 for Claude, p = 0.66 for Codex). Equivalence testing bounds every pairwise difference to under 10pp for Claude and under 15pp for Codex.
The mechanism is the durable finding. The author triaged near-miss failures (1-4 failing gold tests), the exact tasks where one extra fact could flip a pass. None of them were missing-knowledge failures:
The failure mode is implementation skill: feature design, pattern selection, exact wiring. A context file cannot supply that. A manipulation probe hammered the point home: the two convention-closest near-miss tasks were re-run under all strategies on both agents, 36 cells total, and the real, unmodified AGENTS.md never converted a near-miss to a pass on either agent (Codex failed 18/18 regardless of strategy).
From the archive
Jul 31, 2026 • 9 min read
Jul 31, 2026 • 7 min read
Jul 31, 2026 • 6 min read
Jul 31, 2026 • 6 min read
The correctness null does not mean context is inert. Two process-level signals survived:
The study offers a clean explanation for the contradictory prior results: borderline task difficulty is agent-specific. Across the 15 shared tasks, per-task pass rates correlate at Spearman rho = 0.75, but roughly 40% of tasks sit in different difficulty bands per agent (borderline for one, floor or ceiling for the other). A task set calibrated on Codex is mostly floor/ceiling for Claude, where no manipulation can register. Single-agent studies draw tasks from different agents' informative bands and reach different conclusions without any contradiction in the underlying behavior.
A power analysis makes the practical stakes clear: at 15-17 tasks with 3 repeats, even a 30pp effect is only caught 57% of the time, and detecting a 10pp effect at 80% power needs roughly 120-200 tasks. Most "context files work" or "context files are useless" takes floating around are built on studies that structurally cannot detect the effect they claim.
This is the most rigorous AGENTS.md study yet, and its honest reading is not "delete your context files". It is:
Context files are behavior steering, not capability injection. If you want them to change correctness, write them for the failure modes that actually gate tasks: worked examples, task decomposition, wiring patterns. The paper's own recommendation is that effort spent on generic convention prose may pay off less than task decomposition, tooling, or example-driven prompting, which lines up with why example-rich context wins in our context engineering guide and in our coverage of Claude's context engineering rules.
Process effects are real and valuable. We run this site's fleet on AGENTS.md files with verification gates and commit rules, and the opshin result is exactly the mechanism we rely on: files that tell agents when and how to run expensive checks change behavior in measurable ways even when pass/fail does not move. That is the argument behind keeping context lean, which we covered in agent context reduction patterns and running a fleet of Claude agents.
Calibrate per agent. The rho = 0.75 finding is a methodological warning for everyone building agent workflows: what is borderline for Claude Code may be trivial for Codex and vice versa. Our comparison of repository context for coding agents and the Claude Code skills primer both touch the same trap from different angles: guidance that changes one agent's behavior does not transfer to another.
Caveats worth stating plainly: this is 3 Python repositories, naturalistic style-guide-type files, and a snapshot of two model versions as of late July 2026. Purpose-built, task-specific context remains an open question. But the burden of proof just shifted: teams claiming AGENTS.md files improve agent correctness should now have to show it at scale, not assume it.
Read next
Persistent memory for coding agents is trending because every session still starts too cold. The hard part is not saving facts. It is proving recall, freshness, deletion, and rollback under real development pressure.
9 min readAnthropic cut 80% of Claude Code's system prompt for Opus 5 and Fable 5 with zero regression on coding evals. The post landed on HN with 197 points and 133 comments. Here is what the article says, what HN thinks, and what it means for your agent harness.
7 min readCodeNib turns repository context into a data-system problem. That is the right direction for Claude Code, Codex, Cursor, and every agent that keeps rediscovering the same repo.
8 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Anthropic's agentic coding CLI. Runs in your terminal, edits files autonomously, spawns sub-agents, and maintains memory...
View ToolOpenAI's coding agent for terminal, cloud, IDE, GitHub, Slack, and Linear workflows. Reads repos, edits files, runs comm...
View ToolAI coding platform built for large, complex codebases. Context Engine indexes 500K+ files across repos with 100ms retrie...
View ToolOpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolEvery coding agent in one window. Stop alt-tabbing between Claude, Codex, and Cursor.
View AppSpec out AI agents, run them overnight, wake up to a verified GitHub repo.
View AppTurn a one-liner into a working Claude Code skill. From idea to installed in a minute.
View AppDefine custom subagent types within your project's memory layer.
Claude CodeConfigure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsDeep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI Agents
Buzz by Block: Open-Source Slack-Style Collaboration for Humans + AI Agents (Demo & Setup) Check out Arcade: https://arcade.dev.plug.dev/xiDRwlA Repo: https://github.com/block/buzz The video introd...

Build Anything with Vercel, the Agentic Infrastructure Stack Check out Vercel: https://vercel.plug.dev/cwBLgfW The video shows a behind-the-scenes walkthrough of how the creator rapidly builds and d...

Check out Zed here! https://zed.dev In this video, we dive into Zed, a robust open source code editor that has recently introduced the Agent Client Protocol. This new open standard allows...

Anthropic cut 80% of Claude Code's system prompt for Opus 5 and Fable 5 with zero regression on coding evals. The post l...

Anthropic removed over 80% of Claude Code's system prompt for Claude 5 models. Here is how the rules changed and what it...

A step-by-step guide to configuring an isolated Mac that Claude Code can fully control remotely - from SSH and Dispatch...

Persistent memory for coding agents is trending because every session still starts too cold. The hard part is not saving...

Efficient agents do not stuff every tool result into the model context. They keep intermediate state in code, files, and...

Context engineering is the practice of designing the persistent information that surrounds every AI interaction. CLAUDE....

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.