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

Stop

25

tigerless-labs/autoharness

Hook

Runs when the agent finishes a response, running an inline shell check. From tigerless-labs/autoharness.

1.4k 1mo ago A tokens not measured copy · 83% MIT

PreToolUse

26

tigerless-labs/autoharness

Hook

Runs before the agent uses a tool for Skill, Read, Write, Edit, MultiEdit and NotebookEdit tool calls, running an inline shell check (2 commands). From tigerless-labs/autoharness.

1.4k 1mo ago A tokens not measured original MIT

UserPromptSubmit

27

winstonkoh87/Athena-Public

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing hook_meta_awareness_gate.py via python3. From winstonkoh87/Athena-Public.

583 yesterday A tokens not measured original MIT

PreToolUse

28

winstonkoh87/Athena-Public

Hook Claude Code

Runs before the agent uses a tool for Read, Edit and Write tool calls, executing block_secrets.py via python3. From winstonkoh87/Athena-Public.

583 yesterday A tokens not measured original MIT

Stop

29

winstonkoh87/Athena-Public

Hook Claude Code

Runs when the agent finishes a response, executing hook_stop_verify.py via python3. From winstonkoh87/Athena-Public.

583 yesterday A tokens not measured original MIT

PostToolUse

30

joinly-ai/joinly

Hook Claude Code

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

564 5mo ago A tokens not measured original MIT

PreToolUse

31

mudrii/openclaw-dashboard

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From mudrii/openclaw-dashboard.

454 8d ago A tokens not measured original MIT

PostToolUse

32

AliAkhtari78/SpotifyScraper

Hook Claude Code

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

299 23d ago A tokens not measured original MIT

PreToolUse

33

u-ichi/reviewable-html-workbench

Hook

Runs before the agent uses a tool for ExitPlanMode and EnterPlanMode tool calls, executing plan-preview-gate.sh and plan-preview-cleanup.sh via bash (2 commands). From u-ichi/reviewable-html-workbench.

293 23d ago A tokens not measured original MIT

PreToolUse

34

python/python-docs-zh-tw

Hook Claude Code

Runs before the agent uses a tool for Edit tool calls, running an inline shell check. From python/python-docs-zh-tw.

281 2d ago A tokens not measured

PostToolUse

35

python/python-docs-zh-tw

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From python/python-docs-zh-tw.

281 2d ago A tokens not measured

SessionStart

36

HeadyZhang/agent-audit

Hook Claude Code

Runs when a session starts, running echo 'Session started'. From HeadyZhang/agent-audit.

224 1mo ago A tokens not measured original MIT

SessionStart

37

DrAshBooth/PyLOB

Hook Claude Code

Runs when a session starts, running bd prime --hook-json. From DrAshBooth/PyLOB.

203 17d ago A tokens not measured

SubagentStart

38

infinri/Writ

Hook

Runs when a subagent starts, executing writ-subagent-start.sh via bash. From infinri/Writ.

189 17d ago A tokens not measured original MIT

PreToolUse

39

infinri/Writ

Hook

Runs before the agent uses a tool for ExitPlanMode, Read, Read, Grep, Read, Glob, Write, Edit, NotebookEdit, Write, Edit, NotebookEdit, Write, Edit, Task, Bash, Bash, Write, Write and Write tool calls, executing validate-exit-plan.sh, writ-read-junk-gate.sh, writ-read-rag.sh, writ-debug-code-gate.sh…

189 17d ago A tokens not measured copy · 55% MIT

PostToolUse

40

infinri/Writ

Hook

Runs after a tool call finishes for Bash, WebFetch, WebSearch, Write, Edit, Write, Edit, Write, Edit, Write, Edit, Write, Edit, NotebookEdit, Write, Write, Edit, Write and Edit tool calls, executing inject-tier-workflow.sh, writ-web-capture.sh, validate-file.sh, writ-bible-authoring-push.sh, validate-handoff.sh…

189 17d ago A tokens not measured copy · 50% MIT

PostToolUse

41

ambient-code/agentready

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From ambient-code/agentready.

151 5d ago A tokens not measured original MIT

PreToolUse

42

ambient-code/agentready

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From ambient-code/agentready.

151 5d ago C tokens not measured original MIT

PreToolUse

43

Larens94/codedna

Hook

Runs before the agent uses a tool for Write and Edit tool calls, executing pre-edit-check.sh. From Larens94/codedna.

145 5d ago A tokens not measured original MIT

PostToolUse

44

Larens94/codedna

Hook

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing check-annotation.sh. From Larens94/codedna.

145 5d ago A tokens not measured original MIT

Stop

45

Larens94/codedna

Hook

Runs when the agent finishes a response, executing session-stop.sh. From Larens94/codedna.

145 5d ago A tokens not measured copy · 53% MIT

PostToolUse

46

vinta/hal-9000

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (5 commands). From vinta/hal-9000.

125 4d ago A tokens not measured original MIT

UserPromptSubmit

47

vinta/hal-9000

Hook

Runs when you submit a prompt, before the agent sees it, executing hal-session-auto-rename.py via python3. From vinta/hal-9000.

125 4d ago A tokens not measured original MIT

Stop

48

anam-org/metaxy

Hook Claude Code

Runs when the agent finishes a response, running an inline shell check. From anam-org/metaxy.

119 11d ago A tokens not measured Apache-2.0