Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/llm-gate
LLM-powered quality verification using prompt hooks. Validates commit messages, code patterns, and conventions using AI before allowing operations. Use to set up intelligent guardrails.
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
and 15 more in the full report
13 fixed8 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the recommended standard timeout setting in seconds for a simple prompt hook in Claude Code?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies 15 seconds as the prompt hook timeout. | Missed | Passed |
The instructions your model reads when the skill loads.
Use Claude Code's type: "prompt" hooks to create intelligent quality gates that use AI to verify operations.
Use when:
Claude Code supports hooks with type: "prompt" that run a small LLM (Haiku by default) to verify conditions:
{
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{
"type": "prompt",
"if": "Bash(git commit*)",
"prompt": "Check if this git commit follows conventional commit format (<type>(<scope>): <summary>). The commit command is: $ARGUMENTS. Return {\"ok\": true} if valid, {\"ok\": false, \"reason\": \"...\"} if not.",
"model": "haiku",
"timeout": 15
}]
}]
}
The hook:
$ARGUMENTS with the JSON hook input{"ok": true} or {"ok": false, "reason": "..."}test cases passed, vs 9 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.