From jj-workspace-guard
Before a tool call (Bash|Edit|MultiEdit|Write|NotebookEdit): runs b="${CLAUDE_PLUGIN_ROOT}/bin/jj-workspace-guard"; [ -x "$b" ] || "${CLAUDE_PLUGI…. When a session starts: runs command -v cargo >/dev/null 2>&1 || { echo 'jj-workspace-guard: cargo (Rust tool…. And 1 more.
3 events · 3 hooks
Ships in jj-workspace-guard. 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
Bash|Edit|MultiEdit|Write|NotebookEditb="${CLAUDE_PLUGIN_ROOT}/bin/jj-workspace-guard"; [ -x "$b" ] || "${CLAUDE_PLUGIN_ROOT}/hooks/build-bin.sh" jj-workspace-guard </dev/null >/dev/null 2>&1; [ -x "$b" ] && exec "$b"; exec cargo run -q -r --manifest-path "${CLAUDE_PLUGIN_ROOT}/Cargo.toml"300scommand -v cargo >/dev/null 2>&1 || { echo 'jj-workspace-guard: cargo (Rust toolchain) is required but not found. Install: https://rustup.rs/' >&2; exit 1; }; b="${CLAUDE_PLUGIN_ROOT}/bin/jj-workspace-guard"; [ -x "$b" ] || "${CLAUDE_PLUGIN_ROOT}/hooks/build-bin.sh" jj-workspace-guard </dev/null >/dev/null 2>&1; [ -x "$b" ] && exec "$b"; exec cargo run -q -r --manifest-path "${CLAUDE_PLUGIN_ROOT}/Cargo.toml"300sb="${CLAUDE_PLUGIN_ROOT}/bin/jj-workspace-guard"; [ -x "$b" ] || "${CLAUDE_PLUGIN_ROOT}/hooks/build-bin.sh" jj-workspace-guard </dev/null >/dev/null 2>&1; [ -x "$b" ] && exec "$b"; exec cargo run -q -r --manifest-path "${CLAUDE_PLUGIN_ROOT}/Cargo.toml"300sWhere this hook configuration is defined
Defined in hooks/hooks.json
12 plugins ship this exact hooks config · first indexed Feb 22, 2026
npx claudepluginhub get-real-xr/agent-plugins --plugin jj-workspace-guardOther plugins' hooks for the same job