anthril/claude-memex

3 stars · Last commit 2026-05-09

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

# Memex by Anthril — Claude Code plugin

The Claude Code half of [Memex by Anthril](https://github.com/anthril/memex). Provides:

- **Slash commands** — `/memex:init`, `/memex:ingest`, `/memex:query`, `/memex:lint`, `/memex:log`, `/memex:graph`, `/memex:promote`, `/memex:open-q`, etc.
- **Skills** — `doc-query`, `doc-refactor`, `ingest-source`, `open-questions-triage`, `profile-builder`, `wiki-lint`.
- **Agents** — `memex-ingestor`, `memex-linter`, `memex-planner` for long-running operations in isolated worktrees.
- **Hooks** — SessionStart context injection, PreToolUse path/frontmatter guards, PostToolUse validation, Stop log appends.
- **Profile templates** — six built-in scaffolds (engineering-ops, research-wiki, research-project, book-companion, personal-journal, generic).

## Distribution

The plugin is vendored alongside the desktop installer. On first run the desktop's setup wizard offers to register it into `~/.claude/plugins/anthril/memex/<version>/` and patch `~/.claude/plugins.json`. You can also install it standalone by extracting `plugin.zip` from a GitHub Release.

## Relationship to the legacy `claude-memex` plugin

This plugin is the successor to the now-archived `anthril/claude-memex` plugin. The schemas, hooks, and profile templates round-trip cleanly so existing wikis open without migration. See [CREDITS.md](../../CREDITS.md) at the repo root for the prior-art trail.

## License

View full repository on GitHub →