Expired65% confidenceFactTime unknown
The OnPrompt Hook triggers each time a user submits a question to Claude, and can be used to automatically supplement contextual information or perform environment checks.
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
UnverifiedClaude Code supports the Hooks feature, providing five trigger timings: PreToolUse, PostToolUse, OnToolError, Notification, and OnPrompt.72% similarUnverifiedThe OnToolError Hook triggers only when a tool execution error occurs, and can be configured to automatically analyze error causes, collect error logs, or attempt automatic fixes.69% 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.68% similarUnverifiedUsers can add context, interrupt execution, or guide Claude Code in their desired direction at any time during the agent loop.68% similarUnverifiedClaude Code's routines feature can set tasks to run on a daily schedule, automatically summarizing feedback channel topics and generating PRs ready for review.66% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/36313API
curl https://kongchang.com/api/v1/knowledge/claims/36313MCP
get_claim(id=36313)