From claude-copilot
Before a tool call (Bash): runs ${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/pretool-check.sh. When a session starts: runs ${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/session-start.sh. After every subagent response (me|qa): runs ${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/subagent-stop.sh. And 1 more.
4 events · 4 hooks
Ships in claude-copilot. 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
Bash${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/pretool-check.sh${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/session-start.shme|qa${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/subagent-stop.sh${CLAUDE_PLUGIN_ROOT}/../.claude/hooks/user-prompt-submit.shWhere this hook configuration is defined
Defined inline in plugin.json or the marketplace entry
4 plugins ship this exact hooks config · first indexed Apr 21, 2026
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./"
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' hooks for the same job