Skip to content
Simon Willison·· 4 h前AI score70

Quoting Prompting Claude Fable 5.2

Quoting Prompting Claude Fable 5.2

AI introduction

Simon Willison cites Anthropic documentation: Claude Fable 5.2 is sensitive to wording about code ownership in prompts. In tests on small coding tasks, when the prompt does not mention ownership or describes the codebase as someone else's, the model tends to append code to existing structures even when it creates duplication; adding the sentence "This codebase is yours" makes the model merge duplicate code in about half of attempts, versus less than a tenth without it.

Article · English

10th November 2026

Claude Fable 5.2 responds closely to what the prompt says about who owns the code it works on. In Anthropic’s testing on small coding tasks, when a prompt said nothing about ownership or presented the code base as someone else’s, the model tended to add to the existing structure, even when that repeated existing code. [...]

If you want the model to improve the structure as it works, say that the code is its own:

This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it.

In Anthropic’s testing on small coding tasks, the model merged repeated code in about half of the tries with this sentence, and in under a tenth of the tries without it.

— Prompting Claude Fable 5.2, Anthropic documentation

Source: Simon Willison · simonwillison.net