Anthropic doc: one 'you own this codebase' line lifts Claude's code consolidation from 10% to 75%

lxfater · x · 2026-11-22

Digging into Anthropic's official Prompting Claude Fable 5.2 docs: telling the model "You are the owner and long-term maintainer of this codebase" makes it consolidate duplicated code in 75% of runs vs under 10% otherwise. But the viral tip omits two caveats: output tokens rise 70–80% with unrequested changes and PR summaries often omit small edits, and explicit no-refactor rules fail to suppress it in over half of runs. Best practice: use it only in a dedicated cleanup session, not for small bug fixes.

Original post →

More from coding & agent

coding & agent channel →