From Bear Craft — Hooks
Before context compaction: runs f="$CLAUDE_PROJECT_DIR/.claude/context-essentials.md"; if [ -f "$f" ]; then prin…. And 5 more.
5 events · 8 hooks
Ships in Bear Craft — Hooks. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
*f="$CLAUDE_PROJECT_DIR/.claude/context-essentials.md"; if [ -f "$f" ]; then printf 'CRITICAL CONTEXT TO PRESERVE:\n\n'; head -c 9000 "$f"; fi; exit 010sBashbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-network.sh"5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/block-dangerous-commands.sh"5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-commit-check.sh"10sEdit|Write|NotebookEditbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/protect-sensitive-files.sh"5sBash|Grep|Globbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/output-size-hint.sh"5scompactf="$CLAUDE_PROJECT_DIR/.claude/context-essentials.md"; if [ -f "$f" ]; then cat "$f"; fi; exit 05sPlanbash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/subagent-plan-rules.sh"5sWhere this hook configuration is defined
Defined in hooks/hooks.json
2 plugins ship this exact hooks config · first indexed Nov 27, 2026
npx claudepluginhub thebeardedbearsas/bear-craft --plugin bear-hooksOther plugins' hooks for the same job