- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add athola/claude-night-market --skill hook-scope-guide -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add athola/claude-night-market --skill hook-scope-guide -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add athola/claude-night-market --skill hook-scope-guide -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add athola/claude-night-market --skill hook-scope-guide -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/athola/claude-night-market/tree/HEAD/plugins/abstract/skills/hook-scope-guideDo publicador
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.
hooks/hooks.json, .claude/settings.json, or
~/.claude/settings.json) is confirmed to exist or is created at the correct path."hooks": "./hooks/hooks.json" to plugin.json (duplicate-load
guard). This absence is verified before the hook is deployed.Select hook scope (plugin, project, global) by audience. Use when authoring a hook.
---name: hook-scope-guidedescription: Select hook scope (plugin, project, global) by audience. Use when authoring a hook.---# plugins/abstract/skills/hook-scope-guide/SKILL.mdPerguntas frequentes
Baixe plugins/abstract/skills/hook-scope-guide/SKILL.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/athola/claude-night-market.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.