01 /  Knowledge layer for agents

Give your agent a memory.

Books become queryable skills. Answers stay sourced, token bills stay small.

Python 3.9+ License MIT Hosts 7 agent CLIs

Skill pass

OriginScattered docs

DestinationMaster skill

$ atom ./my-book.pdf
chapters detected 14, atomic notes 118
taxonomy 26 branches, graph 124 edges
skill written ~/.agents/skills/my-book/
 
$ atom query --master robotics replication
71 tokens via taxonomy, top note replication/ch03.md
answer sourced, 2 sources, 1 contested view kept
 
$ python3 scripts/extract.py --check
pdf: pdftotext ok, ocr: tesseract ok
vietnamese character error 0.3%
$
Terminal - live loop
Feed it documents, query it on demand Built for projects, not casual readers

One pipeline, six structures.

02 /  What ATOM builds

03 /  In the beginning

There is a problem with re-reading today.

Every turn, the agent re-reads the PDF, re-finds the chapter, re-pays the token bill, and still guesses when the answer is not in front of it. Your agent does not have a reading problem. It has a memory problem.

First attemptThe flat pile

A pile of notes was not a brain.

Search the PDF and you get a list of pages, not answers. Ask about the book and the agent answers from vibes. Take notes as you read and you end up with a 200-line doc nobody opens again.

ATOMThe master skill

Structure once. Query forever.

ATOM pays the structuring cost once, at conversion. Every question after that costs only the answer, not the book. The book becomes part of your workflow, and part of your project’s brain.

Master skill: roboticsCompact
Concepts118
Graph edges124
Lookup, taxonomy71 tokens
Lookup, flat scan2,201 tokens
Storage34,462 tokens / 171 KB
Sample questions answered5 / 5

04 /  How it works

Three moves. One pass.

01

Extract

Point it at a file, folder, or glob. The deterministic extractor pulls clean text and metadata, picks the right tool for the book, and OCRs the scans that have no text layer at all.

Formats PDF, EPUB, DOCX, MD, HTML, RTF, MOBI

02

Distill

The generator turns the text into atomic notes and builds the skill: frameworks, decision rules, anti-patterns, per-chapter files. Structure, not a summary. Conflicts stay contested.

Built notes, taxonomy, typed graph, facets, registry

03

Query

Your agent loads the skill on demand and answers from the real content. One field, one master skill. A bound view answers from one exact document and nothing else.

Ask /my-book replication, routed in 71 tokens

05 /  Token math

What it actually saves you.

Measured on a real 118-concept master skill, not borrowed. Multiply by questions, by turns, by users. A project that asks a thousand questions does not pay a thousand book-readings. It pays a thousand lookups.

Every time you
Without ATOM
With ATOM
Route to the right noteTaxonomy index against a flat scan
2,201 tokens scanned flat
71 tokens, 31x less
Answer a question in a session, all inIndex load plus top-5 note bodies, 22 questions
266,000 tokens, re-billed every turn
1,506 tokens amortized
Store the masterCompact format, quality identical
88,901 tokens / 702 KB
34,462 tokens / 171 KB
Rank candidate notesSame master, same questions
14.4 ms
1.0 ms

100 questions

220,100tokens, flat scan
7,100tokens, ATOM lookup

The honest floor. Below roughly 5,000 tokens, about 10 A4 pages, dumping the document is still cheaper. ATOM earns its keep on everything longer, and the longer the document, the bigger the win.

06 /  Experience the trilogy

Three parts. One brain.

Part 01

The converter

Point it at a file, folder, or glob. Flexible chapter detection splits the book, and the generator distills structure, not a summary: frameworks, decision rules, anti-patterns, per-chapter files.

How it works
Part 02

The master skill

Many sources, one field. Atomic notes, taxonomy, typed graph, facets, and a registry build a single queryable brain. Fold new material in as it lands, without rebuilding from scratch.

Master skills
Part 03

The knowledge layer

Built for projects, not casual readers. The layer other agents and assistants plug into: feed it regulations, procedures, and domain docs, then query it on demand. Bound views answer from one exact document.

For assistants

07 /  Install

One command. Any host.

One skill, read by every host that supports the open Agent Skills standard. No account, no upload. Extraction runs locally.

Works with Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode, OpenClaw
Needs Python 3.9+ for the extractor. Plain text needs no extra tools

Install the skill

# any host, via the skills CLI
npx skills add jcarus-vn/ATOM

Convert your first book

$ /atom ./my-book.pdf
# then ask: /my-book replication

Check your extractors

python3 scripts/extract.py --check