Claude Fable 5.2 Responds to Code Ownership in Prompts
Story 2, from Simon Willison
Claude Fable 5.2 behaves differently based on whether it's prompted that the code is its own. When told the code is 'yours', it's more likely to merge repeated code.
Key points
- Claude Fable 5.2 adapts its behavior based on code ownership prompts.
- When prompted that the code is 'yours', the model is more likely to merge repeated code.
- In tests, the model merged repeated code in about half the tries when told the code is its own.
- Without the ownership prompt, the model rarely merged repeated code.
- The prompt 'This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it.' significantly affects output.
- Anthropic's documentation highlights this as a key technique for improving code structure.
Why it matters
As a software engineer using AI tools, understanding how prompts affect model behavior can help you write more effective code and reduce redundancy.
Counterpoint
The results are based on small coding tasks and may not generalize to more complex or real-world scenarios.
Sources
- Quoting Prompting Claude Fable 5.2 (Simon Willison)
This summary was written by a language model and may contain errors. Read the original for the full story.