textbook-to-md

Solid

Convert PDF/EPUB textbooks to searchable markdown files for an AI agent's own reference. Use this skill whenever: (1) the user asks to convert a textbook/PDF chapter to markdown, (2) you need to search textbook content and no markdown version exists yet, (3) batch-converting a set of reference books into a knowledge base. This is a 0-token local conversion — no vision model needed.

Data & Documents 101 stars 24 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
67
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Textbook-to-Markdown Converter > This skill calls scripts in your clone of the textbook-to-note repo. At > install time, replace `{REPO}` below with the absolute path of the clone. ## Purpose Convert PDF or EPUB textbooks into **searchable markdown** that the agent can grep/read directly, eliminating the need for PDF-library extraction at every query. Output lives outside the note vault, at the path configured by `OUTPUT_DIR` in `shared/config.py` (default `./output/`), and is for the agent's consumption, not for the user's reading. > **Figures are on-demand, not pre-extracted.** This skill produces markdown > text only. Figures are extracted one at a time *when a note needs them*, > via the `figure-remap` skill's entrypoint (QC-gated). Do not batch-extract > a whole book's figures into a `figures/` folder — that approach does not > scale and is unnecessary since the on-demand path already handles it. A > legacy `figures/` folder may exist for books converted before this design; > new conversions are markdown-only. ## When to use - User explicitly asks to convert a textbook or chapter - You need to search textbook content and want to avoid per-query PDF re-parsing overhead - Building up a knowledge base from a personal library of reference books - Before starting work on a new topic, convert the relevant chapters first ## Quick reference ```bash # Single file python {REPO}/converter/convert.py "path/to/chapter.pdf" # Single file with custom output and label pyth...

Details

Author
drpwchen
Repository
drpwchen/textbook-to-note
Created
1 months ago
Last Updated
2 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through an agent, apply an author's frameworks while working, or build a reusable knowledge base from a file.

3 Updated 3 weeks ago
JZKK720
Data & Documents Featured

book-to-skill

Converts books, documentation folders, and source collections (PDF, EPUB, DOCX, HTML, Markdown, RST, AsciiDoc, RTF, MOBI/AZW) into structured agent skills — extracting named frameworks, principles, techniques, and anti-patterns into a master SKILL.md plus on-demand chapter files, a glossary, a patterns file, and a decision cheatsheet. Use when the user wants to study a document with an agent, apply an author's frameworks while working, turn internal docs or standards into a reusable knowledge base, or package a compiled book skill as a claude-skills plugin.

25,834 Updated 1 weeks ago
alirezarezvani
AI & Automation Listed

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through GitHub Copilot CLI, Amp, or Claude Code, apply an author's frameworks while working, or build a reusable knowledge base from a file.

143 Updated yesterday
dmae97