Home / Claude Code mods / Interface / hook-daemon

hook-daemon

hook-daemon is a Claude Code mod by chami1221-eng that answers heavy Python command hooks (PreToolUse / PostToolUse / Stop / UserPromptSubmit) from one resident process instead of spawning Python on every tool call. Falls back to the normal.

Updated 2026-10-15

What is hook-daemon?

hook-daemon is a Claude Code mod by chami1221-eng that answers heavy Python command hooks (PreToolUse / PostToolUse / Stop / UserPromptSubmit) from one resident process instead of spawning Python on every tool call. Falls back to the normal. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorchami1221-eng
Repositorychami1221-eng/my-ai-workbench
Popularityno public popularity data yet
CategoryInterface
SecurityReview before installing (60/100)
Rank#5,322 of 9,397 Claude Code mods; #2,256 in Interface
LicenseApache-2.0
Last commit2026-10-15
Hooks8 events
Seesclassic hooks, mcp__hook-daemon__run calls
Draws onnothing

Is hook-daemon safe to install?

hook-daemon scores 60/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.sleep
$.command.register
$.env.getreads env vars
$.http.fetchnetwork requests
$.process.runruns processes
$.process.spawn
$.session.cwd
$.session.id
$.settings.readreads settings
$.state.get
$.tool.registerdrives Claude
$.ui.logdraws interface

How do I install hook-daemon?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/chami1221-eng/my-ai-workbench
    claude plugin validate ./my-ai-workbench/mods/hook-daemon
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/chami1221-eng/my-ai-workbench && claude --plugin-dir ./my-ai-workbench/mods/hook-daemon

Or ask Claude to set it up

Paste this into Claude Code and it installs hook-daemon for you:

Install the "hook-daemon" Claude Code mod from https://github.com/chami1221-eng/my-ai-workbench/tree/main/mods/hook-daemon. Run claude plugin validate on it first and show me what it can access before you enable it.

More from chami1221-eng/my-ai-workbench

This repository has 7 Claude Code mods on MCPMods.

  • bash-rewrite: Rewrites Bash commands that a PreToolUse guard would deny (heredoc or python -c containing backslashes, cd followed by r (Review before installing)
  • layer0-compose: Moves the top-priority rule list (Layer 0) from per-turn UserPromptSubmit injection into the system prompt, where prompt (Low risk)
  • prompt-band: Shows up to three hints above the prompt: tools that have been running for a while (elapsed time), what a one-key approv (Low risk)
  • secret-mask: Redacts tokens, API keys and passwords from every row that enters the conversation (tool results, hook context, input, r (Low risk)
  • send-gate: Before an outbound message is drafted, scheduled or sent (email draft script, chat post, chat MCP tools), checks that it (Low risk)
  • shot-peek: When Claude reads an image from the Screenshots folder, shows its file name and capture time above the prompt so you can (Low risk)