By Skyfox-io
Organize persistent knowledge workspaces for Claude Cowork with tiered context loading (active/archived), cross-workspace search, session automation (open/close/checkpoint), and wikilink management including drift detection, health audits, and shell hooks for initialization and cleanup.
Add a new domain folder with a hub index and wire it into _MANIFEST.md. Use when the user says "add a domain", "create a marketing/product/research folder", or runs /memex:add-domain. Also use when scan suggests an obvious new cluster of files the user wants split out of an existing domain.
Move a file from active (Tier 2) to archived (Tier 3) so Memex stops loading it automatically. Use when a project wraps, a reference goes stale, a file is superseded by a newer version, or the user says "archive X", "retire X", "stop loading X", or runs /memex:archive. The file stays on disk; only its manifest tier and hub status change.
Sweep the workspace for drift -- duplicate files, unannotated decision supersessions, orphans, and bloated decisions logs -- on a separate cadence from session-end. Use after a multi-agent push, before a milestone, daily on heavily-used workspaces, when /memex:lint flags long-standing drift, or when the user says "clean up", "consolidate", or "find duplicates". Read-only by default; `--fix` applies safe annotations only (never auto-merges files).
Trigger when the user's question spans multiple Memex workspaces and they don't know which one holds the answer; e.g., "where did we land on the spring fundraising plan?" with separate nonprofit and personal workspaces, or "have I written about X anywhere?". Also use when the user explicitly asks to search across linked sources. Reads only manifests and closets, never inside individual files.
Quick-capture an idea to the scratch inbox. Use only when the user explicitly asks to capture an idea: phrases like "capture this", "add to ideas", "don't let me forget", "log this idea", "/memex:idea ...", or any direct request to save a side thought without breaking flow. Do NOT fire on every "we should eventually..." or "what if" aside in conversation; most asides are not capture-intent. Not for routed work (lives in domain hubs), decisions (lives in decisions.md), or claims about state (lives in closets `claims:` field on the relevant file).
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.
Structured memory for Claude Cowork. Pick up where you left off.
Persistent memory across Cowork sessions in pure markdown. The closets-format index matches full-content keyword search on retrieval recall at roughly 1/10th the size, with zero external dependencies. No database, no API keys, no embeddings backend.
Cowork sessions are stateless. You open a new session and Claude has no idea what you were doing yesterday. You spend the first 10 minutes re-explaining context. Decisions from three sessions ago? Gone.
Cowork Projects gives you persistent files, but files without a system is just a folder full of stuff. Claude doesn't know what to read, what's stale, or what matters right now.
Memex converts your workspace into a connected knowledge system with persistent memory, tiered context loading, full [[wikilink]] navigation, and cross-workspace federation. All in pure markdown with zero runtime dependencies.
[[wikilink]]. Your workspace builds into a connected graph over time. Open it in Obsidian to see how everything relates visually._MANIFEST.md plus per-hub _CLOSETS.md files (and memory/_CLOSETS.md for Tier 1) mean Claude knows what every file contains without opening any of them. Field-level retrieval (subjects, people, claims, decisions, dates, status) on questions about specific subjects, not just topics.supersedes, blocks, people, projects) builds a typed knowledge graph. Zero LLM calls; pure regex./memex:cross-search. Privacy-first: opt-in per source./memex:search greps the manifest plus every closets file, grouped by folder./memex:consolidate runs dedup, decisions contradictions, orphan check, and decisions compression independently from session-end, so a session timeout doesn't compound drift.Reproducible on LongMemEval-S (Wu et al., ICLR 2025). The closets-format index hits 90.1% Recall@5 with the closets:emax strategy, within 0.5pp of content:bm25 (the upper bound that indexes the entire raw session text) at roughly 1/10th the size. 500 questions, free, deterministic, runs in 3-5 minutes:
python benchmarks/longmemeval/run_bench.py --strategies closets:emax
See benchmarks/longmemeval/ for the harness, ablations, per-category breakdown, and the full retrieval-vs-QA-accuracy context.
Requires Claude Cowork. (Can also be adapted for Claude Code.)
Add the Memex marketplace. Either method works:
Skyfox-io/Memex and click Sync./plugin marketplace add Skyfox-io/Memex in any session.(Skyfox-io/Memex is GitHub shorthand for github.com/Skyfox-io/Memex.)
Install the plugin when prompted
Run /memex:init in your workspace
New workspace? Init asks what you're working on, then scaffolds everything in under 30 seconds.
Existing files? Init scans your workspace, shows you what it found, and wires everything into a manifest without moving files.
Already have a memory system? Init detects existing manifests and operates in compatible mode.
Start a new Cowork session. Claude briefs you automatically and asks what you're working on.
If you use Obsidian, open the same workspace folder as a vault. All the [[wikilinks]] light up in the graph view.
Each domain has a _CLOSETS.md file (and memory/_CLOSETS.md covers Tier 1) that enumerates every file's distinct subjects, named entities, claims, decisions, and dates. Sessions scan closets to pick which 0-2 files a question actually needs, without opening any of them.
Sample closets entry:
## [[campaign-plan]]
- subjects: spring fundraising, gala, donor outreach
- people: [[Mike]], [[Jasmine]]
- claims: "raised $42K so far"
- decisions: switched from HubSpot to Anchor on 2026-03-18
- dates: 2026-04-15 (gala)
- status: active
npx claudepluginhub skyfox-io/memex --plugin memexPersistent knowledge workspace for Claude Code — structured files, versioning, search, and knowledge graph across sessions
Long-term memory for Claude Code powered by Memex. Provides persistent knowledge capture, retrieval, and memory-augmented workflows across all projects.
Extended Second Brain that learns as you work in Claude Code
Bidirectional knowledge flow between Claude Code and Obsidian — 20 MCP tools, skills, and hooks for PKM
Persistent Obsidian-based memory for coding agents. Automatically orients from a knowledge vault at session start, navigates project architecture via graph traversal, and writes discoveries back to the vault.
Self-improving learning loop across Claude sessions — retrieval, capture, consolidation, and cross-project transfer