⌨️Prompt Hook
Also known as type: prompt, $ARGUMENTS
A hook that asks a Claude model a yes or no question.
Think of it like
It is like you ask a friend a yes or no question. Then you go on.
Example
Lucy cannot write a script that knows if a task is finished. A prompt hook on Stop asks a model to judge it.
Why it matters
Some checks are about meaning. A model can judge them where a script cannot.
Definition
Example code
json
{
"type": "prompt",
"prompt": "Check if every task the user asked for is done: $ARGUMENTS"
}Common mistake
Key takeaways
- 1Asks a model. One answer.
- 2ok true or false. With a reason.
- 3For judgment. Not fixed rules.