Stats
Actions
Tags
From CAST — Claude Agent Specialist Team
Audits web fetch/search tools, guards bash commands and dangerous file writes, tracks context changes, and saves memory on compaction. Blocks certain tool calls based on security checks. Runs bash, modifies files.
16 events · 32 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
if [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-journal-session-end.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-cwdchanged-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-precompact-guard.sh"10msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-precompact-memory-save.sh"10msWebFetch|WebSearchif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-audit-hook.sh" --mode pre5msBashif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/pre-tool-guard.sh"3msBashif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-command-guard.sh"5msAskUserQuestionif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-headless-guard.sh"3msWrite|Editif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/write-guards.sh"5msWriteEditif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-session-end.sh"15ms.envrc|.env|.cast|cast.jsonif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-filechanged-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-post-compact-hook.sh"5msWrite|Edit|Agent|Bashif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-hook.sh"10msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-audit-hook.sh" --mode post3msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-stop-failure-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-task-created-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-plugin-bootstrap.sh"15msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-session-start-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-time-context-hook.sh"3msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-session-start-journal.sh"3msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-session-start-health.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-subagent-stop-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-budget-alert.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-response-completeness-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-subagent-worktree-check.sh"10msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-subagent-start-hook.sh"3msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-user-prompt-hook.sh"5msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-instructions-loaded-hook.sh"3msif [ -f "$HOME/.claude/config/cast-hook-owner" ]; then exit 0; fi; bash "${CLAUDE_PLUGIN_ROOT}/scripts/cast-tool-failure-hook.sh"5msnpx claudepluginhub ek33450505/claude-agent-team --plugin cast