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

Compass Chrome Extension Adds Navigation Tools to Claude and ChatGPT
A developer built a free Chrome extension called Compass that adds a prompt minimap, sticky scroll headers, session checklists, and prompt builder templates to Claude and ChatGPT interfaces to solve navigation problems in long conversations.

New Structured Data API Provides Subscription Pricing for LLM Agents
A developer has released a structured data API that normalizes subscription pricing across streaming platforms, ride-share services, dating apps, and other subscription-based platforms. The API provides consistent JSON schemas, region-aware pricing where available, and MCP-compatible endpoints for LLM agents to consume without scraping.

Measuring Claude Code MCP Stack: Cache Friendliness vs. Byte Savings, and a 2-Line Fix for Prompt Cache
Greg Shevchenko benchmarks MCP compressors and retrieval layers on two axes: byte savings and cache friendliness. A 2-line fix (sort rg hits, sort map entries) boosts cache from ~0% to 100% with no byte-savings loss. Open-source harness included.
Claude to LinkedIn Posts Directly from Chat: Full Workflow
A Reddit user shares a workflow using the Contentdrips MCP connector to write, design, and publish LinkedIn posts directly from Claude AI chat.