queelius

Book Memex — AI skill for Claude Code

AI community

Powerful eBook metadata management tool with SQLite backend, AI-powered enrichment, web interface, and comprehensive CLI.

How to install Book Memex

This entry records only its repository, not the path inside it, so there is no exact command to give. Open queelius/ebk and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Book Memex does

Powerful eBook metadata management tool with SQLite backend, AI-powered enrichment, web interface, and comprehensive CLI. Features full-text search, automatic metadata extraction, and LLM integration for intelligent tagging and categorization.

Alternatives in AI

  • Hermes Agent Orange Book — Hermes Agent 从入门到精通 · 橙皮书系列 · Nous Research 开源 AI Agent 框架实战指南 4.9k ★
  • Claude Code Book — 《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness 2.8k ★
  • Claude Code Orange Book — Claude Code: The Complete Guide · 橙皮书系列 · AI编程实战指南 308 ★

README

book-memex

Renamed from `ebk` (previous name). The `ebk` CLI entrypoint is still available as a deprecation shim and will be removed in the release after v1.

**book-memex** is an eBook library manager and the book-domain archive of the `*-memex` personal-data ecosystem. It stores book metadata, per-segment content, reading marginalia (highlights and notes), and reading sessions in a SQLAlchemy + SQLite database with FTS5 full-text search. It ships a Typer CLI, a fluent Python API, a FastAPI web server with a browser-based EPUB/PDF reader, an MCP server for LLM access, and exporters (arkiv JSONL, HTML, Hugo, OPDS, and more).

It is a thin domain archive by design: it stores and exposes books and reading data. It does **not** compute embeddings or run semantic search; that belongs to the `memex` federation layer (see `~/github/memex/CLAUDE.md`). The RAG-ready MCP surface (per-segment FTS5 search, URI resolution, SQL) is what the federation consumes.


Table of Contents


Features

  • SQLAlchemy + SQLite backend with a normalized schema and FTS5 full-text search.
  • Durable, URI-addressable records: book-memex://book/, book-memex://marginalia/, book-memex://reading/.
  • Soft delete across marginalia, reading sessions, and (schema-ready) other record kinds; hard delete is opt-in.
  • Text extraction and per-segment indexing: PyMuPDF (with pypdf fallback) for PDFs, ebooklib for EPUBs, plus plaintext. Segments are anchored (EPUB CFI, PDF page+bbox, plaintext byte offset) and searchable