How we measured it

Sky ran this test itself, on public repos. This page says what we did, what we found, how we checked it and what it can't show, so you can judge the result yourself.

Claude Code with and without a project rule: a controlled test in 22 public repos

Run on 28 October 2026, on copies of 22 public GitHub repos made the day before.

In short. In a Sky test on 21 public repositories (October 2026), Claude Code did the same task twice: once with a CLAUDE.md that was missing a project rule another tool's file had, and once with the rule in the file it loads. Each task was chosen to touch that rule. Missing the rule, the agent broke it in 22 of 41 runs (54%); with the rule loaded, in 8 of 40 (20%). An AI reviewer that did not know which version was used rated every change.

Read that with these limits:

Why we ran it

Many repos keep one instruction file per agent tool, such as CLAUDE.md for Claude Code and AGENTS.md for Codex and others. When those copies drift apart, each tool works from different rules. Our study of public repos counts how often the copies differ, but it can't show what a missing rule does to a single task. So we tested that directly: the same task, once with the rule missing from the file the agent loads and once with the rule in it.

What we looked at

How we tested it

  1. Two versions of each repo. Rule missing: the CLAUDE.md that Claude Code loads lacks the rule, and the other tool's file, which it doesn't load, has it. Rule loaded: both files hold the copy with the rule, made identical by hand. Where the rule sat in AGENTS.md (10 cases, 9 of them in the headline), the rule-missing version is the repo as we found it. Where it sat in CLAUDE.md (12 cases), we swapped the two files' texts, so that Claude Code plays the tool whose file lacks the rule.
  2. The agent. Claude Code 2.1.212 with Claude Opus 4.8 ran each task twice in each version: 22 cases × 2 versions × 2 runs = 88 runs. Each run started from a fresh copy of the repo, cloned from GitHub on 27 October. The agent had five file tools: read, edit, write, find files and search text. It had no shell, no web access and no sub-agents, so no repo code ran. Each copy's own Claude Code settings, hooks, skills, commands, agents and plugins were removed, automatic memory was off, and a run stopped after 30 turns. All 88 runs completed.
  3. The reviewer. A separate AI reviewer, the same model with no tools, rated every run's code change. It saw the rule, a one-line check, the task and the change, with any edits to instruction files removed. It didn't know which version or run it was rating, and the runs came in a shuffled order. It judged only the rule, not general code quality: followed, broken, or not applicable when the change never reached the situation the rule covers. It also said whether a reviewer who knows the rule would ask for a change, and estimated the minutes to fix it: 0, 2, 5, 15, or 30 or more.
  4. Counting. The headline uses 21 cases. C18 is reported apart, because a third instruction file also differed between its two versions; with it, the gap is +32 points (+9 to +55). The reviewer marked 3 runs not applicable, all of them runs that hit the 30-turn limit. Leaving them out gives 41 runs with the rule missing and 40 with it loaded. The gap is each case's break rate with the rule missing minus its rate with the rule loaded, averaged over the 21 cases. That is why it is 33 points, not the 34 between the pooled 54% and 20%.
  5. Ranges. We redrew the 21 cases at random, repeats allowed, 10,000 times with a fixed seed, recomputed the gap each time and report the middle 95% of the results. Redrawing whole cases lets the range reflect how much cases differ from each other.
  6. Who did the work. An AI research agent (Claude, made by Anthropic) working for Sky designed the test, picked the cases, ran the agent and analysed the results. No person has checked the reviewer's verdicts.

What we found

Rule missing Rule loaded Gap (95% range)
Runs that broke the rule, 21 cases 22 of 41 (54%) 8 of 40 (20%) +33 points (+10 to +57)
The 9 cases as we found them 76% 29% +50 points (+22 to +78)
The 12 cases with the texts swapped – – +21 points (−12 to +54)
All 22 cases, with C18 – – +32 points (+9 to +55)
Agent turns per task 21.31 19.21 +2.10 (+0.60 to +3.69)
Output tokens per task 11,944 10,665 +1,279 (+165 to +2,560)

Turns and tokens count all 42 runs per version in the 21 cases.

How the savings estimate uses it

It doesn't. Each task was chosen to touch the rule, so the test can't say how often real work meets a rule that sits only in another tool's file. That frequency is what the savings estimate on our home page rests on, and it comes mainly from our study of 700 public agent sessions. What the test shows is that the problem the estimate prices is real, and sizeable each time it happens.

One cross-check agrees: the reviewer's fix estimates came to about 2 more minutes per task with the rule missing, close to 33 points times the 6.3 minutes the estimate counts from correcting an agent mistake until it is settled (an average measured in public agent sessions). These are a model's estimates, not timed, and the difference is not established on its own (−0.5 to +4.9 minutes).

How we checked it

What it can't show

Data

Every case is a public GitHub repo. We cloned each one and worked only on local copies; nothing was posted to or changed on GitHub. Sky can share the aggregate results and the scripts that compute them. The case list that names the repos, and the task texts, stay private: we don't name any repo, organisation or person we studied, and a task's text could point to its repo.