beads hooks
From gastownhall
Hooks on PreToolUse
Blocks Bash tool calls matching gh watch or interactive commands via two shell scripts on PreToolUse.
Use it when
- Want to prevent Claude from running 'gh ... watch' commands
- Want to stop Claude invoking interactive shell commands that hang
Skip it if
- You need to inspect the actual block-*.sh script logic, not included here
- Only guards the Bash tool, not other tool types
- Requires .claude/hooks/ scripts to exist in your project
Facts
- Repository
- gastownhall/beads
- Status
- Actively maintained
- Last commit
- Source file
- .claude/settings.json
Source preview
The instructions Claude Code reads when this hook runs.
{
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-gh-watch.sh"
},
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-interactive-cmds.sh"
}
]
}
]
}View full source on GitHub →Other hooks
ruflo hooks
★ 64,474Hooks on PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, Stop, Notification
ruvnetupdated 14d agoMITclaude-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 13d agoMITclaude-code-templates hooks
★ 29,520Hooks on PreToolUse, PostToolUse, Notification, Stop
davila7updated 13d agoMITClaude-Code-Game-Studios hooks
★ 23,018Hooks on SessionStart, PreToolUse, PostToolUse, Notification, PreCompact, PostCompact, Stop, SubagentStart, SubagentStop
Donchitosupdated 2mo agoMIT