From model-apps
Before a tool call (Write|Edit|MultiEdit): runs node -e 'const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!…. Before a tool call (Skill|skill): runs node -e 'process.on(process.argv[3],()=>{process.exitCode=0});const root=process…. And 3 more.
3 events · 5 hooks
Ships in model-apps. 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
Write|Edit|MultiEditnode -e 'const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!root){console.error(process.argv[3]);process.exit(0)}require(require(process.argv[1]).resolve(root,process.argv[2]))' node:path hooks/validate-write-safety.js 'PLUGIN_ROOT is not set'10sSkill|skillnode -e 'process.on(process.argv[3],()=>{process.exitCode=0});const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!root){console.error(process.argv[4]);process.exit(0)}require(require(process.argv[1]).resolve(root,process.argv[2]))' node:path hooks/run-skill-pretool-telemetry.js exit 'PLUGIN_ROOT is not set'30sSkill|skillnode -e 'const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!root){console.error(process.argv[3]);process.exit(0)}require(require(process.argv[1]).resolve(root,process.argv[2]))' node:path hooks/run-skill-posttool-validation.js 'PLUGIN_ROOT is not set'30sWrite|Edit|MultiEditnode -e 'const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!root){console.error(process.argv[3]);process.exit(0)}require(require(process.argv[1]).resolve(root,process.argv[2]))' node:path hooks/validate-icon-imports.js 'PLUGIN_ROOT is not set'10snode -e 'process.on(process.argv[3],()=>{process.exitCode=0});const root=process.env.PLUGIN_ROOT||process.env.CLAUDE_PLUGIN_ROOT;if(!root){console.error(process.argv[4]);process.exit(0)}require(require(process.argv[1]).resolve(root,process.argv[2]))' node:path hooks/run-user-prompt-telemetry.js exit 'PLUGIN_ROOT is not set'30sWhere this hook configuration is defined
Defined in hooks/hooks.json
roblox, mcp, pre-tool-use, post-tool-use, user-prompt-submit
17 plugins ship this exact hooks config · first indexed Nov 28, 2025
npx claudepluginhub microsoft/power-platform-skills --plugin model-appsOther plugins' hooks for the same job