Prompting Claude Fable 5.2: tell it the code is its own
Anthropic's prompting documentation for Claude Fable 5.2 says the model responds strongly to what the prompt says about who owns the code. In Anthropic's tests on small coding tasks, a sentence telling the model the codebase is its own led it to merge…
Why it matters
A single line in a system prompt can shift a coding agent from bolting on code to refactoring what is already there.
What happened
1 min readAnthropic's prompting documentation for Claude Fable 5.2 says the model responds strongly to what the prompt says about who owns the code. In Anthropic's tests on small coding tasks, a sentence telling the model the codebase is its own led it to merge duplicated code in about half the runs, versus under a tenth without it.
Our analysis
The numbers come from Anthropic's own tests on small tasks, with no sample size or exact metric given, so treat them as directional. The practical lesson is clear: if you want an agent to refactor, you have to grant it ownership explicitly rather than hope it infers it. The flip side matters too: in shared repositories the same sentence may invite broader, unwanted rewrites. Teams using Claude Code or similar agents should A/B this wording in their CLAUDE.md or system prompts before adopting it wholesale.