Open-source Claude Code plugin captures books and converts them to structured Markdown

What it does
book-capture is a Claude Code plugin that converts books into structured Markdown files. You open a book on your Mac, run a command, and it automatically processes the content through a multi-step pipeline.
Technical implementation
The tool captures book content using several methods:
- Screenshots every page automatically using macOS screencapture + CGWindowList via Swift
- Runs OCR with macOS Vision framework
- Pages that Vision can't read well (especially vertical Japanese text) get re-read by Claude Code agents via multimodal image reading
- Analyzes the full text and generates structured Markdown files organized by theme — not by chapter order
Output format
The plugin creates multiple topic files (500+ lines each) containing:
- Tables
- Blockquotes
- Cross-references
- A hub file with wikilinks
The output is standard Markdown, built for Obsidian but compatible with any Markdown editor.
Key implementation details
- No external API keys — all AI work runs through Claude Code agents
- Theme count scales with book size (4-6 for a short book, up to 25 for 500+ pages)
- Parallel agents generate topic files simultaneously
- End-of-book detection via perceptual image hashing (3 consecutive identical pages = done)
- Supports Mac Kindle, Apple Books, Kindle Cloud Reader (Playwright), and scanned PDFs (Poppler)
Requirements and setup
The tool requires macOS. The OCR uses a Swift CLI that compiles on first run. The source is available on GitHub at https://github.com/masterleopold/book-capture.
📖 Read the full source: r/ClaudeAI
👀 See Also

Developer Builds MCP Server for Claude WhatsApp Integration, Shares Challenges
A developer built an MCP server to give Claude access to real WhatsApp conversations, discovering that conversation context management was trickier than expected and required a database to track conversations.

Open-source 31-agent product development system for Claude with 12,000+ lines of content
An open-source Claude Skill provides 31 specialized AI agents and 20 strategic frameworks covering all company departments from product to compliance. The MIT-licensed system includes 62 files with 12,000+ lines of actionable content, country-specific compliance for multiple regions, and a smart-loading system that routes requests efficiently.

Chat Saver CG: Browser Extension Built with Claude Exports Conversations Across 12 AI Platforms
A developer built Chat Saver CG, a browser extension that exports and transfers conversations between Claude, ChatGPT, Gemini, and 9 other AI platforms, using Claude extensively for development including architecture decisions, debugging DOM parsing issues, and writing adapter logic.

mcp-optimizer reduces token waste from idle MCP servers in Claude Code
mcp-optimizer is a plugin that addresses token waste from MCP servers in Claude Code by analyzing tool usage and generating optimized configurations. It includes four utilities: mcp-doctor for server health checks, mcp-audit for usage analysis, mcp-optimize for creating project-local configs, and mcp-to-skills for converting tools to on-demand Skills.