Maintain a Zettelkasten-based agent memory system with bidirectional links, enabling structured knowledge capture, cross-session context loading, and card network health checks across coding agents.
Audit and sync agent instruction files across all coding agent formats. FRE (first-run) checks scaffolding completeness; ongoing use keeps files in sync after edits.
A-MEM-inspired agentic memory workflow for structured knowledge capture.
Zettelkasten best practices for building a high-quality knowledge graph.
Periodic maintenance of the Zettelkasten card network.
Load prior knowledge from Zettelkasten memory when the task likely benefits from past context.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Persistent memory for AI coding agents. Your agent remembers what it learned across sessions.
English | 中文 | 日本語 | 한국어 | Español

Every time your AI agent finishes a task, it saves insights as atomic knowledge cards with [[bidirectional links]]. Next session, it recalls relevant cards before starting work — building on what it already knows instead of starting from scratch.
No vector database, no embeddings — just markdown files your agent (and you) can read.
| Platform | Integration | Experience |
|---|---|---|
| Claude Code | Plugin (hooks + skills) | Best — auto-recall, slash commands, SessionStart hook |
| VS Code / Copilot | MCP Server | 10 MCP tools, zero config |
| Cursor | MCP Server | 10 MCP tools, zero config |
| Codex | MCP Server | 10 MCP tools, zero config |
| Windsurf | MCP Server | 10 MCP tools, zero config |
| Pi | Extension (custom tools + hooks) | 8 tools, auto-recall hook, slash commands |
| Any MCP client | MCP Server | 10 MCP tools, zero config |
All platforms share the same ~/.memex/cards/ directory. A card written in Claude Code is instantly available in Cursor, Codex, or any other client.
npm install -g @touchskyer/memexStep 1: Add memex to your editor
| Platform | Command |
|---|---|
| VS Code / Copilot | Search "memex" in VS Code Extensions — install and done, no extra setup |
| Claude Code | /plugin marketplace add iamtouchskyer/memex then /plugin install memex@memex |
| Cursor | First npm install -g @touchskyer/memex, then one-click install |
| Codex | npm install -g @touchskyer/memex && codex mcp add memex -- memex mcp |
| Pi | npm install -g @touchskyer/memex && pi install npm:@touchskyer/memex |
| Windsurf / others | npm install -g @touchskyer/memex, then add MCP server: command memex, args ["mcp"] |
That's it — no extra setup needed. The MCP tool descriptions tell your agent when to recall and retro.
| Platform | How |
|---|---|
| VS Code / Copilot | Extension auto-updates from marketplace |
| Claude Code | /plugin uninstall memex then /plugin install memex@memex |
| Pi | npm update -g @touchskyer/memex and re-copy pi-extension/index.ts |
| Cursor / Codex / Windsurf | npm update -g @touchskyer/memex |
All clients read and write the same ~/.memex/cards/ directory. Sync across devices with git:
Prerequisite: Auto-create requires GitHub CLI (
gh auth login). Or pass your own git remote URL to skip this, including GitLab and self-hosted GitLab remotes.
memex sync --init # auto-creates private memex-cards repo on GitHub
memex sync --init <repo-url> # or specify your own repo URL (no gh/glab CLI needed)
memex sync on # enable auto-sync after every write
memex sync # manual sync
memex sync off # disable auto-sync
For GitLab, create an empty private repository first, then pass its SSH or HTTPS remote URL. See the GitLab sync guide for examples.
memex serve
Opens a visual timeline of all your cards at localhost:3939. Includes a graph view to explore bidirectional links.
If you've set up sync, memex serve opens memra.vercel.app — a web UI with Timeline, Graph view, and Share card. Pass --local to force the local UI instead (useful offline, or when you'd rather not send queries to a third-party web app):
memex serve --local

memex search [query] # search cards, or list all
memex read <slug> # read a card
memex write <slug> # write a card (stdin)
memex links [slug] # link graph stats
memex archive <slug> # archive a card
memex serve # visual timeline UI
memex sync # sync via git
memex mcp # start MCP server (stdio)
npx claudepluginhub iamtouchskyer/memex --plugin memexSync AI conversations to an Obsidian knowledge base with Memory Mason knowledge base skills.
Persistent semantic memory for Claude Code — auto-injects relevant context at session start, captures git commits, test results, and research via hooks, and provides 30+ MCP tools for memory management.
Persistent memory for AI coding agents. Survives across sessions and compactions.
Persistent memory for Claude Code — memories survive across sessions, projects, and machines
Personal AI Infrastructure — persistent memory, session continuity, and knowledge graph for Claude Code
The bridge between Claude's working memory and Basic Memory's durable knowledge graph — session briefings, pre-compaction checkpoints, and capture reflexes