SkillsLLM
CategoriesBlogAI NewsAbout
HomeCLI Toolsopenwolf

openwolf

by cytostack

Pending

Sharper context. Fewer tokens. Open-source middleware for Claude Code.

100stars
5forks
TypeScript
Added 3/22/2026
View on GitHubDownload ZIP
CLI Toolsanthropicclaude-aiclaude-codeclideveloper-toolsmiddlewareopen-sourcetoken-optimization
Installation
# Add to your Claude Code skills
git clone https://github.com/cytostack/openwolf
README.md
<p align="center"> <img src="demo.gif" alt="OpenWolf demo" width="640" /> </p> <h1 align="center">OpenWolf</h1> <p align="center"> <strong>A second brain for Claude Code.</strong><br /> Project intelligence, token tracking, and invisible enforcement through 6 hook scripts. Zero workflow changes. </p> <p align="center"> <a href="https://www.npmjs.com/package/openwolf"><img src="https://img.shields.io/npm/v/openwolf.svg" alt="npm version" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg" alt="License: AGPL-3.0" /></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node.js-20%2B-green.svg" alt="Node.js" /></a> </p>

Why OpenWolf Exists

Claude Code is powerful but it works blind. It doesn't know what a file contains until it opens it. It can't tell a 50-token config from a 2,000-token module. It reads the same file multiple times in one session without noticing. It has no index of your project, no memory of your corrections, and no awareness of what it already tried.

OpenWolf gives Claude a second brain: a file index so it knows what files contain before reading them, a learning memory that accumulates your preferences and past mistakes, and a token ledger that tracks everything. All through 6 invisible hook scripts that fire on every Claude action.

Token Comparison

Tested on a large active project. Same codebase, same prompts, different setups:

OpenClaw + Claude          ██████████████████████████████████████  ~3.4M tokens
Claude CLI (no OpenWolf)   ████████████████████████████████        ~2.5M tokens
OpenWolf + Claude CLI      ████████                                ~425K tokens

OpenWolf saved ~80% of tokens compared to bare Claude CLI on the same project.

Across 20 projects, 132+ sessions: average token reduction of 65.8%, with 71% of repeated file reads caught and blocked. These are numbers from real usage, not benchmarks. Your results will vary by project size and usage patterns.

Quick Start

npm install -g openwolf
cd your-project
openwolf init

That's it. Use claude normally. OpenWolf is watching.

What It Creates

openwolf init creates a .wolf/ directory in your project:

| File | Purpose | |------|---------| | anatomy.md | Project file map with descriptions and token estimates | | cerebrum.md | Learned preferences, corrections, Do-Not-Repeat list | | memory.md | Chronological action log with token estimates | | buglog.json | Bug fix memory, searchable, prevents re-discovery | | token-ledger.json | Lifetime token tracking and session history | | hooks/ | 6 Claude Code lifecycle hooks (pure Node.js) | | config.json | Configuration with sensible defaults | | identity.md | Agent persona for this project | | OPENWOLF.md | Instructions Claude follows every session |

How It Works

Before Claude reads a file, OpenWolf tells it what the file contains and how large it is. If Claude already read that...

Comments (0)
to leave a comment.

No comments yet. Be the first to share your thoughts!

Related Skills

n8n

by n8n-io

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
180,400
56,035
TypeScript
MCP Serversaiapis
View details
gemini-cli

by google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.
98,624
12,496
TypeScript
AI Agentsaiai-agents
View details
everything-claude-code

by affaan-m

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
94,747
12,402
JavaScript
AI Agentsai-agentsanthropic
View details
ui-ux-pro-max-skill

by nextlevelbuilder

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
47,554
4,627
Python
CLI Toolsai-skillsantigravity
View details
awesome-claude-skills

by ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
46,719
4,767
Python
AI Agentsagent-skillsai-agents
View details
oh-my-openagent

by code-yeongyu

omo; the best agent harness - previously oh-my-opencode
42,221
3,144
TypeScript
AI Agentsaiai-agents
View details