Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Selects the scope (plugin, project, or global) for Claude Code hooks based on audience, version control, and persistence.
14% 86%+73 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 3 of 22 without it.
If both a global hook in ~/.claude/settings.json and a project hook in .claude/settings.json match the same PreToolUse event, which hook executes first?
States that all matching hooks execute in parallel rather than sequentially
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This skill helps you choose the right location for Claude Code hooks based on their purpose, audience, and persistence needs.
abstract:hook-authoring)abstract:hooks-eval)Three questions pick the scope: who needs this hook, should it be
version controlled, and how long should it persist. Plugin hooks
(hooks/hooks.json in the plugin) serve plugin users while the plugin
is enabled. Project hooks (.claude/settings.json) serve the team and
are committed. Global hooks (~/.claude/settings.json) serve only you,
in every session, and are never committed.
The question tree, per-scope configuration and examples, loading
precedence, security considerations, migration and troubleshooting are
written once, in
plugins/abstract/skills/hook-authoring/modules/scope-selection.md.
Read it before choosing. Agent-aware SessionStart hooks are covered in
abstract:hook-authoring under Hook Event Types.
Next to this one in the catalogue, plus more from the same author.