ruflo hooks
From ruvnet
Hooks on PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, Stop, Notification
Facts
- Repository
- ruvnet/ruflo
- Status
- Actively maintained
- Last commit
- Source file
- .claude/settings.json
Source preview
The instructions Claude Code reads when this hook runs.
{
"PreToolUse": [
{
"matcher": "^(Write|Edit|MultiEdit)$",
"hooks": [
{
"type": "command",
"command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks pre-edit --file \"$TOOL_INPUT_file_path\" 2>/dev/null || true",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"matcher": "^Bash$",
"hooks": [
{
"type": "command",
"command": "[ -n \"$TOOL_INPUT_command\" ] && npx @claude-flow/cli@latest hooks pre-command --command \"$TOOL_INPUT_command\" 2>/dev/null || true",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"matcher": "^Task$",
"hooks": [
{
"type": "command",
"command": "[ -n \"$TOOL_INPUT_description\" ] && npx @claude-flow/cli@latest hooks pre-task --task-id \"task-$(date +%s)\" --description \"$(echo \"$TOOL_INPUT_description\" | head -c 200)\" 2>/dev/null || true",
"timeout": 5000,
"continueOnError": true
}
]
}
],
"PostToolUse": [
{
"matcher": "^(Write|Edit|MultiEdit)$",
"hooks": [
{
"type": "command",
"command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks post-edit --file \"$TOOL_INPUT_file_path\" --success \"${TOOL_SUCCESS:-true}\View full source on GitHub →Other hooks
claude-code-best-practice hooks
★ 62,640Hooks on PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, PostToolBatch, UserPromptSubmit, UserPromptExpansion, Notification, MessageDisplay, Stop, SubagentStart, SubagentStop, PreCompact, PostCompact, SessionStart, SessionEnd, Setup, TeammateIdle, TaskCreated, TaskCompleted, ConfigChange, WorktreeCreate, WorktreeRemove, InstructionsLoaded, Elicitation, ElicitationResult, StopFailure, CwdChanged, FileChanged, PermissionDenied
shanraisshanupdated 3mo agoMITclaude-code-templates hooks
★ 29,520Hooks on PreToolUse, PostToolUse, Notification, Stop
davila7updated 3mo agoMITbeads hooks
★ 25,299Hooks on PreToolUse
gastownhallupdated 3mo agoMITClaude-Code-Game-Studios hooks
★ 23,018Hooks on SessionStart, PreToolUse, PostToolUse, Notification, PreCompact, PostCompact, Stop, SubagentStart, SubagentStop
Donchitosupdated 4mo agoMIT