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

PreToolUse

97

NicolasPrimeau/artel

Hook

Runs before the agent uses a tool for Edit, Write, MultiEdit and NotebookEdit tool calls, executing artel-pretool-gotcha.sh. From NicolasPrimeau/artel.

8 12d ago A tokens not measured original MIT

Stop

98

NicolasPrimeau/artel

Hook

Runs when the agent finishes a response, executing artel-capture.sh and artel-stop.sh (2 commands). From NicolasPrimeau/artel.

8 12d ago A tokens not measured original MIT

PreToolUse

99

QORIS-AI/knox

Hook

Runs before the agent uses a tool for Bash, Monitor, PowerShell, Write, Edit, MultiEdit, NotebookEdit, Read, CronCreate and ^mcp__ tool calls, executing run-check.sh (7 commands). From QORIS-AI/knox.

7 22d ago A tokens not measured

InstructionsLoaded

100

QORIS-AI/knox

Hook

Runs after instructions files are loaded for session_start, include, path_glob_match, nested_traversal and compact tool calls, running an inline shell check. From QORIS-AI/knox.

7 22d ago A tokens not measured

SessionEnd

101

QORIS-AI/knox

Hook

Runs when a session ends for clear, prompt_input_exit, logout, resume, bypass_permissions_disabled and other tool calls, running an inline shell check. From QORIS-AI/knox.

7 22d ago A tokens not measured

SessionStart

102

jmagar/swag-mcp

Hook

Runs when a session starts, executing plugin-setup.sh and sync-uv.sh (2 commands). From jmagar/swag-mcp.

5 8d ago A tokens not measured copy · 66% MIT

ConfigChange

103

jmagar/swag-mcp

Hook

Runs on the ConfigChange event, executing plugin-setup.sh. From jmagar/swag-mcp.

5 8d ago A tokens not measured copy · 59% MIT

SessionStart

104

robhowley/py-pit-skills

Hook

Runs when a session starts, executing check-uv.sh. From robhowley/py-pit-skills.

5 5mo ago A tokens not measured copy · 58% MIT

Stop

105

gowtham012/Claude-plugins

Hook

Runs when the agent finishes a response, executing stop_hook.py via python3. From gowtham012/Claude-plugins.

5 5mo ago A tokens not measured original MIT

PreToolUse

106

LamantinAI/mayak

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing pre-edit-guard.sh. From LamantinAI/mayak.

5 8d ago A tokens not measured original MIT

UserPromptSubmit

107

leonardosilvamelosantos/taskbar-code

Hook

Runs when you submit a prompt, before the agent sees it, executing taskbar-hero-update.js via node. From leonardosilvamelosantos/taskbar-code.

5 1mo ago A tokens not measured original MIT

SessionEnd

108

leonardosilvamelosantos/taskbar-code

Hook

Runs when a session ends, executing taskbar-hero-update.js via node. From leonardosilvamelosantos/taskbar-code.

5 1mo ago A tokens not measured copy · 89% MIT

Stop

109

leonardosilvamelosantos/taskbar-code

Hook

Runs when the agent finishes a response, executing taskbar-hero-update.js via node. From leonardosilvamelosantos/taskbar-code.

5 1mo ago A tokens not measured copy · 86% MIT

Stop

110

Perseus-Computing-LLC/ledger

Hook

Runs when the agent finishes a response, executing ledger-meter.py via python. From Perseus-Computing-LLC/ledger.

5 6d ago A tokens not measured original MIT

SessionStart

111

osouthgate/agent-plus

Hook Claude Code

Runs when a session starts, executing agent-plus-context.py via python3. From osouthgate/agent-plus.

4 1mo ago A tokens not measured original MIT

Stop

112

osouthgate/agent-plus

Hook Claude Code

Runs when the agent finishes a response, executing check-readme-drift.sh via bash. From osouthgate/agent-plus.

4 1mo ago A tokens not measured copy · 45% MIT

UserPromptSubmit

113

osouthgate/agent-plus

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing suggest-repo-analyze.py via python3. From osouthgate/agent-plus.

4 1mo ago A tokens not measured original MIT

PostToolUse

114

ruslan-korneev/claude-plugins

Hook

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From ruslan-korneev/claude-plugins.

4 5mo ago A tokens not measured original MIT

Stop

116

weilizhe8-del/claude-code-traffic-light

Hook Claude Code

Runs when the agent finishes a response, executing traffic-update.ps1. From weilizhe8-del/claude-code-traffic-light.

4 3mo ago A tokens not measured copy · 89% MIT

PreToolUse

117

weilizhe8-del/claude-code-traffic-light

Hook Claude Code

Runs before the agent uses a tool for Bash, PowerShell, Write, Edit and NotebookEdit tool calls, executing traffic-update.ps1. From weilizhe8-del/claude-code-traffic-light.

4 3mo ago A tokens not measured original MIT

SessionStart

118

qxbyte/pluginhub

Hook

Runs when a session starts, executing run-hook.sh via sh. From qxbyte/pluginhub.

3 27d ago A tokens not measured original MIT

PreToolUse

119

Tannnnhauser/pivot-web-search

Hook

Runs before the agent uses a tool for WebSearch and WebFetch tool calls, executing pretool-check.py via python3. From Tannnnhauser/pivot-web-search.

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

SessionStart

120

Tannnnhauser/pivot-web-search

Hook

Runs when a session starts, executing health-check.py via python3. From Tannnnhauser/pivot-web-search.

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