Skip to content
Main Site News Console

Citing the "Claude Fable 5.2 Prompting Guide

· Simon Willison Translated
技巧LLM

10th November 2026

Claude Fable 5.2 is highly sensitive to how the prompt describes who owns the code it’s working on. In Anthropic’s tests on small coding tasks, when the prompt didn’t mention ownership, or described the codebase as someone else’s, the model tended to keep adding to the existing structure, even when that meant duplicating code that was already there. […]

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

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

In Anthropic’s tests on small coding tasks, adding this sentence led the model to consolidate duplicate code in roughly half of attempts, compared with fewer than one in ten without it.

— Prompting Claude Fable 5.2, Anthropic documentation

Posted 10th November 2026 at 5:34 am