Sponsor Suno AI Music arrow_forward
Plugin

Memex

Zettelkasten-based agent memory system with bidirectional links

Type
Plugin
Repository
iamtouchskyer/memex
GitHub stars
142
License
MIT
Repo last updated
Sep 8, 2026
Version
0.4.1

What Memex is

Memex is a plugin published in the iamtouchskyer/memex repository on GitHub, which has about 142 stars. The repository describes itself as: “Zettelkasten-based persistent memory for AI coding agents. Works with Claude Code, Cursor, VS Code Copilot, Codex, Windsurf & any MCP client. No vector DB — just markdown + git sync.”

A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.

Installing Memex adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.

How to install Memex

Claude Code

  1. Add the repository as a plugin marketplace: claude plugin marketplace add iamtouchskyer/memex
  2. Install the plugin: claude plugin install memex@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
  3. Restart the session if the new skills or commands don't appear straight away.

Claude Cowork

  1. Open Customize → Plugins and choose Add marketplace.
  2. Enter iamtouchskyer/memex (the owner/repo shorthand works for GitHub).
  3. Find Memex in the list, click Install, then connect any connectors it needs from its Connectors tab.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from .claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.

Persistent memory for AI coding agents. Your agent remembers what it learned across sessions.

English | 中文 | 日本語 | 한국어 | Español

English

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.

Supported platforms

All platforms share the same ~/.memex/cards/ directory. A card written in Claude Code is instantly available in Cursor, Codex, or any other client.

Prerequisites

  • VS Code / Copilot: No prerequisites — the extension bundles everything
  • Claude Code: No prerequisites — the plugin handles everything
  • Pi: Requires Node.js 18+ and npm install -g @touchskyer/memex
  • All other platforms (Cursor, Codex, Windsurf, etc.): Requires Node.js 18+

Install

Step 1: Add memex to your editor

> Note: If you use Claude Code inside VS Code, follow the Claude Code row — not "VS Code / Copilot". The VS Code extension serves GitHub Copilot only; Claude Code has its own plugin system.

That's it — no extra setup needed. The MCP tool descriptions tell your agent when to recall and retro.

Upgrade

Cross-platform sharing

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.

Browse your memory

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

CLI reference

memex search [query]          # search cards (ranked), or guidance / --list
memex read <slug>             # read a card
memex write <slug>            # write a card (content via stdin)
memex links [slug]            # link graph stats, or one card's links
memex backlinks <slug>        # cards linking to <slug> via [[wiki-links]]
memex link <from> <to> <ctx>  # append an outbound [[wiki-link]] with context
memex archive <slug>          # move a card to the archive
memex organize                # analyze network: orphans, hubs, conflicts
memex serve                   # visual timeline UI (web)
memex sync                    # sync via git (--init / --status / on|off)
memex import [source]         # import memories from other tools (openclaw, ...)
memex mcp                     # start MCP server (stdio)
memex mcp-config              # configure MCP for Claude Code / other clients
memex doctor                  # check memex health and configuration
memex migrate                 # migrate configuration (e.g. --enable-nested)
memex flomo ...               # flomo integration: config / push / import

How it works

Based on Niklas Luhmann's Zettelkasten method — the system behind 70 books from 90,000 handwritten cards:

  • Atomic notes — one idea per card
  • Own words — forces understanding (the Feynman method)
  • Links in context — "this relates to [[X]] because..." not just tags
  • Keyword index — curated entry points to the card network

Cards are stored as markdown in ~/.memex/cards/. Open them in Obsidian, edit with vim, grep from terminal. Your memory is never locked in.

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Memex?

Memex is a plugin for Claude Code and Claude Cowork from the iamtouchskyer/memex repository on GitHub. Zettelkasten-based agent memory system with bidirectional links

How do I install Memex in Claude Code?

Add the repository as a plugin marketplace: claude plugin marketplace add iamtouchskyer/memex Install the plugin: claude plugin install memex@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.

Can I use Memex in Claude Cowork?

Open Customize → Plugins and choose Add marketplace. Enter iamtouchskyer/memex (the owner/repo shorthand works for GitHub). Find Memex in the list, click Install, then connect any connectors it needs from its Connectors tab.

Is Memex safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.