book-to-skillGitHub
SKILL.mdREADMEReleasesPerformanceSecurity

Performance & Cost

Measured savings, not estimates

Token counts use tiktoken. Discovery figures come from tools/discovery_tax.py. A full skill costs roughly $1 once, far less than rereading the PDF into context every session.

View source on GitHub

Extraction on real books

BookFormatPagesTokensChapters
Think Python 2PDF244119K19
Working BackwardsPDF371175K10
Pro GitPDF501229Kn/a †
Moby-DickEPUBn/a301K133

† Pro Git uses section titles rather than Chapter N, so it does not auto-segment. Extraction still works.

Technical vs text heavy PDF

On a 103-page technical PDF:

MethodTimeTablesCode blocks
pdftotext0.1s00
Docling (technical)164s4836

Pick text mode for prose. Use technical mode when you need tables and code preserved as markdown.

The Discovery Loop Tax

Tokens entering context to answer one targeted question. book-to-skill loads a resident core (~4K) plus one compiled chapter (~1K) ≈ 5,000 tokens.

BookContext dumpDiscovery loopbook-to-skillvs dump / loop
Think Python 2119,26412,152~5,00024× / 2.4×
Working Backwards175,25333,444~5,00035× / 6.7×
AI Engineering256,28777,866~5,00051× / 15.6×

The context dump advantage (24x to 51x) recurs on every conversation turn. The discovery loop advantage scales with chapter size.

Generation cost

One pass full conversion estimated on Claude Sonnet 4.5 ($3 / $15 per MTok input/output):

BookInputOutput~Cost
Think Python 2155K28K$0.88
Working Backwards228K19K$0.96
Pro Git298K23K$1.23
Moby-Dick391K17K$1.42

Roughly $1 per book for a full skill, paid once.

See how conversion works

SKILL.md covers formats, modes, and the files each conversion produces.

Open SKILL.md