Stats
Actions
Tags
From claude-refine
{"riskFlags": {"touchesBash": false, "matchAllTools": false, "touchesFileWrites": false}, "typeStats": {"command": 3}, "eventStats": {"Stop": 1, "PostToolUse": 1, "UserPromptExpansion": 1}, "originCounts": {"absolutePaths": 0, "pluginScripts": 1, "projectScripts": 2}, "timeoutStats": {"commandsWithoutTimeout": 3}}
3 events · 3 hooks
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
f="$CLAUDE_PROJECT_DIR/.claude-refine/.draft-requirement.md"; if [ -f "$f" ]; then m=$(stat -f %m "$f" 2>/dev/null || stat -c %Y "$f"); if [ $(($(date +%s) - m)) -lt 60 ]; then printf '{"decision":"block","reason":"/refine has finished. Now invoke the claude-refine:-internal-post-draft skill on the produced .draft-requirement.md."}'; fi; fiExitPlanModesh "${CLAUDE_PLUGIN_ROOT}/hooks/post-plan.sh"refinemkdir -p "$CLAUDE_PROJECT_DIR/.claude-refine"npx claudepluginhub carlosas/claude-refine --plugin claude-refine