Expired65% confidenceFactTime unknown
A file deletion protection mechanism can be configured via the PreToolUse Hook, which presents a confirmation prompt for users to choose whether to proceed before executing a delete command.
3
Sources
65%
Confidence
Medium-term (~90 days)
Relevance
6/2/2026
First Seen
This claim has expired. It is kept for the record and no longer describes the current state.
Valid until: 8/31/2026(expired)
Sources
Related Entities
Related Claims
VerifiedThe PostToolUse Hook triggers after a tool operation is completed, and can be used for automatic code formatting, automatically running tests, and automatically reloading services.65% similarUnverifiedHooks can hijack write operations to assist in triggering Skills; for example, detecting the creation of an HTML file can automatically inject a prompt to load a front-end design Skill.64% similarUnverifiedClaude Code provides a Hook system that allows callback scripts to be registered at key nodes such as PreToolUse, PostToolUse, and Stop; hooks are executed as subprocesses and receive a JSON context.62% similarUnverifiedHooks are triggered in an event-driven manner and are suitable for automated operations, such as running a linter every time a file is saved.62% similarUnverified双击Escape键可以选中某一条消息,只压缩该消息之后的内容,而保留前面的项目约定61% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/36318API
curl https://kongchang.com/api/v1/knowledge/claims/36318MCP
get_claim(id=36318)