Stats
Actions
Tags
From hyperflow
Runs bash hook scripts on session start and before conversation compaction, for initializing or cleaning up the plugin environment. For hyperflow plugins in Claude Code and Codex.
2 events · 2 hooks
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
sh -c 'hook=pre-compact; for root in "${CODEX_PLUGIN_ROOT:-}" "${CLAUDE_PLUGIN_ROOT:-}" $(ls -dt "$HOME/.codex/plugins/cache/hyperflow-marketplace/hyperflow"/* "$HOME/.claude/plugins/cache/hyperflow-marketplace/hyperflow"/* 2>/dev/null) "$HOME/.codex/.tmp/marketplaces/hyperflow-marketplace" "$HOME/.claude/plugins/marketplaces/hyperflow-marketplace"; do [ -n "$root" ] && [ -x "$root/hooks/$hook" ] && exec "$root/hooks/$hook"; done; echo "hyperflow hook not found: $hook" >&2; exit 0'startup|clear|compactsh -c 'hook=session-start; for root in "${CODEX_PLUGIN_ROOT:-}" "${CLAUDE_PLUGIN_ROOT:-}" $(ls -dt "$HOME/.codex/plugins/cache/hyperflow-marketplace/hyperflow"/* "$HOME/.claude/plugins/cache/hyperflow-marketplace/hyperflow"/* 2>/dev/null) "$HOME/.codex/.tmp/marketplaces/hyperflow-marketplace" "$HOME/.claude/plugins/marketplaces/hyperflow-marketplace"; do [ -n "$root" ] && [ -x "$root/hooks/$hook" ] && exec "$root/hooks/$hook"; done; echo "hyperflow hook not found: $hook" >&2; exit 0'npx claudepluginhub mohammed-abdelhady/hyperflow --plugin hyperflow