Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Routes Bash permission requests to Opus 4.5 for intelligent security evaluation. Safe commands are auto-approved; risky ones fall through to the user.
When Claude Code requests permission to run a Bash command, this hook intercepts the request and sends it to Opus 4.5 for evaluation. Opus analyzes the command context and returns:
{"ok": true} — Command is auto-approved{"ok": false, "reason": "..."} — Command is denied, user sees the reasonStandard development operations:
npm, yarn, pnpm, brew, aptgit commandsmake, cargo, go build, etc.npm test, pytest, vitest, etc.ls, cat, grep, find, pwdnpm run dev, python -m http.serverPotentially dangerous operations:
rm -rf, dd, mkfs, formatsudo, chmod 777, chown root~/.ssh, ~/.aws, /etc/passwdcurl | bash, reverse shellsWhen Opus can't confidently determine safety, it returns
{"ok": false, "reason": "Requires user review"}, letting the user make the final call.
Pros:
Cons:
The hook is configured in hooks/hooks.json:
Bash — Only evaluates shell commandsopus — Uses Opus 4.5 for reasoningEnable via Claude Code plugin management:
/plugins install opus-gatekeeper
Or add to your .claude/settings.json:
{
"plugins": ["adawalli/opus-gatekeeper"]
}
To disable temporarily, remove from settings or uninstall the plugin.
Run Claude Code with debug mode to see hook execution:
claude --debug
Check loaded hooks:
/hooks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub adawalli/claude-plugins --plugin opus-gatekeeperPlugins from other owners that cover similar ground