PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Read, Write, Edit, Bash and Bash tool calls, executing leakage_guard.py and destructive_bash_guard.py via uv with --no-sync (2 commands). From whenpoem/aiscientist.
An AI-driven research workflow for generating ideas, running experiments, and writing scientific papers.
Hook Claude Code
Runs before the agent uses a tool for Read, Write, Edit, Bash and Bash tool calls, executing leakage_guard.py and destructive_bash_guard.py via uv with --no-sync (2 commands). From whenpoem/aiscientist.
Hook Claude Code
Runs after a tool call finishes for Bash tool calls, executing provenance_log.py via uv with --no-sync. From whenpoem/aiscientist.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, executing intervention_pump.py via uv with --no-sync. From whenpoem/aiscientist.
Hook Claude Code
Runs when the agent finishes a response, executing intervention_pump.py and stop_flush.py via uv with --no-sync (2 commands). From whenpoem/aiscientist.