bash hooks

168 tagged bash, measured the same way as everything else here.

Browse within: agentic-workflow 33agpl 33agent-tools 31ci 31audio-notifications 30cli-tools 30hooks 17ai-coding-agent 14ghostty 12macos 12claude-hooks 8claude-memory 8agent-framework 6AI Safety 5

PostToolUse

01

TypedDevs/bashunit

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From TypedDevs/bashunit.

424 2d ago A tokens not measured original MIT

Notification

02

fredrikaverpil/dotfiles

Hook Claude Code

Runs when the agent sends a notification for idle_prompt tool calls, running afplay /System/Library/Sounds/Sosumi.aiff. From fredrikaverpil/dotfiles.

256 yesterday A tokens not measured original MIT

Notification

03

ChanMeng666/echook

Hook

Runs when the agent sends a notification for permission_prompt, idle_prompt, auth_success, elicitation_dialog, elicitation_complete, elicitation_response, agent_needs_input, agent_completed, elicitation_url_dialog, worker_permission_prompt, push_notification, computer_use_enter, computer_use_exit…

86 9d ago A tokens not measured original MIT

PostCompact

04

ChanMeng666/echook

Hook

Runs after the context is compacted for manual and auto tool calls, executing run.py via python (2 commands). From ChanMeng666/echook.

86 9d ago A tokens not measured original MIT

DirectoryAdded

05

ChanMeng666/echook

Hook

Runs on the DirectoryAdded event for slash_command and register_repo_root tool calls, executing run.py via python (2 commands). From ChanMeng666/echook.

86 9d ago A tokens not measured original MIT

PreToolUse

06

denolfe/dotfiles

Hook

Runs before the agent uses a tool for Bash tool calls, executing auto-approve.ts. From denolfe/dotfiles.

86 9d ago A tokens not measured

SessionStart

07

hatawong/claude-recap

Hook

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh. From hatawong/claude-recap.

38 5mo ago A tokens not measured copy · 100% MIT

Stop

08

hatawong/claude-recap

Hook

Runs when the agent finishes a response, executing stop.sh. From hatawong/claude-recap.

38 5mo ago A tokens not measured copy · 63% MIT

Notification

09

atxtechbro/dotfiles

Hook Claude Code

Runs when the agent sends a notification, running notify-send 'Claude Code' 'Awaiting your input - please chec. From atxtechbro/dotfiles.

27 6mo ago A tokens not measured

SessionEnd

10

atxtechbro/dotfiles

Hook Claude Code

Runs when a session ends, running an inline shell check. From atxtechbro/dotfiles.

27 6mo ago A tokens not measured

PostToolUse

14

yurukusa/claude-code-hooks

Hook

Runs after a tool call finishes for Edit and Write tool calls, executing context-monitor.sh, session-start-marker.sh, tmp-cleanup.sh, syntax-check.sh and activity-logger.sh (5 commands). From yurukusa/claude-code-hooks.

19 3d ago A tokens not measured copy · 58% MIT

Notification

15

yurukusa/claude-code-hooks

Hook

Runs when the agent sends a notification, executing no-ask-human.sh. From yurukusa/claude-code-hooks.

19 3d ago A tokens not measured original MIT

Stop

16

yurukusa/claude-code-hooks

Hook

Runs when the agent finishes a response, executing proof-log-session.sh. From yurukusa/claude-code-hooks.

19 3d ago A tokens not measured original MIT

PreToolUse

17

rfxn/rdf

Hook

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-validate.sh. From rfxn/rdf.

17 13d ago A tokens not measured GPL-2.0

PreCompact

18

rfxn/rdf

Hook

Runs before the context is compacted, executing precompact-snapshot.sh. From rfxn/rdf.

17 13d ago A tokens not measured GPL-2.0

SessionStart

19

rfxn/rdf

Hook

Runs when a session starts on compact, executing session-start-context.sh, state-bootstrap.sh and session-start-inject.sh (3 commands). From rfxn/rdf.

17 13d ago A tokens not measured GPL-2.0

SubagentStart

20

davdittrich/delegate-agy

Hook

Runs when a subagent starts, executing agy-subagent-policy.sh. From davdittrich/delegate-agy.

15 8d ago A tokens not measured

SessionStart

21

fatmo666/Caushell

Hook

Runs when a session starts, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

PreToolUse

22

fatmo666/Caushell

Hook

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

SessionEnd

23

fatmo666/Caushell

Hook

Runs when a session ends, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

PreToolUse

24

jonny981/claude-tandem

Hook

Runs before the agent uses a tool for Bash tool calls, executing validate-commit.sh. From jonny981/claude-tandem.

6 4mo ago A tokens not measured original MIT