cytostack/openwolf
OpenWolf is an open-source middleware extension for Claude Code that uses hook scripts to optimize token usage, index project files, and accumulate learning memory.

OpenWolf intercepts Claude Code’s actions through six invisible hook scripts to provide project intelligence without changing the developer’s workflow. It builds a file index so Claude Code knows file contents before reading them, tracks token usage across sessions, and accumulates a memory of user preferences and past corrections. The system demonstrably reduces token consumption by approximately 80% compared to bare Claude CLI usage in testing.