# Repository Briefing: cytostack/openwolf
> Source: https://repoforai.com/repo/cytostack/openwolf (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/cytostack/openwolf
- **Official Docs / Website**: https://openwolf.com
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: AGPL-3.0
- **Engineering Health**: B+ (71/100 · Maintenance 26/35 · Adoption 17/25 · Releases 17/20 · License 11/20)
- **Latest Release**: v2.5.3 (2026-10-19) — https://github.com/cytostack/openwolf/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI
- **Momentum**: 2,409 ★ total (+0 24h / +3 7d) · 214 forks
- **Topics**: `agent-memory`, `anthropic`, `claude-ai`, `claude-code`, `cli`, `codex`, `context-engineering`, `developer-tools`, `middleware`, `observability`, `open-source`, `openai`
- **When to Use**: Best for: Developers who switch among Claude Code, Codex or OpenCode and want a local code map, recoverable task checkpoints and usage reports that show gaps in recorded data. Skip if: You need full conversation migration, identical controls across agents, billing-grade usage reconciliation, or only a static rules file for one agent.

## Overview
```text
### Architecture & Core Mechanics
OpenWolf is a TypeScript CLI with agent-specific extensions and project-scoped file storage. `openwolf init` creates `.wolf/` and registers supported integrations. `anatomy-index.json` stores file and symbol metadata, `STATUS.md` holds open work, and `handoff/` holds checkpoints and transfer packets. Session-start hooks can load a short project map and available task evidence, while event support determines what can be captured or restored.

Separate TypeScript build configurations cover hooks, the plugin and the dashboard. The dependency set includes Commander, Chokidar, Express, `ws`, `web-tree-sitter` and `tree-sitter-wasms`. Bug-log search uses Node's built-in SQLite when available and falls back to a simpler matcher. Journals or locks protect concurrent writes where needed, and interrupted scans preserve index entries they did not reach.

### Key Capabilities & Differentiators
Claude Code has the broadest controls: lifecycle hooks, repeated-read guidance and shortening of selected Bash output, with originals retained locally. Test and build output are advisory-only by default. Codex has project hooks and saved-task recovery; OpenCode uses a native plugin for session and tool events, usage records and activity notices. Cursor, Gemini CLI and Antigravity receive project context only. Claude–Codex handover moves selected evidence and checks project identity, source records and repository drift.

The dashboard and CLI reconcile available usage records from Claude transcripts, Codex session records and OpenCode plugin records. Missing counters remain unavailable, not zero. Reports distinguish provider counters from local content-size estimates and apply model-specific API list prices, including cache rates where available. Those estimates are neither subscription charges nor proof of token savings. Maintenance can archive eligible notes with verified restore pointers while retaining active, latest and pinned notes.

### Trade-offs & Limitations
Compared with native session resume, OpenWolf preserves a portable subset of task evidence rather than the full conversation. Compared with keeping only `AGENTS.md` or equivalent rules, it adds indexing, searchable fixes, checkpoints and usage accounting, but also adds hook registration, runtime updates and local state to maintain. A full live Claude → Codex → Claude coding round trip and broader token-efficiency gains remain unverified.

Local storage avoids a hosted memory dependency, not the risk of exposing saved material. Review notes, bug records, indexed content and cached command output before sharing them. Hooks do not approve tool calls, and durable instruction injection requires an independently protected installation and administrator review. AGPL-3.0 warrants a license review before distributing or offering network access to a modified build.

### Hardware & Deployment Guide
Use Node.js 20+ and at least one supported agent on macOS, Linux or Windows. Run `npm install -g openwolf`, then `openwolf init` in the project. To select integrations explicitly, use `openwolf init --agent claude codex opencode`. Complete the agent's trust review and verify hook health with `openwolf status`. The local dashboard binds to `127.0.0.1` by default and requires a project token.

Memory, indexing and usage processing need no extra model calls. The optional update worker contacts npm; `openwolf bench` uses real model access and can incur charges. Compatible project runtimes can be staged for new sessions without replacing the global CLI or a running daemon. v2.5.2 added explicit task handover and per-model usage reporting; v2.5.3 improved watcher resilience, Windows execution and native OpenCode V2 support.
```

## Key Capabilities
```text
- Project state: `.wolf/` separates the code index, task status, bug records, session notes and runtime data.
- Integration depth: Claude Code uses lifecycle hooks, Codex uses project hooks plus `AGENTS.md`, and OpenCode uses a native plugin.
- Incremental indexing: Partial scans retain entries they did not reach; `openwolf scan --check` checks freshness without writing.
- Task continuity: Claude–Codex handover imports check project identity, source records and repository drift.
- Usage accounting: `openwolf usage report --json` reconciles available records and distinguishes provider counters from content-size estimates.
- Output retention: Supported Claude hooks can shorten selected Bash results while keeping originals in `.wolf/cache/bash/`.
```

## Quick Start / Clone
```bash
npm install -g openwolf
cd your-project
openwolf init
```
