Minimal reproduction case for https://github.com/anthropics/claude-code/issues/10412
Plugin hooks execute successfully but Claude Code never captures/parses their JSON output, while identical inline hooks work correctly.
This repo contains two nearly-identical bash Stop hooks:
.claude/settings.json): plugins/test-plugin/hooks/entrypoints/stop.shplugins/test-plugin/hooks/entrypoints/stop.shEdit .claude/settings.json and comment out the inline hook configuration:
{
"hooks": {
"Stop": []
},
"enabledPlugins": {
"test-plugin": true
}
}
Run Claude Code in this directory
Trigger a Stop hook (let Claude finish a response)
Check response
Expected: Should see loop of Claude stopping and reevaluating due to exit code 2 from hook
Actual: Claude continues without reevaluation.

Edit .claude/settings.json to enable inline hook and disable plugin:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "plugins/test-plugin/hooks/entrypoints/stop.sh"
}
]
}
]
},
"enabledPlugins": {
"test-plugin": false
}
}
Run Claude Code in this directory
Trigger a Stop hook
Works as expected an exit code 2 triggers a reevaluation.

Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub secustor/claude-code-plugin-hook-reproduction --plugin test-pluginQuickly scaffold Claude Code hooks with templates, validation, and conflict analysis
Easily create hooks to prevent unwanted behaviors by analyzing conversation patterns
Meta-tools for Claude Code configuration and customization
Example: hook-intercepted commands that run code without an API call
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
20 SEO/GEO skills and 5 commands on one shared contract for keyword research, content creation, technical audits, schema markup, monitoring, quality gates, entity truth, and campaign memory.