Claude Code runs ConfigChange hooks when a user, project, local, managed policy or skill file changes during a session. Matchers such as project_settings and policy_settings let you log each change or block it. Wire one to write the changed file and source to your log pipeline.
Read in this order
- OfficialHooks reference, ConfigChange (Claude Code docs)Matcher values, input fields and which managed changes do not fire the hook.