Mnemon
Your personal library with an AI reader.
You save articles, papers, podcasts. Most rot unread. URLs die. Your "read later" list is a graveyard. And when you do read something — the insights stay in your head, never making it into your knowledge system.
Mnemon fixes this: capture any source → AI extracts what matters for you → originals archived forever → knowledge lives in your Obsidian vault, searchable, linkable, yours.
Library — originals preserved (PDFs, audio, page snapshots, transcripts). Models improve → re-extract from the original. URL goes offline → you have the copy.
Brain — AI-generated extracts framed by your reader context. Same article, different reader → different insights. Your context is your filter.
Everything stays in plain Markdown in your Obsidian vault. Not a SaaS, not a lock-in — your files on your disk.
Replaces: Readwise, Pocket, Instapaper, Safari Reading List, "save for later" bookmarks, manual note-taking from articles.
Principle: AI does filing, human does understanding. Extraction is mechanical; synthesis is not.
How it works
URL / file / text → mnemon add → knowledge-gateway.sh ─ acquire ──▶ Sources/<revision>/source.md (the captured text, byte for byte)
│ └ extract ─▶ Sources/<revision>/extract.md (validated model output)
~/.config/mnemon/ claude -p --restricted --tools "" … (no tools, structured fields only)
instances/<name>.yaml archive_dir/ (originals, optional)
reader-context.md ~/.local/state/mnemon/vaults/<id>/ (receipts, lock)
templates/core/
envelopes in a directory → mnemon ingest <dir> → the same gateway, one result record per envelope
- Dispatcher (
bin/mnemon) — the single entry point: mnemon add | ingest | search | status | init | doctor | fence-probe | …. The Claude Code skills, your shell and any automation all call it from the installed engine ($MNEMON_HOME).
- Gateway (
bin/knowledge-gateway.sh) — behind mnemon add: fetches the content itself through the capture layer (a direct fetch under one network policy → headless Chrome when the page needs rendering → an external fetcher only when the instance allows it; defuddle / pandoc / the DOM text, checked against the saved page; pdftotext for PDFs; yt-dlp / whisper for media), publishes source.md with that text byte for byte, then runs the fenced extractor — claude -p --restricted --tools "" --no-session-persistence --json-schema …, prompt on stdin, no tools — which returns structured fields that the gateway validates and publishes as extract.md. The model never writes a file. Every capture gets a receipt in the vault's ledger under ~/.local/state/mnemon/vaults/, and every write happens under the vault lock (one writer per vault). Contracts: docs/specs/2026-10-15-capture-contracts.md (persistence, the fence, the inbox) and docs/specs/2026-10-15-capture-layer.md (the capture layer); the operator's guide is docs/capture.md.
- Capture layer — what every URL capture gets:
- Completeness-checked capture — three converters are checked against the saved page;
capture.completeness: complete | partial | blocked | unknown says what the conversion kept and capture.acquisition what the fetch got (a diagnostic, never a gate).
- Site capture —
mnemon site map <url> writes a reviewable plan; mnemon add --url <landing> --site plan.json captures the included pages into one hashed bundle with a disposition per page.
- arXiv full text —
arxiv.org/abs|pdf|html/<id>[vN] is one paper: the pinned version's HTML (else PDF) with authors and dates, never the abstract page.
- YouTube in the video's language — captions chosen by the video's own language (manual before automatic,
en/ru after it), whisper last; transcript_language and original_language recorded.
- The browser lane for YouTube — when YouTube walls the engine's host,
mnemon browser-lane youtube <url>… acquires one caption track per video through yt-dlp and the reader's own browser cookies (outside the engine's fetch chain, one video at a time) and hands each bundle to mnemon add --media-bundle: the track is the retained raw, the text is checked against it (completeness), chapters become headings; the engine itself never touches a cookie.
- Chunked extraction — text above the inline limit is split at headings, extracted in parts and merged under one budget (
extract_max_usd).