cli tools hooks

49 tagged cli tools, measured the same way as everything else here.

Browse within: audio-notifications 30bash 30context-engineering 11iterm2 7macos 7agentic-workflow 5

PreToolUse

01

ppgranger/token-saver

Hook

Runs before the agent uses a tool for Bash tool calls, executing hook_pretool.py via python3. From ppgranger/token-saver.

140 14d ago A tokens not measured original Apache-2.0

SessionStart

02

ppgranger/token-saver

Hook

Runs when a session starts, executing hook_session.py via python3. From ppgranger/token-saver.

140 14d ago A tokens not measured original Apache-2.0

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

Notification

06

JasperSui/claude-code-iterm2-tab-status

Hook

Runs when the agent sends a notification for idle_prompt and permission_prompt tool calls, executing hook.sh. From JasperSui/claude-code-iterm2-tab-status.

38 11d ago A tokens not measured original MIT

PreToolUse

07

JasperSui/claude-code-iterm2-tab-status

Hook

Runs before the agent uses a tool for AskUserQuestion tool calls, executing hook.sh. From JasperSui/claude-code-iterm2-tab-status.

38 11d ago A tokens not measured original MIT

PostToolUse

09

OutlineDriven/odin-reflector

Hook

Runs after a tool call finishes, executing codex-reflector.py via python3. From OutlineDriven/odin-reflector.

9 22d ago A tokens not measured original Apache-2.0

Stop

11

OutlineDriven/odin-reflector

Hook

Runs when the agent finishes a response, executing codex-reflector.py via python3. From OutlineDriven/odin-reflector.

9 22d ago A tokens not measured original Apache-2.0

UserPromptSubmit

12

zircote-plugins/auto-harness

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing test-wrapper.sh. From zircote-plugins/auto-harness.

3 6mo ago A tokens not measured

UserPromptSubmit

14

codeverbojan/claude-code-kickstart

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing habits-coach.sh. From codeverbojan/claude-code-kickstart.

2 4mo ago A tokens not measured original MIT

PreToolUse

15

codeverbojan/claude-code-kickstart

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From codeverbojan/claude-code-kickstart.

2 4mo ago A tokens not measured original MIT