Agent Hooks Manager — Development skill for Claude Code
Local GUI + macOS menu-bar app to add, review and remove hooks for Claude Code, Codex, Hermes and OpenClaw.
How to install Agent Hooks Manager
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bashkid/agent-hooks-manager and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Hooks Manager does
Local GUI + macOS menu-bar app to add, review and remove hooks for Claude Code, Codex, Hermes and OpenClaw.
Alternatives in Development
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
- Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
- Agent Cat Releases — Agent Cat downloads — a free macOS menu bar and Windows tray app that shows Claude Code, Codex and Gemini CLI 57 ★
README
Agent Hooks Manager
A small local GUI to add, review and remove **hooks** for four coding agents: Claude Code, Codex, Hermes and OpenClaw. Zero npm dependencies (Node 20+).
./start.command # or: npm start -> http://127.0.0.1:4377
npm test # 31 tests, run against a temp HOME
What it writes
| Agent | File | Notes |
|---|---|---|
| Claude Code | ~/.claude/settings.json |
hooks key; other settings preserved. PreToolUse can block (exit 2). |
| Codex | ~/.codex/hooks.json |
Needs [features] hooks = true. Codex asks you to trust new hooks. Not yet verified against a live Codex session. |
| Hermes | hooks: block in ~/.hermes/config.yaml |
Only that block is rewritten (comments inside it are lost). Consent needed on first use. Refuses YAML it cannot edit safely. |
| OpenClaw | ~/.openclaw/hooks/ahm-*/ (HOOK.md + handler.js) |
Enabled via openclaw hooks enable. Observation only: cannot block. |
Every write is atomic and preceded by a backup in `~/.agent-hooks-manager/backups/`.
Security
Hooks run commands as you, so the server is locked down: it binds to `127.0.0.1` only, rejects foreign `Host` headers (DNS rebinding), requires a per-launch token on every `/api` call (CSRF), caps request bodies, serves only three fixed static files, and sets a strict CSP.
If a config file is immutable (`chflags uchg`), writes fail with the exact `chflags nouchg` command to run.
Layout
`src/adapters/*` one adapter per agent (shared `jsonHookFile.js` for Claude/Codex) · `src/api.js` transport-independent routes · `src/server.js` HTTP + security · `public/` UI · `test/` node:test suite.
Menu-bar app (macOS)
./menubar/build.sh --install # builds and copies to ~/Applications
open ~/Applications/"Agent Hooks Manager.app"
A `link` icon appears in the menu bar. Click it for the manager in a popover; right-click (or ctrl-click) for Open in Browser, Reload, Restart Server, Launch at Login, Show Server
Related Skills
Duoduo Manager
macOS menu bar app for managing Duoduo daemon, channels, and Claude Code sessions
Agent Manager
macOS menu-bar app + CLI for juggling multiple Claude Code and Codex accounts on one machine — isolated logins
Claude Token Manager
A native macOS menu bar app that mirrors Claude's plan usage limits, powered by local Claude Code logs
Open Razor Rgb 4 Mac
Native macOS menu-bar app to control Razer BlackWidow V3 Pro RGB lighting without Synapse — pure IOKit, plus C
Codex Cu Bridge
Turn the ChatGPT app's Codex Computer Use engine into an MCP server any agent can use: Claude Code, Hermes, Op
Claudewatch
A macOS menu bar app that monitors your Claude Code usage and service status
Related Agents
Apple UI Designer
Visual and theme redesigns in current Apple design language (macOS 27 / iOS 26+ Liquid Glass, vibrancy, system
macOS UI Dev
Implements SwiftUI/AppKit changes in the Hoply app target — the menu bar panel, the v2 Dashboard window, comma
Translation Manager
Use this agent when you need to add, update, or remove translation keys in the i18n JSON files. This includes