mcpField

Hook Development

smithery.aiAgent workflows68 installs

About Hook Development

Use when the user asks to “create a hook,” “add a PreToolUse/PostToolUse/Stop hook,” “validate tool use,” “implement prompt-based hooks,” “use ${CLAUDE_PLUGIN_ROOT},” “set up event-driven automation,” “block dangerous commands,” or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks, focusing on the advanced prompt-based hooks API

Install

Copy the command and run it in a terminal.

$npx skills add https://smithery.ai --skill hook-development

After installing, type/hook-developmentin Claude Code to confirm it loaded.

Comments

Markdown supported