Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By 0-to-1-Labsv2.0.0MITIn 1 marketplace
Context-aware documentation for Claude Code: a UserPromptSubmit hook that lexically retrieves and injects the most relevant doc sections (docs/ plus root *.md by default) under a token budget. Optional glossary pins; no keyword map required.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

A context-aware documentation system for Claude Code. When you ask a question, Memex searches your project's docs for the terms in your prompt and injects the best matching sections into the conversation.
Named after Vannevar Bush's 1945 concept of a "memory extender" - a device that stores and retrieves knowledge through associative trails.
Memex uses Claude Code hooks to:
docs/ and the *.md files at your project root; the densest matching sections are injected as contextDATABASE.md#schema selects that section/clear or compaction)docs/docs/working/ at session endMemex ships two ways. Both use the same hooks — pick whichever fits your workflow.
Install from a marketplace and let Claude Code manage updates:
/plugin marketplace add 0-to-1-Labs/claude-marketplace
/plugin install memex@0-to-1-labs
Then scaffold the docs structure in your project once:
/memex-init
The plugin registers the hooks automatically (no edits to your project's
settings.json).
Claude Code can update this plugin automatically. Auto-update is off by default for third-party marketplaces, so turn it on once:
/plugin.0-to-1-labs.Claude Code then checks for new versions after each session start and installs them. Restart Claude Code to load an update.
To update by hand:
claude plugin marketplace update 0-to-1-labs
claude plugin update memex@0-to-1-labs
Copies the hooks into your project's .claude/:
# Clone the repo
git clone https://github.com/0-to-1-Labs/memex.git
# Run the installer from your project root
cd your-project
/path/to/memex/install.sh
| Option | Description |
|---|---|
-f, --force | Skip confirmation prompts |
-w, --worktree PATH | Specify git worktree path for docs/ |
--no-migration | Skip automatic documentation migration |
.claude/hooks/ with all hook scripts.claude/settings.json with the hook configurationdocs/docs/working/ for temporary notes.md files, deduplicates by content hash, archives originals to docs/archive/ (hidden directories such as .claude/ and .github/, and build output, are skipped)Templates use variable substitution during installation:
| Variable | Replaced With |
|---|---|
{{PROJECT_NAME}} | Directory name of the project |
{{DATE}} | Installation date (YYYY-MM-DD) |
Hooks no longer need a
{{PROJECT_ROOT}}substitution — they resolve the project root at runtime via$CLAUDE_PROJECT_DIR, so the same scripts work whether installed by the script or loaded as a plugin.
When installing over existing files:
| File | Behavior |
|---|---|
CLAUDE.md | Appends memex section (idempotent, won't duplicate) |
GLOSSARY.md | Backs up to GLOSSARY.md.old, installs fresh template |
CONTRIBUTING.md | Backs up to CONTRIBUTING.md.old, installs fresh template |
| Hook scripts | Always overwritten with latest version |
settings.json | Backed up to settings.json.bak.<timestamp>, then merged (memex hooks added, other settings preserved). A file that is not valid JSON is left untouched and reported. |

The system has four hooks that run at different points:
memex@0-to-1-labs is listed by 0-to-1-labs/claude-marketplace — review the source before installing
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin memexBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground