Stats
Actions
Tags
From n8n-autopilot
Enforces n8n CLI usage by blocking direct curl/wget API calls, runs environment and credential checks on session start, and captures feedback on session end. Executes bash commands.
3 events · 12 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
BashINPUT="$CLAUDE_TOOL_INPUT"; if echo "$INPUT" | grep -qE '(curl|wget).*(/api/v1|n8n\.cloud|n8n\.io)' 2>/dev/null; then if echo "$INPUT" | grep -qE '/api/v1/data-tables' 2>/dev/null; then : ; else echo 'BLOCKED: Use n8nac CLI instead of direct API calls via curl/wget. (Carve-out: /api/v1/data-tables is allowed — see /n8n-autopilot:data-tables skill.)' >&2; exit 2; fi; fi5msINPUT="$CLAUDE_TOOL_INPUT"; bash ${CLAUDE_PLUGIN_ROOT}/scripts/enforce-env.sh "$INPUT"5msINPUT="$CLAUDE_TOOL_INPUT"; bash ${CLAUDE_PLUGIN_ROOT}/scripts/push-gate.sh "$INPUT"15msINPUT="$CLAUDE_TOOL_INPUT"; if echo "$INPUT" | grep -qE 'n8nac push' 2>/dev/null; then bash ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-mcp-trigger-setting.sh "$INPUT" 2>&1; fi5msbash ${CLAUDE_PLUGIN_ROOT}/scripts/capture-feedback.sh 2>&1 || true10msbash ${CLAUDE_PLUGIN_ROOT}/scripts/report-session-env.sh 2>&1 || true10msbash ${CLAUDE_PLUGIN_ROOT}/scripts/setup-check.sh 2>&1 || true15msbash ${CLAUDE_PLUGIN_ROOT}/scripts/check-schema-versions.sh --quiet 2>&1 || true15msbash ${CLAUDE_PLUGIN_ROOT}/scripts/check-credential-freshness.sh --quiet 2>&1 || true10msbash ${CLAUDE_PLUGIN_ROOT}/scripts/check-mirror-drift.sh --quiet 2>&1 || true15msbash ${CLAUDE_PLUGIN_ROOT}/scripts/check-workspace-migration.sh --quiet 2>&1 || true15msbash ${CLAUDE_PLUGIN_ROOT}/scripts/check-feedback-pending.sh --quiet 2>&1 || true10msnpx claudepluginhub neurawork-git/n8n-autopilot --plugin n8n-autopilot