⌨️BASH_MAX_OUTPUT_LENGTH
Also known as BASH_MAX_OUTPUT_LENGTH environment variable, TASK_MAX_OUTPUT_LENGTH
It sets how much of a command's output Claude gets back.
Think of it like
It is like you copy just the first part of a long note.
Example
Lucy's test run prints a long log, and the failure is near the end. She raises the limit, and Claude can see the error.
Why it matters
If the useful line is past the cut, Claude never sees it and guesses instead.
Definition
Example code
bash
export BASH_MAX_OUTPUT_LENGTH=80000
claudeCommon mistake
Key takeaways
- 1Default 30,000. Characters.
- 2Most 150,000. The top.
- 3Setting wins. bashOutputMaxChars.