hook-scope-guide
Installation
SKILL.md
Hook Scope Decision Guide
Overview
This skill helps you choose the right location for Claude Code hooks based on their purpose, audience, and persistence needs.
When NOT To Use
- Writing the hook itself (use
abstract:hook-authoring) - Scoring an existing hook (use
abstract:hooks-eval)
Important: Auto-Loading Behavior
hooks/hooks.jsonis automatically loaded by Claude Code when the plugin is enabled. Do NOT add"hooks": "./hooks/hooks.json"to yourplugin.json- this causes duplicate load errors. Thehooksfield inplugin.jsonis only needed for additional hook files beyond the standardhooks/hooks.json.