PreToolUse
01Hook
Runs before the agent uses a tool, executing pre-tool-use.sh. From Oolab-labs/patchwork-os.
The decision layer for personal AI. Local-first runtime where agents automate across GitHub, Slack, Gmail & 45+ services — but every risky action can stop for your yes, workers (agents) earn autonomy from track record, and every decision leaves a receipt. Your models, your machine, your policy. Includes an MCP bridge: 180 IDE tools for Claude Code.
Hook
Runs before the agent uses a tool, executing pre-tool-use.sh. From Oolab-labs/patchwork-os.
Hook
Runs after a tool call finishes for Edit and Write tool calls, executing post-edit-diagnostics.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a session starts, executing session-info.sh. From Oolab-labs/patchwork-os.
Hook
Runs after instructions files are loaded, executing instructions-loaded.sh. From Oolab-labs/patchwork-os.
Hook
Runs when the agent asks you a question, executing elicitation.sh. From Oolab-labs/patchwork-os.
Hook
Runs on the ElicitationResult event, executing elicitation-result.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a git worktree is created, executing worktree-create.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a subagent starts for ide-debugger, ide-test-runner and ide-code-reviewer tool calls, executing check-bridge-health.sh. From Oolab-labs/patchwork-os.
Hook
Runs after the context is compacted, executing post-compact.sh. From Oolab-labs/patchwork-os.
Hook
Runs on the StopFailure event, executing stop-failure.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a git worktree is removed, executing worktree-remove.sh. From Oolab-labs/patchwork-os.
Hook
Runs on the TeammateIdle event, executing teammate-idle.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a task is marked completed, executing task-completed.sh. From Oolab-labs/patchwork-os.
Hook
Runs on the ConfigChange event, executing config-change.sh. From Oolab-labs/patchwork-os.
Hook
Runs when the agent finishes a response, executing stop.sh. From Oolab-labs/patchwork-os.
Hook
Runs when a subagent finishes, executing subagent-stop.sh. From Oolab-labs/patchwork-os.