Claude Code session

AI Memory

Extract structured knowledge from Cursor & Claude Code conversations into git-trackable Markdown files

44 stars 5 forksSessions & history Source

Install

Install
npx ai-memory-cli extract                     # read your editor's chat history → typed Markdown

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/hyxnj666-creator/ai-memory.git

From the README

ai-memory
Turn AI editor chat history into typed Markdown + AGENTS.md rules — local-first, git-trackable, zero .remember() calls.

Every other "AI memory" tool starts with a remember() API and asks you to instrument your code. ai-memory reads your editor's chat history directly — Cursor, Claude Code, Windsurf, Copilot Chat, Codex CLI — and turns it into typed, git-trackable Markdown that every AI editor reads back via AGENTS.md. No new API surface to learn, no runtime memory store to keep alive between sessions.

Local-first by default. Conversations never leave your machine; the only network call is to whichever LLM provider you've configured for extraction. Or use Ollama / LM Studio for fully offline operation.
中文文档

What only ai-memory does

Four things you won't find together anywhere else. The first three are structural; the fourth is engineering investment nobody else is making.

1. Zero .remember() boilerplate. We read what you've already written — the Cursor / Claude Code / Windsurf / Copilot Chat / Codex CLI transcripts that already live on your disk. No SDK to import, no runtime memory store to keep alive. Compare with mem0 / Letta / Zep / cortexmem, which require client.add(...) calls from your application code.

2. Native AGENTS.md output. ai-memory rules --target agents-md writes the cross-tool standard rules file that Cursor, Claude Code, Windsurf, Copilot, and OpenAI Codex CLI all consume. The merge is idempotent: only the section between  ... end --> is touched; any hand-written content in your AGENTS.md is preserved byte-for-byte. AGENTS.md adoption crossed 60K repos and is now under Linux Foundation stewardship — most projects hand-write theirs from scratch; we generate it from your conversation history.

3. Plain Markdown in git — no database.…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
7 May 2026
Topics
aiclaude-codeclicursordeveloper-toolsknowledge-managementnodejstypescript

FAQ

What is AI Memory?

Extract structured knowledge from Cursor & Claude Code conversations into git-trackable Markdown files It is a session for Claude Code, from hyxnj666-creator/ai-memory on GitHub.

How do I install AI Memory?

Run npx ai-memory-cli extract # read your editor's chat history → typed Markdown, then follow the setup in the README.

Is AI Memory popular?

hyxnj666-creator/ai-memory has 44 GitHub stars and 5 forks. It was last updated on 7 May 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.