Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/edmonds-commerce-limited/claude-code-hooks-daemon/hooks-daemonnpx skills add Edmonds-Commerce-Limited/claude-code-hooks-daemon --skill hooks-daemongit clone --depth 1 https://github.com/Edmonds-Commerce-Limited/claude-code-hooks-daemonWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/edmonds-commerce-limited/claude-code-hooks-daemon/hooks-daemon)<a href="https://agentmods.dev/skills/edmonds-commerce-limited/claude-code-hooks-daemon/hooks-daemon"><img src="https://agentmods.dev/badge/skills/edmonds-commerce-limited/claude-code-hooks-daemon/hooks-daemon.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00025 | $0.02316 |
| Opus 5 | $0.00013 | $0.01158 |
| Sonnet 5 | $0.00005 | $0.00463 |
| Haiku 4.5 | $0.00003 | $0.00232 |
Grade A, and why
hooks-daemon scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hooks Daemon Management
Manage your Claude Code Hooks Daemon installation with these commands.
Available Commands
Install Daemon
Install the hooks daemon on a fresh clone (daemon not yet present):
/hooks-daemon install # Install daemon from GitHub
/hooks-daemon install --force # Force reinstall over existing
See install.md for detailed install documentation.
Upgrade Daemon
Update to a new version of the hooks daemon:
/hooks-daemon upgrade # Auto-detect and upgrade to latest version
/hooks-daemon upgrade 2.14.0 # Upgrade to specific version
/hooks-daemon upgrade --force # Force reinstall current version
See upgrade.md for detailed upgrade documentation.
Optimise Configuration
The config-optimisation review — the mandatory closing step of every upgrade, and the repeatable answer to "enable all relevant handlers and ensure optimal configuration for this project":
/hooks-daemon optimise
Scores five areas, surfaces handlers that are new or disabled-but-relevant, and applies its recommendations only on explicit confirmation.
See optimise.md — it starts by running
scripts/optimise-invoke.sh, which prints the procedure to follow.
Restart Daemon
Required after editing .claude/hooks-daemon.yaml or project handlers:
/hooks-daemon restart
The daemon caches config at startup — restart picks up any config or handler changes.
See restart.md for details.
Regenerate Generated Docs
Force-regenerate the daemon's generated documentation without restarting:
/hooks-daemon regen-docs
Rewrites both generated artifacts to their canonical form in one shot:
.claude/HOOKS-DAEMON.md— the active-handler summary.- The
<hooksdaemon>guidance block inside your projectCLAUDE.md.
This is the explicit way to recover both files after a git merge/rebase conflict
left them stale or conflict-marked — run it, then stage the clean result. (A normal
restart also refreshes these, but regen-docs does it as a one-shot with no daemon
bounce.)
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- bug-report.md 1.2 KB
- check.md 2.3 KB
- dev-handlers.md 7.3 KB
- health.md 2.8 KB
- install.md 1.7 KB
- optimise.md 4.2 KB
- plan-qa.md 2.5 KB
- references/troubleshooting.md 9.2 KB
- regen-docs.md 2.4 KB
- report.md 5.5 KB
- restart.md 1.7 KB
- rule-explain.md 2.1 KB
- scripts/_resolve-venv.sh 1.8 KB runs code
- scripts/daemon-cli.sh 7.7 KB runs code
- scripts/health-check.sh 11 KB runs code
- scripts/init-handlers.sh 8.6 KB runs code
- scripts/install.sh 6.9 KB runs code
- scripts/optimise-invoke.sh 17 KB runs code
- scripts/upgrade.sh 2.5 KB runs code
- upgrade.md 5.6 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +42 lines 7febffe26d71
- 5d ago First seen · 265 lines · 25 tokens per session scan A 1bd06ac01233
hooks-daemon is a skill published in the GitHub repository Edmonds-Commerce-Limited/claude-code-hooks-daemon (3 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 2,316 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
better-auth
Skill for integrating Better Auth - comprehensive TypeScript authentication framework for Cloudflare D1, Next.js, Nuxt, and 15+ frameworks. Use when adding auth, encountering D1 adapter errors, or implementing OAuth/2FA/RBAC features.
aceternity-ui
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.
cloudflare-cron-triggers
Cloudflare Cron Triggers for scheduled Workers execution. Use for periodic tasks, scheduled jobs, or encountering handler not found, invalid cron expression, timezone errors.
cloudflare-durable-objects
Cloudflare Durable Objects for stateful coordination and real-time apps. Use for chat, multiplayer games, WebSocket hibernation, or encountering class export, migration, alarm errors.
cloudflare-browser-rendering
Cloudflare Browser Rendering with Puppeteer/Playwright. Use for screenshots, PDFs, web scraping, or encountering rendering errors, timeout issues, memory exceeded.
cloudflare-sandbox
Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge. Use for untrusted code, Python/Node.js scripts, AI code interpreters, git operations.