LeoLin990405

Memfw — AI skill for Claude Code

AI community

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 banner

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**

License Python 3.11+ MCP tools 14 agent readers Bounded evaluation

What is memfw?

memfw is a local memory engine for AI agents. It does three jobs:

  1. 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.
  2. 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.
  3. 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