Environment variables

CLAUDE_CODE_STOP_HOOK_BLOCK_CAP

Sets the maximum consecutive times Stop or SubagentStop hooks can block turn completion before forcing it to finish.

Syntax

CLAUDE_CODE_STOP_HOOK_BLOCK_CAP

Type to search the reference, templates and lessons.