data science hooks

14 tagged data science, measured the same way as everything else here.

Browse within: machine-learning 11

PreToolUse

01

streamlit/streamlit

Hook Claude Code

Runs before the agent uses a tool for Skill and Bash tool calls, executing log_agent_metrics.py and pre_bash_redirect.py via uv (2 commands). From streamlit/streamlit.

46k +15 today A tokens not measured original Apache-2.0

PostToolUse

02

streamlit/streamlit

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing post_edit_autofix.sh. From streamlit/streamlit.

46k +15 today A tokens not measured copy · 42% Apache-2.0

SubagentStart

03

streamlit/streamlit

Hook Claude Code

Runs when a subagent starts, executing log_agent_metrics.py via uv. From streamlit/streamlit.

46k +15 today A tokens not measured original Apache-2.0

UserPromptSubmit

04

dagster-io/dagster

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running ERK_HOOK_ID=user-prompt-hook erk exec user-prompt-hook. From dagster-io/dagster.

16k 4d ago A tokens not measured original Apache-2.0

PreToolUse

05

dagster-io/dagster

Hook Claude Code

Runs before the agent uses a tool for ExitPlanMode tool calls, running ERK_HOOK_ID=exit-plan-mode-hook erk exec exit-plan-mode-hook. From dagster-io/dagster.

16k 4d ago A tokens not measured original Apache-2.0

PreToolUse

06

zenml-io/zenml

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing format.sh. From zenml-io/zenml.

5.6k 2d ago A tokens not measured original Apache-2.0

SessionStart

07

oracle-samples/oracle-aidp-samples

Hook

Runs when a session starts on startup, resume and clear, executing check_env.py via python3. From oracle-samples/oracle-aidp-samples.

46 2d ago A tokens not measured UPL-1.0

Notification

08

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

09

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

SessionStart

10

StamKavid/last-ds-mile

Hook

Runs when a session starts on startup, resume and clear, executing ds-python.sh via bash. From StamKavid/last-ds-mile.

3 24d ago A tokens not measured original MIT

PostToolUse

11

StamKavid/last-ds-mile

Hook

Runs after a tool call finishes for Read, Edit, Write, MultiEdit and NotebookEdit tool calls, executing ds-python.sh via bash (2 commands). From StamKavid/last-ds-mile.

3 24d ago A tokens not measured original MIT

PreCompact

12

StamKavid/last-ds-mile

Hook

Runs before the context is compacted, executing ds-python.sh via bash. From StamKavid/last-ds-mile.

3 24d ago A tokens not measured original MIT