Memfw — AI skill for Claude Code
Local-first, verify-first memory for AI agents: Markdown vault + hash-linked event log, one redacted conversation store for 14 agent apps and CLIs, handoff packs, dream consolidation and skill drafts.
How to install Memfw
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LeoLin990405/memfw and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memfw does
Local-first, verify-first memory for AI agents: Markdown vault + hash-linked event log, one redacted conversation store for 14 agent apps and CLIs, handoff packs, dream consolidation and skill drafts, MCP server. 本地优先、先核对的 AI agent 记忆:Markdown + 哈希链日志、跨 agent 脱敏会话库、交接包、dream 整理、MCP。
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Mysti — AI coding dream team of agents for VS Code 1k ★
- Openclaw Auto Dream — Automatic memory consolidation for OpenClaw agents — like sleep for your AI 545 ★
README
memfw
**A long-term memory for AI agents that you can read, diff and trust.**
Markdown is the source of truth · hash-linked JSONL events · rebuildable FTS5 · verify-first consolidation · one redacted conversation store for every agent · local MCP server.
[**简体中文**](README.zh-CN.md) · **English**
What is memfw?
memfw is a local memory engine for AI agents. It does three jobs:
- Keeps memories as files. Every memory is a plain Markdown file in a vault folder, every change is appended to a hash-linked event log, and search runs on an index you can rebuild at any time.
- Collects what agents said. It reads the session stores of 14 agent CLIs and apps into one local, redacted conversation store, so any agent can search, read and continue another agent's work.
- Turns that into better memory, carefully. "Dream" passes check memories against the transcripts and propose confirmations, corrections, merges, lessons and skill drafts. They only ever stage candidates; a person decides what goes into the vault.
Agents use it through a local **MCP server** (`memfw-mcp`); people use the `memfw` CLI.
agent CLIs / apps ──readers──► conv
Related Skills
Revenueos
RevenueOS — an event-sourced Sales→PreSales handoff: an AI agent drafts an editable POC plan from a reusable t
Grep Jsonl
Inspect Mori's ~/.mori/logs/mori-YYYY-MM-DD.jsonl event log to diagnose user-reported issues — find errors, tr
AI Dream
🌙 Auto-dream memory consolidation for Claude Code & OpenClaw — REM sleep for your AI
Claude Dream
Memory consolidation skill for Claude Code — like REM sleep for your AI memory
Sigdek
Records what AI coding agents (Claude Code, Cursor) do on developer machines, in a hash-chained log, with Flag
Multi Bot Agentic
Deterministic multi-provider AI-agent orchestrator — ODA loops, GPT/Claude/Gemini/Kimi adapters, safety contro
Related Agents
Resume Scorer
Scores one redacted resume against one frozen rubric in a fresh context and returns a scorecard JSON with a ve
DreamEngineAgent
Executes the bio-inspired 3-phase memory consolidation cycle (SWS, REM, Consolidation) over execution traces.
Conversation Analyst
Reads a slice of a redacted conversation corpus for one Sarvam agent and returns a failure taxonomy with count