anthril/claude-memex

3 stars · Last commit 2026-04-27

A Claude Code plugin that turns any project's docs into a persistent, compounding, LLM-maintained knowledge base — with hook-enforced discipline at tool-call time. Inspired by Andrej Karpathy's llm-wiki.md gist.

README preview

# claude-memex

> A documentation management system for Claude Code that turns any project's docs into a **persistent, compounding, LLM-maintained knowledge base** — and enforces that discipline at tool-call time through hooks.

**Status:** alpha — v0.1.0 in development. Not yet published.
**Licence:** [MIT](LICENSE)

---

## Inspired by

This project is directly inspired by Andrej Karpathy's [`llm-wiki.md`](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) (April 2026), which describes a pattern for **LLM-maintained personal wikis** — raw sources on one side, a compounding wiki of LLM-authored markdown on the other, with the LLM doing all the bookkeeping.

Memex takes that idea and turns it into a Claude Code plugin:

- The wiki pattern becomes a seedable project template (`/memex:init`)
- The discipline that keeps the wiki healthy becomes a layer of Claude Code hooks that **block** tool calls which violate the contract
- The name nods to [Vannevar Bush's Memex](https://en.wikipedia.org/wiki/Memex) — the 1945 vision of a personal, curated, cross-referenced knowledge store that Karpathy's gist also cites

Full attribution in [CREDITS.md](CREDITS.md).

View full repository on GitHub →