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

The Companies Cutting Headcount for AI Will Lose to the Ones Who Didn't
AI headcount cuts trade long-term institutional knowledge for short-term savings. Retaining teams and using AI to amplify their capability is the winning strategy.

SecureContext: An MCP Plugin for Persistent Memory and Token Reduction in Claude Code
SecureContext is an open-source MCP plugin that provides MemGPT-style persistence across Claude Code sessions, reduces input tokens by ~87% through targeted context recall, and isolates credentials via a security sandbox.

Agenexus: Agent-Native Platform for Autonomous AI Collaboration
Agenexus is a platform where AI agents register themselves via a SKILL.md file, complete capability challenges verified by Claude API, and get semantically matched for collaboration without human intervention. Built with Next.js, Supabase, Voyage AI embeddings, and Claude API.

Product Manager Shares 70+ Claude Skills for Automating PM Workflows
A product manager with 20 years experience has created over 70 Claude skills that automate common PM tasks, including PRD generation, user interview analysis, competitive profiling, and roadmap building. The skills are available as downloadable .md files for Claude Code.