Openwolf
Portable project memory across Claude Code, Codex and OpenCode, plus token accounting measured from harness transcripts. Local file I/O, no API calls, no telemetry.
Install: npm install -g openwolf
Works with Claude Code, Codex, OpenCode · 2,398 GitHub stars
Install
npm install -g openwolfInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →OpenWolf
Keep project memory across your coding agents.
OpenWolf keeps task context, project maps and known fixes in one local folder. Help Claude Code, Codex and OpenCode continue saved work and find relevant code. Reduce repeated context and review recorded token usage by agent and model. Memory and indexing run locally without extra model calls.
Hooks: Claude Code, Codex CLI · Plugin: OpenCode · Compatible hooks: Grok Build · Context only: Cursor, Gemini CLI, Antigravity
| Without OpenWolf | With OpenWolf |
|---|---|
| A new session may need the same project explanation again | Saved task context, project notes and known fixes remain in .wolf/ |
| Switching agents can leave unfinished work in the previous conversation | Explicit Claude and Codex handover packets carry selected saved context |
| Usage records are spread across agent sessions | Available token counters and API cost estimates are grouped by agent and model |
| Older session notes make useful information harder to find | Eligible old notes are archived with verified restore pointers |
| Repeated file reads and large command results use session space | Read guidance and supported output controls help reduce repeated context |
What it does
A coding session produces useful context: the task objective, files changed, failed tests and the next action. That information can be difficult to recover after compaction, a restart or a change of agent. Large file reads and command results can also fill a session with repeated text.
OpenWolf stores selected context beside your project and connects to the session and tool events your coding agent supports:
- Keep the objective, completed work, unresolved problems and next action in a checkpoint. Supported Claude and Codex hooks can restore saved context.
- Find files and symbols through a project map with descriptions, line ranges and import relationships. Partial scans preserve earlier entries.
- Save project notes and known fixes for later sessions. Archive eligible old session notes while retaining active, latest and pinned notes.
- Identify repeated reads of unchanged files. Supported Claude hooks can shorten selected large Bash results and retain the original output locally.
- Review available provider token counters, model cost estimates, hook health and completed OpenWolf activity in the dashboard.
Quick start
npm install -g openwolf
cd your-project
openwolf init
init detects installed agents and sets up their project integration.
Complete any project or hook trust review shown by your agent, then start a
new session. You can select agents with --agent claude codex opencode.
Supported agents
| Agent | Integration |
|---|---|
| Claude Code | Lifecycle hooks, read guidance, Bash output controls and skills |
| Codex CLI | Project hooks and AGENTS.md: saved task recovery and supported session and tool events |
| OpenCode | Native plugin and AGENTS.md: session and tool events, usage records and activity toasts |
| Grok Build | Enabled Claude-compatible hook discovery; activity notices stay in the dashboard |
| Cursor | Rules file (context only) |
| Gemini CLI | GEMINI.md block (context only) |
| Antigravity | AGENTS.md block (context only) |
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.