Unverified50% confidenceFactExact time
Claude Code's Hooks let it automatically execute shell commands on specific events, with the configuration written in settings.json, and each hook consists of three parts: the event, an optional matcher, and the command to execute.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/25/2026
First Seen
Valid until: 1/23/2027
Sources
Claude Code Deep Configuration Guide: From Model Selection to Skills in Practice
bilibili混子州10/24/2026
Related Entities
Related Claims
UnverifiedClaude Code's Hooks allow events in the agent loop to be intercepted and bash commands or scripts to be executed upon triggering, configured in settings.json under the .claude/hooks directory.79% similarUnverifiedClaude Code Hooks支持三种类型:Command(命令型)、Prompt(提示型)和Agent(智能体型)75% similarUnverifiedClaude Code's Hooks mechanism consists of three parts: lifecycle events, matchers and scripts.72% similarUnverifiedClaude Code Hooks consists of two parts: a Matcher (trigger condition) and Hook behavior (containing two fields: type and execution event).70% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1095641API
curl https://kongchang.com/api/v1/knowledge/claims/1095641MCP
get_claim(id=1095641)