{ "description": "Oh My Claude 自动化工作流钩子 - 跨平台 JavaScript 实现", "hooks": { "PreToolUse": [ { "matcher": "Bash|Write|Edit", "hooks": [ { "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/security-guard.js", "timeout": 5 } ] } ], "SessionEnd": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/session-summary.js", "timeout": 15 } ] } ], "SessionStart": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.js", "timeout": 10 } ] } ], "Stop": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/stop-summary.js", "timeout": 10 } ] } ], "UserPromptSubmit": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/skill-forced-eval.js", "timeout": 10 } ] } ] } }