Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk4 min

What Happened When a 1,350-Line CLAUDE.md Disappeared

A coding-agent experiment found that two rules changed when a 1,350-line CLAUDE.md disappeared. The repository’s changelog and version history help explain why.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mayank Kaul’s experiment found that removing a 1,350-line CLAUDE.md changed compliance with two of 20 checkable rules—but both rules conflicted with patterns visible in the repository. In 30 runs across six configurations, the full-file setup passed 399 of 400 checks, according to Kaul. The result is a useful case study in how coding agents may follow repository evidence over written instructions, not proof that long instruction files are generally unnecessary.

What did the experiment test?

Kaul tested whether a coding agent would follow project rules with or without a large CLAUDE.md file while completing one ticket-sized task. The file contained 1,350 lines. He selected 20 mechanically checkable rules and used a deterministic checker to inspect the resulting file tree, rather than relying only on the agent’s own account of what it had done.

As an Amazon Associate I earn from qualifying purchases.

The experiment comprised 30 runs across six configurations. With the full file present, 399 of 400 rule checks passed. Kaul reports that two rules accounted for the difference associated with removing the file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Which two rules changed the outcome?

Where to put the changelog entry

The instruction file said to add a bullet under ## Unreleased. But the repository’s changelog kept “Nothing yet.” under that heading and placed actual entries in released sections. Its header also described a workflow in which a new version section is cut. Runs without the instructions followed that visible structure instead of adding an unreleased bullet.

Which version number to bump

The file instructed the agent to bump the patch digit. Repository history, however, showed a minor-version increase when a change added public API surface. That history gave the agent evidence for a different versioning decision than the written rule.

Kaul calls these outcomes rule violations, but they were also defensible choices based on the repository’s demonstrated conventions. The disagreement is the important detail: the file prescribed one behavior while the changelog and version history suggested another.

Why did the repository matter when the file was absent?

The experiment was not a clean test of an agent that had never encountered a project contract. Kaul says the initial setup had confounds: the deleted file remained recoverable from Git history, while memory mechanisms and a test-harness comment also pointed toward the rules file. He rebuilt the base repository so the file was absent from every scanned object-store blob.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Even after that change, he characterizes the file-absent runs as a model told that a contract existed but unable to access it. The repository itself still supplied clues through its current changelog and past version changes. Because the repository included several examples of those conventions, they were unusually easy to infer. A project with little history—or a newly created repository—might not offer the same evidence.

How did the configurations compare?

Kaul reports the following scores and per-run costs for two configurations. These are results from this experiment, not general estimates of model performance or price.

Configuration Rule-check result Reported cost per run
Nineteen-line brief plus a Skill 100/100 $0.696
Full 1,350-line file 99/100 $1.094

Kaul says the full-file configuration cost more in each of 25 pairwise comparisons. The small score difference and cost comparison apply only to the tested task, repository, model, and setup; they do not establish that a compact brief or Skill will outperform a long file elsewhere.

What can teams take from this case?

The practical question is not simply whether a project instruction is long or short. It is whether each rule adds guidance that cannot already be inferred from the codebase—and whether it is consistent with the evidence the repository presents.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Check rules against the repository. For each instruction, ask whether a careful reader could infer the same behavior from current code, documentation, changelogs, or history.
  2. Investigate contradictions before editing the rule. If a rule conflicts with established practice, determine whether the rule is stale or whether the repository convention is undesirable. The right fix may be to update the instruction, change the project practice, or document why the written rule intentionally differs.
  3. Try a real task more than once. Observe whether a rule changes the resulting files, rather than judging it only by how sensible it sounds or by an agent’s verbal confirmation.

Kaul’s interpretation captures the tension: “The rules worth keeping are the ones your codebase contradicts, which is uncomfortable, because those are also the ones most likely to be wrong.” That is his reading of this experiment, not a general rule that repository conventions should always override explicit instructions.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What the result does not establish

The study covered one task, one repository, one model, and five runs per arm. Kaul reports no statistical testing on the compliance outcomes. It therefore cannot establish that shorter instruction files generally perform as well as longer ones, that Skills are universally preferable, or that agents will infer conventions reliably in a greenfield repository. The finding is narrower: in this repository, two written rules disagreed with evidence in the project, and removing the file changed how those rules were followed.

Source: Mayank Kaul, “I deleted a 1,350-line CLAUDE.md. Two rules broke. post,” DEV Community, August 16, 2026.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.