Prompt Debt: Old Prompts Make New Models Worse

You upgraded the model. The bill went down a little, the evals moved a little, and the result was underwhelming enough that nobody wrote it up.
Here is one reason that happens, and it has nothing to do with the new model: prompt debt. Your prompt is still carrying instructions written for the old one — the "double-check your work", the scratchpad, the six-step procedure, the all-caps CRITICAL — and on a model that follows instructions more literally than the one those lines were written for, they are no longer free.
TL;DR — Prompt debt is the scaffolding added to patch an older model's weaknesses and never removed. On a customer-support benchmark Anthropic ran, migrating the model cut cost by around 18% on pricing alone; removing the planted anti-patterns cut a further 9% and raised accuracy by about 2 points. The documented patterns you can delete on sight, because Anthropic publishes them. The rest — the prohibitions, the incident patches, the workarounds for a model you have retired — turn on a question most teams cannot answer: which failure, on which model, did this line prevent? Almost nobody wrote that down. MDflow is a place to keep the answer: markdown documents, with version history and review comments, beside the rule files your agents actually read.
What prompt debt is
Prompt debt is instruction text that was true about a model you no longer use. Lance Martin, a member of technical staff at Anthropic, put it in one line on stage at AI Engineer in November 2026: prompts accumulate debt just like code.
The specific claim is sharper than "old prompts are stale". Current models follow instructions more closely and more literally than the models most prompt text was written for. So an instruction that was a useful nudge on a weaker model becomes a command on a stronger one. The scaffolding does not fade out. It fires.
Anthropic names six patterns, in a September 2026 article by Martin that was re-run against Opus 5.5 after that model launched:
| Anti-pattern | Example | Why it hurts now |
|---|---|---|
| Verification rituals | "double-check your work" | Taken literally — work gets duplicated |
| Thoroughness and emphasis boosters | "CRITICAL: YOU MUST ALWAYS…" | Verbosity and extra tool calls |
| Mandatory procedures and scratchpad scaffolds | "think step by step in a scratchpad" | Stacks on top of native reasoning |
| Stale examples | Few-shot blocks tuned to an old model's failures | Teaches long reasoning chains on easy requests |
| Contradictory rules | "always refund within policy" vs "never refund without escalation" | Better instruction-following means the conflict is now felt |
| Dated configuration | Manual thinking budgets, retired parameters | Can be rejected outright by the API |
The full ruleset is not marketing copy you have to take on trust — it is a public file in the anthropics/skills repository, with greppable signals for each pattern, a keep list, and a verification step. Most of what follows is drawn from it, because it is the most detailed public statement of what has actually gone stale in the prompts people are running today.
What leaving it in costs
Anthropic measured it on a migration from Opus 4.8 to Opus 5.5, on a customer-support benchmark, and the shape of the result matters more than the number.
They started from a clean prompt and planted one anti-pattern at a time — a retired thinking setting, a pair of contradictory refund rules, a manual scratchpad, "verify twice", "be maximally thorough", and a mandatory six-step procedure — producing six legacy prompts, then averaged the six.
- Changing only the model ID: about 18% cheaper. This is pricing, not prompting. Opus 5.5's input tokens and cache reads cost less.
- Then running the audit: about 9% cheaper again, and about 2 percentage points more accurate.
Label that honestly before you quote it: it is a vendor's own benchmark, with defects planted deliberately rather than found in the wild, averaged across six variants. What makes it worth citing anyway is the mechanism, which the article spells out per failure, and which generalises:
- The verification ritual duplicated an order lookup on every refund.
- The emphasis booster turned into dozens of unneeded knowledge-base searches.
- The retired thinking setting made the API reject every routing request outright. (Note that this one is a configuration error wearing prompt clothing — it inflates the accuracy figure, and it would have shown up in any smoke test.)
- The contradictory refund rules led the model to withhold four refunds it owed while asking the customer to confirm.
- The manual scratchpad collided with the model's built-in thinking: on three tickets it wrote the tool call inside its reasoning and never executed it.
That last one is the one to sit with. It is not a cost story or a style story. A scaffold written to make an older model plan out loud caused a newer model to narrate an action instead of taking it.
Why the debt accumulates
The published rules contain the best one-line diagnosis of the mechanism I have read: nobody owns the removal, so prompts accumulate the union of every generation's mitigations.
That is the whole thing. Every mitigation had an author, an incident and a day on which it was correct. None of them has an expiry date, and no release note tells you which of your lines just became dead weight. The file only grows.
Three named variants of it are worth recognising in your own repository:
- Patch accretion. Many narrow conditionals, each traceable to one incident, until the model is navigating a maze of special cases instead of a principle. The sharp observation attached to it: an eval win for adding a line on top of the stack is not evidence that the stack should exist.
- The recency trap. One session's stumble encoded as a permanent rule, so every later session steps around a pothole that is not there. The test offered is a good one — would this rule have helped most recent sessions, or only the one that wrote it?
- Unenforced instructions. Rules that no code path, eval or reviewer ever checks, visibly violated in the app's own transcripts. If nothing checks it and nobody noticed, it carries no signal. That is the same argument made here before in lint rules beat rules files: a correction that can be enforced in code is worth more than a correction written in prose.
The audit question you probably cannot answer
Some of this is a grep. A scratchpad instruction, a forced tool_choice, an assistant-turn prefill, a retired sampling parameter: each is a documented row with a documented replacement, and you can act on it without knowing who added it.
The rest is where an audit gets hard.
For every emphatic or prohibitive line, the rules put the question precisely: which failure, on which model, did this prevent — and does that failure still reproduce on the target model? A line nobody can justify is suspect by default. That question governs the categories a pattern table cannot settle — prohibition clusters, mitigations written for one model generation, conditionals added after one incident, and two instruction files that disagree.
Then try answering it on a rules file your team has been editing for a year.
The recommended source is git blame, and blame is genuinely useful — it is how you order two instruction files that contradict each other, and a blame line tying text to a retired model's era is described as the strongest form of evidence for calling something dated. But blame answers who and when. The audit's question is which failure, and on which model. That is my reading rather than the skill's claim, and it is the gap this post is about: the commit message says "tighten agent instructions", the diff says a sentence was added, and the failing transcript that justified it is in a session nobody saved.
Without an answer, you are left with idiom-dating: this reads like text written for an older generation. The rules are candid that idiom-dating alone is a low-confidence signal, earning more only when it can be paired with a reason grounded in the target model's documented behaviour. Low confidence means flag it, do not edit it.
So the catalogue clears the obvious half of your file, and the half that is specific to your product stays exactly as long as its history is missing.
There is a genuine tension here, and the rules hold both sides of it. Instruction files should state the current rule and drop the archaeology: past tense, incident IDs and PR numbers do not belong in a file the model reads on every load, because a rule's authority is the behaviour it prescribes rather than the incident that motivated it. But the reason for a constraint is explicitly on the keep list, and prohibitions that encode real policy are supposed to carry their reason beside them.
Resolve it by splitting the two. The reason belongs in the prompt, in one present-tense clause. The history belongs somewhere a human reads and an auditor can find. A rule file that keeps neither is the one that cannot be cleaned.
What not to delete
An audit that only says "delete" hurts the people who follow it most diligently, which is why the rules carry an eleven-item keep list and describe it as every bit as binding as the pattern tables. The ones worth internalising:
- Context survives, always. Who the user is, what the product does, what "good" means here, and why a constraint exists — none of that is cruft, because none of it is anything the model could have worked out. Strip a prompt back too far and the output turns generic, because the gaps get filled with safe defaults.
- Shortness is not the goal. The damage comes from specific wrong instructions, not from volume, so a character count is never a reason to cut.
- Where only one sequence is safe, keep the script. Destructive commands, auth flows and compliance steps are the places prescriptive text still earns its keep.
- Tool descriptions usually need more, not less. Parameter meanings, limits, failure modes, what the call does not give back. Under-description is the normal defect here; steering and worked examples are what comes out.
- Duplication that works is not debt. Two files stating the same contract is a tidiness preference. It becomes a finding when the two copies disagree.
- Fitting a new model can mean writing more. Each generation brings its own failure modes, and some of them need a line that was not there before.
The deletion rule underneath all of it is a single question: could the model already know this? Restatements of trained defaults go; what only the author knows stays. That question is the same one asked from the other direction in skill novelty, where the measurement is how much of a skill file the model could have produced without it.
Prompt versioning is what makes the debt payable
A prompt is a per-model artifact, so it needs the thing per-model artifacts need: a version history that records what it was written against.
Three practices follow from that, all of them in the published rules and none of them about wording:
- Removal is a hypothesis, not a conclusion. Probe the behaviour before and after on a scratch copy. Asking the model whether it needs an instruction is not a measurement.
- One change at a time where the stakes are high, so a regression attributes to its cause. If a cut regresses, re-add the instruction in its minimal form rather than restoring the verbose original.
- Re-audit at every model release. A line that is load-bearing on one generation is cruft on the next, so the audit is a recurring job rather than a cleanup.
None of that is possible without history. "Re-add it simply" assumes you can see what was there. "One change at a time" assumes you can roll one change back. "Does this failure still reproduce" assumes somebody wrote down what the failure was.
This is also where prompt debt stops resembling code debt. Code has a compiler, a test suite and a blame trail that means something because the unit of change is a function. Prose has none of that, which is the argument of prose engineering — and that post covers the sweep machinery (ratchets, evidence before removal, retiring a variant together with its test) that this one deliberately does not repeat.
Which teams this hits hardest
- Anyone running a model migration. The audit's own framing: every migration checklist is also a removal checklist.
- Teams with a long-lived
CLAUDE.mdorAGENTS.md. Configuration files load every session, so their size is a tax paid on every request. See AGENTS.md, CLAUDE.md, SKILL.md, llms.txt explained for which file is read when. - Anyone maintaining a skill library. Skills rot factually as the code ships — hardcoded paths, flags and version numbers with no verification date, and nothing re-checking them.
- Multi-file agent setups. Two instruction files can rule on the same point without ever being read side by side, and nothing tells the model which one is current.
- Support, operations and other high-volume routing. The anti-patterns cost the most where the prompt runs thousands of times a day.
- Non-engineering teams running prompts. Legal, finance and marketing prompts carry the same debt with none of the version control, because they never lived in a repository at all.
How MDflow fits
Be clear about the boundary first. MDflow does not audit your prompts. There is no prompt linter in it, no model-migration diff, no eval harness. The audit is Anthropic's command, your eval suite and your judgment. What MDflow is, is the place the answer to "which failure, on which model?" can live — and the agent doing the audit can read it.
What lines up today
- Everything is plain markdown. Prompts, skills, rules files and runbooks are already markdown; a document in a workspace is the same text an agent reads. No export step, no second format.
- Version history (Pro) makes removal reversible. Line-by-line diffs and restore, which is what "re-add it simply" actually requires three weeks later. Stated plainly: version history is private to the document owner and is deliberately not exposed through the API or MCP server.
- The Document Log records who changed what. Every create, edit, share and delete, with its actor — and anything arriving through the API or MCP server is marked automated with the token name. When an agent edits its own instructions, that is the feed that says so.
- Comments carry the disagreement without editing the text. A reviewer can attach a comment to a selected passage in a shared document, which is the right shape for "I think this rule is dead" against a rule you are not ready to delete.
- Folder descriptions are the retrieval signal. A folder described as "prompt decision records — one per rule: the failure it prevented, the model it was written against, the eval that justified it" is exactly the vocabulary an auditing agent needs to find the folder at all. Retrieval ranks that description above folder and document names.
- An agent can read it while it audits.
mdflow_get_contextover MCP, or the HTTP API with a Personal Access Token on Pro, so the provenance record reaches the audit instead of sitting in a wiki nobody opened. - Rule files in a repository can be edited in place. The GitHub, Google Drive and OneDrive integrations edit markdown where it lives, so the
CLAUDE.mdin your repository and the decision record in your workspace are one tab apart.
Honest gaps. Neither version history nor comments is readable over the API or the MCP server — the API exposes commenting only as a permission on a share — so an auditing agent reading a workspace sees the current text, not the diffs and not the discussion. Claude Code reads CLAUDE.md from disk, not from MDflow, so the rule file stays in the repository and the decision record is a companion to it rather than a replacement. Files edited in place through GitHub, Google Drive and OneDrive are not MDflow documents and sit outside workspace search and retrieval. And nothing here enforces the discipline: a decision record only exists if somebody writes the sentence when they add the rule, which is the same two minutes a folder description costs and the same two minutes people skip.
Where this is headed — direction, not a dated commitment. The gap we keep returning to is between what a document is for and what an agent retrieves from it, and a decision record is a clean case of that. Narrowing the distance between where prose is version-controlled and where it is edited is the other thread, since agent instructions increasingly live in repositories. Treat both as interests rather than roadmap.
The bottom line
Prompt debt is not a tidiness problem. It is a measured cost — about 9% on one vendor benchmark, on top of what the model change saved — and a correctness problem, because a scaffold written for a weaker model can make a stronger one describe an action instead of taking it.
Run the audit when you migrate: /claude-api prompt-audit in Claude Code covers the prompts, skills and tool descriptions in your working directory. Keep the keep list open while you do it, because the fastest way to make a prompt worse is to shorten it.
And when you add the next rule, spend one more sentence than you meant to: the failure it prevents, and the model you saw it on. That sentence is what makes the line deletable a year from now, by someone who was not there.
Start free · Connect an AI agent · Read the API docs
Frequently asked questions
What is prompt debt?
Prompt debt is the accumulated instructions in a prompt, skill or agent configuration file that were written to patch an older model's weaknesses and never removed. Because current models follow instructions more literally, that leftover text does not just waste tokens: verification rituals duplicate work, emphasis boosters trigger extra tool calls, and manual reasoning scaffolds collide with the model's own thinking.
Should I still tell the model to think step by step?
Generally no, on a current frontier model with thinking on. Anthropic's published audit rules treat scratchpad tags and think-step-by-step instructions as scaffolds to replace rather than tune, because thinking depth is now controlled by configuration such as an effort setting. Anthropic's own prompting guidance presents manual chain-of-thought prompting as the fallback for when thinking is off, and notes that some models may decline a prompt asking them to reproduce their reasoning.
How do I audit a prompt for outdated instructions?
Inventory everything that reaches the model as text — system prompts, tool descriptions, CLAUDE.md and AGENTS.md, skills, few-shot blocks and request-building code. Then ask of each line which failure, on which model, it was added to prevent, and whether that failure still reproduces on the model you are targeting now. Anthropic ships this as a command, /claude-api prompt-audit in Claude Code, and the rules behind it are public in the anthropics/skills repository.
What is prompt versioning and why does a prompt need it?
Prompt versioning is keeping a prompt's history so you know what changed, when, and against which model it was written. A prompt is a per-model artifact: a line that is load-bearing on one generation is dead weight on the next, and the audit question is about provenance rather than wording. Versioning also makes deletion reversible, which matters because removing an instruction is a hypothesis you then have to test.
Does deleting prompt text always improve performance?
No, and the published audit rules are explicit that the goal is fit rather than brevity. Context the model cannot get elsewhere — audience, environment facts, the quality bar, tool contracts and the reasons behind constraints — is never cruft, fragile operations still need exact scripts, and matching a prompt to a new model sometimes means adding guidance for that model's failure modes. A naive shortening pass deletes the highest-value words first.
Further reading
- Your Old Prompts Are Making Claude Worse — Lance Martin, Anthropic, AI Engineer, November 2026. The talk this post is built on.
- Reducing cost and improving performance with Claude Platform — Lance Martin, Anthropic, September 2026, re-run against Opus 5.5. The six anti-patterns and the migration benchmark.
prompt-audit.mdinanthropics/skills— the audit's actual rules: the pattern groups, the greppable signals, the keep list and the verification step.- Claude prompting best practices — Anthropic's current prompting guidance, including extended thinking versus manual chain of thought.
- Prose Engineering: Your Agent Is Mostly Not Code — the retirement machinery this post leaves out: ratchets, evidence before removal, and why a test can keep dead prose alive.
- Skill Novelty: Stop Writing What the Model Already Knows — the same deletion question, asked before the text is written.
- Lint Rules Beat Rules Files for AI Coding Agents — what to do with the corrections that should never have been prose.
- AGENTS.md, CLAUDE.md, SKILL.md, llms.txt Explained — which instruction file is read by whom, and when.
- Prompt Caching: Why Agents Cost 10x More Without It — the other half of the same cost conversation.
- MDflow MCP documentation and HTTP API documentation — how an agent reads and writes your workspace.