claude.nagdy.me

Read CLAUDE_EFFORT in Bash scripts

The CLAUDE_EFFORT env var is set in Bash subprocesses so scripts can adapt to the current effort level.

bash
# CLAUDE_EFFORT is automatically set in Bash subprocesses
# Values: low, medium, high, xhigh, max
if [ "$CLAUDE_EFFORT" = "high" ] || [ "$CLAUDE_EFFORT" = "max" ]; then
  npm run test -- --coverage
else
  npm run test -- --bail
fi
View Full Module