Environment variables

CLAUDE_CODE_EXIT_AFTER_STOP_DELAY

Sets the millisecond delay to wait before auto-exiting when the query loop becomes idle, intended for automated scripts in SDK mode.

Syntax

CLAUDE_CODE_EXIT_AFTER_STOP_DELAY

Type to search the reference, templates and lessons.