/core:hook-managerfrom core
List, enable, or disable individual core hooks and check their prerequisites. Manages per-hook config across Claude Code, Codex, and Grok Build.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage the hooks that ship with the core plugin across Claude Code, Codex,
and Grok Build. The catalog source of truth is hooks/manifest.json in the
installed plugin — read it live rather than trusting a memorized list:
cat "$(ls -d ~/.claude/plugins/cache/b-open-io/core/*/ | sort -V | tail -1)hooks/manifest.json"
Each entry carries name, event, matcher, tier, runtimes, summary, and
description. Hooks register automatically when the plugin is installed;
this skill controls which ones actually run.
Per-hook enable/disable lives in a JSON config. Resolution order (first file
with an explicit true/false verdict for a hook wins):
$BOPEN_HOOKS_CONFIG — explicit override (tests, scripts)<project>/.claude/bopen-hooks.json — per-project (Claude)<project>/.grok/bopen-hooks.json — per-project (Grok)~/.claude/core/hooks-config.json — per-user (Claude)~/.grok/core/hooks-config.json — per-user (Grok){
"version": 1,
"hooks": {
"bouncer": true,
"damage-control": true,
"publish-gate": true,
"agent-browser-solo": true,
"session-context": true,
"hammertime": true,
"browser-intent": true
}
}
A hook is disabled ONLY by an explicit false. Missing files, missing keys,
or unparseable JSON all mean enabled — a broken config must never silently
switch the guards off. Changes take effect on the next hook invocation; no
restart is required.
When session context carries [BOPEN-HOOKS-SETUP], the user has no config
yet. Do not interrupt their task; offer setup at a natural pause. The flow:
tier: "guard" —
they prevent work loss, secret exposure, and unticketed publishes.tier: "workflow".~/.claude/core/hooks-config.json (Claude/Codex) or
~/.grok/core/hooks-config.json (Grok) with the full hooks map —
include every hook with an explicit boolean, even the all-defaults case.
Writing the file is what dismisses the setup notice permanently.Edit the user config (or project config for repo-scoped changes) with the Read and Write tools — read, flip the boolean, write back. Create the file from the template above when it does not exist. Never edit files inside the plugin cache; updates overwrite them.
Expect a confirmation prompt on every config write: damage-control treats these files as ask-tier so guards can never be disarmed without the user's explicit yes (on Codex the write is denied outright — have the user edit the file themselves). This is by design; do not route around it.
Warn before disabling guards: bouncer stops git reset --hard-class work
loss, damage-control enforces zero-access paths like .env, publish-gate
blocks unticketed npm/on-chain publishes. Disabling them is the user's call,
but say plainly what protection goes away.
When a hook misbehaves or the user asks "why did X get blocked/skipped":
# Which config verdict applies to a hook?
for f in "$BOPEN_HOOKS_CONFIG" ./.claude/bopen-hooks.json ./.grok/bopen-hooks.json ~/.claude/core/hooks-config.json ~/.grok/core/hooks-config.json; do
[ -f "$f" ] && echo "$f: $(jq -r '.hooks["<name>"] // "no verdict"' "$f")"
done
# Prerequisites
command -v jq || echo "jq missing — hooks skip JSON parsing without it"
command -v agent-browser || echo "agent-browser missing — agent-browser-solo falls back to native WebFetch"
[ -n "$LINEAR_API_KEY" ] || echo "LINEAR_API_KEY unset — publish-gate denies gated publishes"
command -v python3 || echo "python3 missing — hammertime and JSON escaping degrade"
Skill(core:hammertime) and
the hammertime:manage skill — for rule-level tuning beyond on/off.hooks/ directory; read it before guessing.~/.claude — hooks ship with the plugin and
update through claude plugin update core@b-open-io.hooks/*.sh, claude-hooks.json, or anything in the plugin
cache.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
core@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin core15 skills in this plugin
/auth-mdImplement or review the experimental WorkOS auth.md v0.6.0 agent-identity proposal. Use for "implement auth.md", "add agent registration", "design delegated agent signup", "support service_auth", "mint or verify an ID-JAG", "build an agent identity provider", or agent-facing OAuth consent, claims, and revocation. Distinct from Better Auth Agent Auth Protocol, OAuth Dynamic Client Registration, and RFC 8628 Device Authorization./check-versionCompare installed plugin versions against GitHub to confirm skills and agents are current. Use at session start, for "is everything up to date", "are my plugins up to date", "are our plugins current", "check for plugin updates", "is anything stale", "am I on the latest version", "did that plugin update land", or when a skill behaves differently than documented or references features you do not recognize. Checks any plugin in the marketplace, not just core. Completes in under 100ms per plugin./codex-agent-setupOther plugins' skills for the same job