Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From hyrex-core
Blocks Bash commands that skip verification, protects Write/Edit on config files, and runs a quality gate after file edits. Logs adoption and telemetry on stop, and pre-compacts session state.
4 events · 7 hooks
npx claudepluginhub akhilyad/deployy --plugin hyrex-coreSafety 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
"${CLAUDE_PLUGIN_ROOT}/scripts/hyrex-hook.sh" session-end --generate-summary true --persist-state true --export-metrics true || truemanual/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo "$INPUT" | jq -r ".custom_instructions // \"\""); echo "🔄 PreCompact Guidance:"; echo "📋 IMPORTANT: Review CLAUDE.md in project root for:"; echo " • 54 available agents and concurrent usage patterns"; echo " • Swarm coordination strategies (hierarchical, mesh, adaptive)"; echo " • SPARC methodology workflows with batchtools optimization"; echo " • Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)"; if [ -n "$CUSTOM" ]; then echo "🎯 Custom compact instructions: $CUSTOM"; fi; echo "✅ Ready for compact operation"'auto/bin/bash -c 'echo "🔄 Auto-Compact Guidance (Context Window Full):"; echo "📋 CRITICAL: Before compacting, ensure you understand:"; echo " • All 54 agents available in .claude/agents/ directory"; echo " • Concurrent execution patterns from CLAUDE.md"; echo " • Batchtools optimization for 300% performance gains"; echo " • Swarm coordination strategies for complex tasks"; echo "⚡ Apply GOLDEN RULE: Always batch operations in single messages"; echo "✅ Auto-compact proceeding with full agent context"'Bash"${CLAUDE_PLUGIN_ROOT}/scripts/hyrex-hook.sh" modify-bash || trueWrite|Edit|MultiEdit"${CLAUDE_PLUGIN_ROOT}/scripts/hyrex-hook.sh" modify-file || trueBash/bin/bash -c 'INPUT=$(cat); CMD=$(printf %s "$INPUT" | jq -r ".tool_input.command // empty"); [ -z "$CMD" ] && exit 0; EXIT=$(printf %s "$INPUT" | jq -r ".tool_response.exit_code // 0"); SUCCESS=$([ "$EXIT" = "0" ] && echo true || echo false); "${CLAUDE_PLUGIN_ROOT}/scripts/hyrex-hook.sh" post-command -c "$CMD" -s "$SUCCESS" -e "$EXIT" || true'Write|Edit|MultiEdit/bin/bash -c 'INPUT=$(cat); FILE=$(printf %s "$INPUT" | jq -r ".tool_input.file_path // .tool_input.path // empty"); [ -z "$FILE" ] && exit 0; "${CLAUDE_PLUGIN_ROOT}/scripts/hyrex-hook.sh" post-edit -f "$FILE" -s true || true'Share bugs, ideas, or general feedback.