Agents In Use
What’s new todayLast update
— use cases added today

Claude Code connects excerpts across 100 books

Pieter Maes gave Claude Code a topic-indexed library of 100 books and CLI browsing tools. It proposed themes, assembled connected excerpts and revised existing reading trails.

FROM THE SOURCE

Original prompt

Shared by the source author. See source notes for context.

find something interesting.

Evidence at a glance

Sourced account
Source author
Pieter Maes
Original account
Read the source ↗
Published
4 Jan 2026
Source link checked
15 Oct 2026
Reported result
Maes published connected reading trails across 100 books and reports that Claude revised existing trails when he requested shorter excerpts.
Human involvement
Maes built the corpus and CLI interface, judged useful connections and set preferences; automated topic grouping and associations could be odd.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. Index book passages with topics, embeddings and a topic tree.
  2. Give Claude Code CLI tools to search passages and browse related topics.
  3. Let the agent propose novel themes and assemble ordered excerpt trails.

Pieter Maes wanted an agent to help him read across books rather than reduce them to summaries. He indexed 100 nonfiction books in SQLite, using topic extraction, embeddings and a hierarchical topic tree. Claude Code received command-line tools for exploring those topics and retrieving relevant passages.

The agent worked in stages. It scanned the library and existing trails, proposed unexplored ideas, then followed a chosen theme through many text chunks. It selected and ordered excerpts before adding highlights and connections between consecutive passages. Maes published the resulting trails, including one connecting Steve Jobs, Theranos, startup cultures and mass movements.

Maes had first built a pipeline of discrete model calls, but found that letting Claude choose its own tool sequence produced more interesting results with less orchestration. When he changed his preference for excerpt length, the agent revised existing trails while preserving their meaning. It also suggested missing tool functions, which helped him improve the browsing interface.

The quality of a connection remained a human judgment. Maes notes that topic groups could be strange and that Claude gravitated toward secrecy and hidden systems. The reported roughly £10 covered preprocessing the book collection, not the total cost of every agent run. Published trails demonstrate the artifact; they do not establish that all suggested connections are useful or faithful interpretations.

Prompt
Original prompt

Source: Blog · Pieter Maes

Frequently asked questions

What did the agent produce?

It assembled reading trails made of ordered book excerpts, with highlights and links between related passages.

How did Claude access the books?

Custom CLI tools searched a topic-indexed SQLite library and let the agent browse sibling and co-occurring topics.

Was £10 the whole agent cost?

No. The author associates that approximate cost with preprocessing 100 books using Gemini topic extraction, not all subsequent Claude work.

More details

Remaining steps

  1. Review the connections and ask the agent to revise trails when editorial preferences change.

About this account

Claude chose browsing tools and passages, developed themes, ordered excerpts and revised existing trails from a changed editorial goal.

Firsthand source opened over HTTP and read on 2026-10-15. Publication date comes from the source page. Outcomes are author-reported and were not independently reproduced. Firsthand blog linked by author in HN thread; visible January 4 date verified; usefulness and faithfulness of connections require human judgment. Original prompt box contains a short excerpt of the author's published instructions.

Credit: Pieter Maes

Source published 4 Jan 2026

Source checked 15 Oct 2026

Tools and topics

Claude Code · SQLite · sqlite-vec · Custom CLI tools · Gemini 2.5 Flash Lite

Book exploration · Connected excerpts · Research tools

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.