eventName
CwdChanged (Claude Code)
displayName
CwdChanged (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
false
family
observer
payloadSchema
type
object
required
- hook_event_name
- previous_cwd
- cwd
properties
hook_event_name
type
string
const
CwdChanged
previous_cwd
cwd
description
Fires when the working directory changes (e.g. via cd command). Has
access to CLAUDE_ENV_FILE for reactive environment management.
Always fires (no matcher).