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

✍️ OpenClawRadar📅 Published: March 28, 2026🔗 Source
Open-source Claude Code plugin captures books and converts them to structured Markdown
Ad

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.

Ad

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

Ad

👀 See Also

KV Cache Reuse for Long Conversations on Apple Silicon Delivers 200x Speedup
Tools

KV Cache Reuse for Long Conversations on Apple Silicon Delivers 200x Speedup

A developer implemented session-based KV cache reuse for local LLM inference using Apple's MLX framework, achieving a 200x improvement in time-to-first-token at 100K context length. The approach keeps the KV cache in memory across conversation turns, processing only new tokens.

OpenClawRadar
singularity-claude: A Self-Evolving Skill Engine for Claude Code
Tools

singularity-claude: A Self-Evolving Skill Engine for Claude Code

singularity-claude is an open-source Claude Code plugin that adds a recursive evolution loop to prevent skill rot. It scores skill executions, auto-repairs low-scoring skills, crystallizes high-performing versions, and detects capability gaps.

OpenClawRadar
Open-Source Claude IDE Bridge Connects Dispatch, Desktop App, and Claude Code
Tools

Open-Source Claude IDE Bridge Connects Dispatch, Desktop App, and Claude Code

The claude-ide-bridge is an MIT-licensed open-source tool that connects Claude Code to your IDE, providing access to LSP, debugger, terminals, git, and GitHub through 124 tools. It enables a workflow where tasks sent via Dispatch from a phone are handled by the Claude desktop app, which uses Claude Code to write code and run tests while interacting with the IDE.

OpenClawRadar
Claude Compact Guard Plugin Uses New PostCompact Hook to Preserve Context
Tools

Claude Compact Guard Plugin Uses New PostCompact Hook to Preserve Context

A developer has released claude-compact-guard, a plugin that automatically saves critical context before Claude's /compact command destroys it, then reinjects everything after. It uses Anthropic's new PostCompact hook released 4 days ago.

OpenClawRadar