One sentence makes Claude Fable 5.2 clean up duplicate code in about half of tries, up from under 1 in 10
Anthropic's new prompting guide for Claude Fable 5.2 says the model pays close attention to who owns the code. With no ownership line, or when the code is framed as someone else's, it tends to add on top of what's there and only report nearby problems. Adding one sentence saying the codebase is the model's own made it merge repeated code in about half of Anthropic's small test tasks, versus under a tenth without it. The catch: about 1.5x the output tokens, extra unrequested changes such as tests and docs, and summaries that skip small edits.
Why it matters
It's an official, measured switch between 'touch as little as possible' and 'leave it better than you found it', and it tells you when to use each.
Who it's for
Developers using Fable 5.2 in Claude Code, Cursor or the API, especially for refactors and cleanup.
How to try it
- For cleanup or refactor work, add the ownership sentence to your system prompt or CLAUDE.md in a new session.
- Leave it out when you want minimal changes to code someone else owns; a 'no refactors' rule elsewhere doesn't fully cancel it.
- Review the full diff, not just Claude's summary, since small changes may not be mentioned.
- Watch token use, which rose about 1.5x in Anthropic's tests.
Plan & availability: Works wherever you can set a system prompt or project instructions for Claude Fable 5.2 (Claude Code, the Claude API and tools that use it). Anthropic says to add it in new conversations, not mid-session. Guide published November 2026.
Source: @Anthropic on platform.claude.com
Written by Carlos Mendoza from the original post. Checked Nov 10, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
promptsclaude-fable-5-2claude-coderefactoring
More Claude tricks
- One URL and one key for all your MCP servers: ngrok's MCP Gateway is live · Dec 2
- OpenCode 2.4.2 cuts about 700 tokens per request and tunes GPT-6.2 · Nov 26
- OpenCode 2.4 gives your coding agent a browser, automations, and video generation · Nov 24
- Claude Code 2.1.330 draws your charts with easel and lets scheduled tasks run 30 days · Nov 21