python hooks

228 tagged python, measured the same way as everything else here.

Browse within: knowledge-graph 21agent-tools 15rule-enforcement 12AI Safety 11ai-governance 11agent-memory 9fastapi 9open-source 9gemini 8taskbar 8tkinter 8widget 8Chatbots 7RAG 7

PostToolUse

73

charles-adedotun/notifications-mcp-server

Hook Claude Code

Runs after a tool call finishes for Write, Edit, MultiEdit and Update tool calls, executing pre-commit-review.sh. From charles-adedotun/notifications-mcp-server.

16 3mo ago A tokens not measured original MIT

Notification

74

marek-burza/shrubbery

Hook Claude Code

Runs when the agent sends a notification, running /usr/bin/pw-cat --playback .claude/complete.flac. From marek-burza/shrubbery.

16 yesterday B tokens not measured GPL-3.0

PermissionRequest

75

marek-burza/shrubbery

Hook Claude Code

Runs when the agent asks permission for an action, running /usr/bin/pw-cat --playback .claude/complete.flac. From marek-burza/shrubbery.

16 yesterday B tokens not measured GPL-3.0

PostToolUse

76

HMAKT99/AKF

Hook

Runs after a tool call finishes for Write and Edit tool calls, executing autostamp.sh. From HMAKT99/AKF.

15 1mo ago A tokens not measured original MIT

SessionStart

77

Zandereins/schliff

Hook

Runs when a session starts, executing session-injector.js via node. From Zandereins/schliff.

15 yesterday A tokens not measured original MIT

PreToolUse

78

tae0y/python-project-template

Hook Claude Code

Runs before the agent uses a tool for Write, Write, Edit, Read and Bash tool calls, executing check-new-test-file.sh and guard-settings-files.sh (2 commands). From tae0y/python-project-template.

14 24d ago A tokens not measured

PostToolUse

79

tae0y/python-project-template

Hook Claude Code

Runs after a tool call finishes for Write, Edit and Bash tool calls, executing check-external-lib-usage.sh, check-pre-commit-gate.sh and check-commit-convention.sh (3 commands). From tae0y/python-project-template.

14 24d ago A tokens not measured

PostToolUse

80

mohityadav8/ai-watermark-remover

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit and NotebookEdit tool calls, running python3. From mohityadav8/ai-watermark-remover.

13 7d ago A tokens not measured

PostToolUse

81

Athroniaeth/piighost

Hook Claude Code

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

12 3d ago A tokens not measured original MIT

PostToolUse

82

tortastudios/python-ai-guardrails-template

Hook Claude Code

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running an inline shell check. From tortastudios/python-ai-guardrails-template.

11 5mo ago A tokens not measured original MIT

SessionStart

83

Lians-ai/Lians

Hook

Runs when a session starts on ^(startup, resume and clear)$, executing run_hook.sh. From Lians-ai/Lians.

10 8d ago A tokens not measured original Apache-2.0

UserPromptSubmit

84

Lians-ai/Lians

Hook

Runs when you submit a prompt, before the agent sees it, executing run_hook.sh. From Lians-ai/Lians.

10 8d ago A tokens not measured original Apache-2.0

SessionStart

85

n24q02m/mnemo-mcp

Hook

Runs when a session starts, executing session-start.sh. From n24q02m/mnemo-mcp.

10 yesterday A tokens not measured copy · 63% Apache-2.0

PostToolUse

86

n24q02m/mnemo-mcp

Hook

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing post-tool-use.sh. From n24q02m/mnemo-mcp.

10 yesterday A tokens not measured original Apache-2.0

SessionStart

87

PyAutoLabs/PyAutoArray

Hook Claude Code

Runs when a session starts, executing session-start.sh. From PyAutoLabs/PyAutoArray.

10 2d ago A tokens not measured copy · 52% MIT

PostToolUse

88

codekiln/logseq-encode-garden

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing format.sh. From codekiln/logseq-encode-garden.

10 5d ago A tokens not measured

PostToolUse

89

miopea/swarm-legacy

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing lint-after-edit.sh. From miopea/swarm-legacy.

9 3d ago A tokens not measured copy · 45% MIT

PreToolUse

90

Aureliolo/synthorg

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write, Edit and Write tool calls, executing check_no_repush_after_failure.sh, check_push_rebased.sh, check_push_throttle.sh, check_ci_before_push.sh, check_no_throttle_override_creation.sh, check_no_baseline_update.sh, check_bash_no_write.sh, check_git_c_cwd.sh…

9 yesterday A tokens not measured

PostToolUse

91

Aureliolo/synthorg

Hook Claude Code

Runs after a tool call finishes for Edit, Write and Bash tool calls, executing check_web_design_system.py, check_backend_regional_defaults.py, run_edit_time_gates.py, record_push_throttle.sh and rewarm_caches_after_sync.sh via python (5 commands). From Aureliolo/synthorg.

9 yesterday A tokens not measured

SessionEnd

92

Aureliolo/synthorg

Hook Claude Code

Runs when a session ends, executing run_affected_mypy.py via uv with --stop. From Aureliolo/synthorg.

9 yesterday A tokens not measured

SessionStart

93

bhargavamin/contexer

Hook

Runs when a session starts, running an inline shell check. From bhargavamin/contexer.

9 yesterday A tokens not measured

PostToolUse

94

bhargavamin/contexer

Hook

Runs after a tool call finishes for Write, Edit and ExitPlanMode tool calls, running an inline shell check (2 commands). From bhargavamin/contexer.

9 yesterday A tokens not measured

UserPromptSubmit

95

bhargavamin/contexer

Hook

Runs when you submit a prompt, before the agent sees it, running an inline shell check (6 commands). From bhargavamin/contexer.

9 yesterday A tokens not measured

UserPromptSubmit

96

NicolasPrimeau/artel

Hook

Runs when you submit a prompt, before the agent sees it, executing artel-check-inbox.sh and artel-recall.sh (2 commands). From NicolasPrimeau/artel.

8 12d ago A tokens not measured original MIT