Find connections across 100 books with Claude Code
A developer gave Claude Code their debug CLI tools to browse 100 non-fiction books, and published the trails of linked excerpts it found.
Try it yourself
What you get
Browsable trails of connected ideas across a library of books.
Tools
- Claude Code
- Gemini Flash Lite (topic indexing, per author)
- Embeddings
Steps
- Split the books into chunks and index them by topic.
- Organize the topics into a tree.
- Give Claude Code CLI tools to search the library, then let it explore and build trails.
Copy-ready prompt
You have CLI tools to search my book library by topic, embedding similarity and co-occurring topics. Explore and find 5 surprising connections between ideas in different books. For each one, give the chain of excerpts with book titles, and explain the link in two sentences.
Proof / source
Detailed write-up Author's Show HN post and the live site (trails.pieterma.es).
Read the original source ↗ Discussion ↗
Related
Dictate Claude Code prompts with local Whisper so text lands at the cursor
@_Julsgaard_ stopped typing Claude Code prompts. They hold Ctrl+Space, speak, and local Whisper on their Windows PC drops the text at the cursor. They open-sourced…
Discussion
Build a custom workout app for a partner with Claude Code and Cursor
@RubeBuilds's wife liked the Strong app but wanted different features plus routines pulled from Reddit. @RubeBuilds built their wife a workout app with Claude Code, plus…
Cancel Adobe and have Claude Code cut, caption and assemble a video in FilmCraft
@thorgeirgisli cancelled Adobe and asked AI to edit a whole video.
Get an AI second opinion on your MRI with Claude Code
A shoulder-pain patient gave the DICOM files from their MRI to Claude Code (Opus 4.8).