{"name":"CLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS","slug":"claude-code-emit-user-prompt-submit-hook-events","family":"env","title":"Environment variables","noun":"environment variable","description":"Setting CLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS makes Claude Code report when UserPromptSubmit hooks start and finish","description_source":"entry","described_by":{"version":"2.1.311","anchor":"env-var-opts-userpromptsubmit-hooks-into-hook-startedhook-r"},"presence":{"first_seen":"2.1.311","removed_in":null,"in_current_build":true,"newest_mined":"2.1.312","builds":2,"mined_builds":153,"first_cited":{"version":"2.1.311","released_at":"2026-10-26 19:47:57","spans":1}},"aliases":[],"entries":[{"version":"2.1.311","anchor":"env-var-opts-userpromptsubmit-hooks-into-hook-startedhook-r","heading":"Opt in to start and end events for UserPromptSubmit hooks","line":"Setting CLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS makes Claude Code report when UserPromptSubmit hooks start and finish","released_at":"2026-10-26 19:47:57","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-emit-user-prompt-submit-hook-events","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}