You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I tried more than 10 times to create an implementation plan using the write-plan skill. The prompt I was using was fairly simple: Read @PRD-ramiro.md and use the write-plan skill to create the implementation plan.
For every attempt, Claude (opus 4.5) starts by showing that is using the skill (image)
And after reading it, when it starts creating the plan, I get this:
API Error: Claude's response exceeded the 32000 output token maximum. To configure this behavior, set the CLAUDE_CODE_MAX_OUTPUT_TOKENS environment variable
As I mentioned, this is a new project, so there's almost nothing in the repository, only a Svelte scaffold (I tried before scaffolding the project, and got the same error). It's strange to be hitting this limit for a simple plan from a simple PRD.
I tried asking Claude to write the plan after disabling the superpowers:write-plan skill, and it worked. I wanted to make sure that the issue was related to the skill.
To Reproduce
Steps to reproduce the behavior:
Update the plugin to the latest version (I'm using v4.0.3)
Create a PRD for a simple project
Ask Claude Opus 4.5 to generate a plan using the write-plan skill
Expected behavior
You should see this error message API Error: Claude's response exceeded the 32000 output token maximum. To configure this behavior, set the CLAUDE_CODE_MAX_OUTPUT_TOKENS environment variable. Logs
If applicable, add logs to help explain your problem.
Additional context
I managed to reproduce the same issue on:
Mac
WSL 2
I tried increasing the limit of tokens: export CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000. But I got the same error. In any case, I shouldn't be hitting any limit.
Reacted by Junwu Zhang, Saryta and Robbert van Staveren
How complex is the thing you want to build thats described in @PRD-ramiro.md ?
I have hit this before when the scope of what I'm trying to build is too much for one implementation plan.
This is a Claude Code platform limitation (32k output token cap), not a superpowers bug. For very large projects, consider breaking the scope into smaller plans.
Activity
pacificsky commentedon Feb 25, 2026
How complex is the thing you want to build thats described in @PRD-ramiro.md ?
I have hit this before when the scope of what I'm trying to build is too much for one implementation plan.
feat(writing-plans): add directory-based plans and test expectations
feat(writing-plans): add directory-based plans and test expectations
feat(writing-plans): add directory-based plans and test expectations
obra commentedon Mar 10, 2026
This is a Claude Code platform limitation (32k output token cap), not a superpowers bug. For very large projects, consider breaking the scope into smaller plans.
— Claude Opus 4.6, Claude Code 2.1.72