HeadlinesBriefing favicon HeadlinesBriefing.com

l3a0/claude-plugins: Kindle Highlight Recovery

Hacker News •
×

A personal collection of Claude Code skills, published as a single plugin under the l3a0 namespace. This repo functions as both the plugin and its own marketplace. Skills are invoked via /l3a0:<skill-name>, with auto-invocation when requests match descriptions.

The 'kindle-highlights' skill addresses Amazon's export limits by extracting verbatim highlights from the Kindle notebook into a Markdown file. It recovers text truncated or hidden by undocumented caps, using synced annotation positions from the Mac Kindle app and Cloud Reader pages. Proven on four books, it extracted 2,432 highlights, recovering all 815 export-blocked ones with high precision.

This tool is mac OS-only, relying on Apple Script for browser control, Apple Vision for OCR, and local data files. It requires Claude Desktop with the "Control Chrome" extension to execute JavaScript in a logged-in Google Chrome session. The Mac Kindle app (bundle id com.amazon. Lassen) must also be installed and signed in.

Prerequisites include Xcode Command Line Tools for compiling a Swift OCR helper and python3 for building the output. The process scrapes DOM data, reads SQLite databases for exact positions, and uses canvas captures for blocked text, emitting a QA-passed Markdown file.