Clooks: A Persistent Hook Runtime for Claude Code

Performance Problem and Solution
As Claude Code pipelines grow more robust, hook counts can increase from 2-3 lightweight checks to 50+ handlers across SessionStart, PreToolUse, PostToolUse, and Stop events. Each hook typically spawns a fresh Node or Python process, creating latency from pure spawning overhead that accumulates per session.
Clooks solves this by providing a persistent HTTP daemon that handles hook dispatch without process spawning. Since Claude Code already supports HTTP hooks natively, Clooks gives you a daemon worth pointing them at.
Performance Benchmarks
From the source benchmarks:
- Single invocation: ~34.6ms → ~0.31ms
- Full session (120 calls): ~3,986ms → ~23ms
Core Features
clooks migrate: Converts existing hooks automatically with one command, no rewriting required- LLM handlers: Call Claude directly from hook config with prompt templates and variables like $TRANSCRIPT, $GIT_DIFF, $ARGUMENTS
- Batch grouping: Handlers with the same batchGroup share a single API call
- Dependency resolution:
depends: [other-handler]syntax with topological sorting into parallel execution waves - Plugin system: Package reusable hook sets as clooks-plugin.yaml, install with
clooks add - Hot reload: Edit the manifest, daemon picks it up instantly
- Metrics + cost tracking:
clooks statsshows what's firing,clooks coststracks LLM spend
Getting Started
Install with: npm install -g /clooks
Then run: clooks migrate
Current version is v0.5, actively developed with rough edges. The tool is open to contributions.
📖 Read the full source: r/ClaudeAI
👀 See Also

Adam CAD Harness Integrates with Fusion and Onshape for Agentic CAD Editing
Adam’s agentic CAD harness now integrates with Autodesk Fusion and PTC Onshape, reading and editing feature trees via natural language. Install via one-liner commands for macOS/Windows.

HostMyClaudeHTML: One-Click Sharing for Claude HTML Artifacts
A developer built hostmyclaudehtml.com, a free tool that lets you share Claude-generated HTML artifacts as live URLs by dragging and dropping the .html file. No account is required for uploaders or viewers.

Six GitHub Repositories for Claude Code Development
A Reddit user tested and shared six GitHub repositories designed to improve Claude Code projects, including tools for structured development, UI generation, task management, memory, ecosystem exploration, and workflow automation.

Building a Programming Language with Claude Code: The Cutlet Experiment
Ankur Sethi built a complete programming language called Cutlet using Claude Code over four weeks, with the AI generating every line of code while he focused on guardrails and testing. The language features dynamic typing, vectorized operations, and a REPL, running on macOS and Linux.