I’m using Claude Code with Opus 4.6 1M Context to plan a Shopify app. I spent time writing a detailed brief (architecture, modules, edge cases, database schema — ~480 lines), and now I’m asking it to write the full PRD based on that brief and full agent research. It keeps timing out mid-generation. Every time. I’ve tried breaking it into smaller sections and it still chokes. It reads all the context fine, starts writing, then just… dies. The frustrating part is it burns tokens on each attempt… re-reading files, re-analyzing the codebase, planning what to write… then times out before actually producing anything. Has anyone found a reliable way to get Claude Code to generate long documents? Is this a known limitation with Opus in the CLI? Would love to hear if others have hit this wall and how you got around it. For context: the task is “write a thorough PRD based on this brief”… not even code generation. Just structured markdown. submitted by /u/pbody538
Originally posted by u/pbody538 on r/ClaudeCode
