DAGet the newsletter
How-to

Old prompts can make a new AI model more expensive, and a tool is meant to clean them up

Anthropic recommends reviewing old AI instructions when switching to Opus 5.5. In Anthropic's own test, a cleanup produced even lower costs and slightly better accuracy.

September 25, 2026, 08:23Updated 14 OctoberAI-generated from the sources listed, with automated source checks.

AI-generated image

When a company switches to a new AI model, it often carries its old instructions along. But instructions written for older models can be redundant or even harmful. The /claude-api prompt-audit command exists for that purpose.

The command is a subcommand of Anthropic's claude-api skill, which ships with the coding tool Claude Code and is open source. According to a technical review, it was added to the anthropics/skills repository on August 13, 2026.

What the tool does

The tool reviews prompts (the text instructions you give an AI), skills, CLAUDE.md files, tool descriptions and code that builds requests. It looks for instructions that were written for older models.

The result is two documents: a report of problems and a proposed change in diff form, meaning an overview of what can be deleted or fixed. According to the review, the tool looks for things like all-caps emphasis, rigid step-by-step procedures and reasoning scaffolding.

For each line, it asks whether the model could already know this. Context that only the author has stays in place. Repetitions of behavior the model has learned and workarounds for retired models go on the removal list. According to the documentation, shorter text is not a goal in itself.

Figures from Anthropic's own test

Opus 5.5 was released on September 22, 2026. According to Anthropic, it costs 40 percent less than Opus 5 for typical workloads and uses fewer tokens per task. The price is $4 per million input tokens and $20 per million output tokens.

In a test described in an Anthropic post from September 8, updated September 22, a customer service assistant with six older prompts was moved from Opus 4.8 to Opus 5.5. Each prompt had a deliberately planted flaw. The model switch alone cut costs by about 18 percent. The prompt audit produced roughly 9 percent lower costs on top of that, and accuracy about two percentage points higher.

A similar example in a cost guide shows a different model pair: Prompts written for Opus 4.8 cost 36 percent more per ticket on Opus 5 with no improvement in accuracy. After the audit, they were 14 percent cheaper than the unaudited ones.

Caveats

The figures are Anthropic's own measurements and come from reproductions in a technical article. The test covers only one type of application with deliberately planted flaws, so the percentages cannot be applied directly to other projects.

Anthropic employee Lance Martin wrote on X on September 23: "useful tip for Opus 5.5: run /claude-api prompt-audit in Claude Code."

Updated 14 October 2026: The article has been rewritten from additional sources.

Read also

Next storyOpenWorks: OpenAI pays local experts to help small businessesRead on
Back to the front page