Unverified95% confidenceFactTime unknown
Claude Code Hooks支持三种类型:Command(命令型)、Prompt(提示型)和Agent(智能体型)
1
Sources
95%
Confidence
Long-term
Relevance
6/2/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code Hooks consists of two parts: a Matcher (trigger condition) and Hook behavior (containing two fields: type and execution event).79% similarUnverifiedCommands in Claude Code are essentially a series of Skills chained together into an execution pipeline, which can be triggered via slash commands.78% similarVerifiedEntering the /hooks command in Claude Code opens the Hooks configuration interface.77% similarUnverifiedThe design philosophy of Claude Code's three modes is very similar to the Ask/Plan/Agent modes found in IDE tools such as Cursor.77% similarUnverifiedThe three tools coexist through Claude Code's Slash Command and Custom Instruction mechanisms, with each tool injecting behavioral rules and available commands via independent configuration files.76% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/36335API
curl https://kongchang.com/api/v1/knowledge/claims/36335MCP
get_claim(id=36335)