Expired50% confidenceFactTime unknown
Claude Code supports creating hook files in the .claude/hooks directory, mounted on lifecycle events such as user_prompt_submit.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026(expired)
Sources
Related Claims
UnverifiedClaude Code的Hook可以在PreToolUse、PostToolUse、Notification等多个生命周期阶段触发,通过配置.claude/settings.json文件来注册自定义Hook脚本77% similarUnverifiedClaude Code packages user input, CLAUDE.md file contents, current directory structure, and other information into a large Prompt and sends it to the Claude model via API.69% similarUnverifiedWhen Claude Code runs, it creates a .claude folder in the user's directory, which stores session tokens, authentication credentials, user configurations, skill definitions, and MCP plugin configurations.68% similarUnverifiedClaude Code's Hooks mount custom scripts by listening to lifecycle events of model operations (phases such as pre-tool, post-tool, and on-complete).67% similarUnverifiedClaude Code stores logs in the .claude folder under the user's home directory.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/59928API
curl https://kongchang.com/api/v1/knowledge/claims/59928MCP
get_claim(id=59928)