PluginInstalls cleanly

Turn a book into a course

book-to-course

Claude Code plugin that turns a book or long document (EPUB, PDF, DOCX, Markdown) into a local browser course with lessons, quizzes and flashcards.

Works with
Claude Code
Good for
Daily work and research

What it does

book-to-course is a Claude Code plugin that turns a book or long document into a small interactive course. The course runs in your web browser, on your own computer. It accepts EPUB, PDF, HTML, DOCX, Markdown and plain text files.

You attach a file and ask for a course. Claude extracts the text, plans lessons by chapter and builds a folder of local web pages. You can choose the course language and how much of the book to cover.

A course can include:

  • short lessons with worked examples, diagrams and animated walkthroughs
  • quizzes with hints, chapter tests and flashcards
  • progress tracking, so you can stop and continue later
  • for programming books, exercises with starter code and unit tests (small automatic checks of your code)

For exercises, you write the code in your own editor and press Run tests on the course page. Before it packages the course, the skill checks that the tests fail on the starter code and pass on a reference solution. Maths formulas written in LaTeX display correctly.

The plugin has 3 skills: book-to-course, course-to-apk, which packs a course as an offline Android app, and course-to-appimage, which packs it as a Linux desktop app. The course screens come in English, Polish and Portuguese.

Who it is for

Learners, teachers and trainers who have a long text and want to study it actively, not only read it. It is a good fit for programming books, because the exercises check your code.

Example prompts

  • "Turn this book into an interactive course."
  • "Make a 6-lesson beginner course from chapters 1 to 4 of this PDF, in Polish."
  • "Add flashcards and a chapter test to the course you made."
  • "Make an APK of this course for my tablet."

How to install

/plugin marketplace add sebastianhaba/book-to-course-skill
/plugin install book-to-course@book-to-course

How to use it

Attach a book file and ask: Turn this book into an interactive course.

Other assistants

The author documents Claude Code only. Codex CLI and Gemini CLI have no documented setup.

Check it works

  1. In Claude Code, type /plugin and check that book-to-course is installed.
  2. Check that Python 3 is on your computer:
python3 --version
  1. Attach a short document and ask Claude to turn it into a course. It must create a course folder with index.html, start.sh and start.bat.
  2. Start the course with start.sh (Mac or Linux) or start.bat (Windows). A small local server starts and opens the course.

To update the plugin later, run /plugin marketplace update book-to-course.

Common problems

  • Progress is not saved and Run tests does nothing — the course opens, but exercises do not run — you opened index.html directly. Lessons and quizzes work that way, but progress stays in the browser and tests must run in a terminal. Start the course with start.sh or start.bat instead.
  • A PDF does not convert — "Need pdftotext (poppler-utils) or the pypdf package to read PDFs." — install one of them, for example with pip install pypdf, then ask again.
  • Exercise tests fail to run — the exercise page says a program is missing — tests use the language's own tools, for example Go for a Go course. Install that language first.
  • The course stops in the middle of a long book — later chapters are missing — very long files do not fit in one session. Ask for one part or a few chapters at a time.
  • The Android app does not build — the skill reports missing tools — course-to-apk needs JDK 17 or newer and the Android SDK build-tools plus a platform package. The skill can download them into ~/.local/share/course-to-apk if you agree.

What to watch out for

  • Reads the whole book or document you give it
  • Writes a course folder with web pages and scripts to your computer
  • Optional phone and Linux app packaging downloads large extra tools (JDK, Android SDK, Electron)
  • Only share courses made from material you have the rights to
  • The Run tests button runs each exercise's test command on your computer

Licence and author

Licence
MIT
Author
sebastianhaba
Source code
github.com/sebastianhaba/book-to-course-skill

How we tested it

We installed it on an empty test computer on 13 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.

Test level

Not yet used on real work.

Technical details of the test
Date
13 Oct 2026
Method
Intake sandbox run on 2026-10-13 in a clean container with no account: cloned the repository and checked its skill, agent and plugin files; installed book-to-course@book-to-course with the Claude Code command line.

Checked again on 15 Oct 2026

Alternatives

  • markitdown-mcp: converts documents to text, but does not build a course.
  • save-to-spotify: turns material into audio episodes to listen to, not an interactive course.
  • knowledge-work-plugins: role-based work helpers, not study material.

FAQ

Does the course need the internet? No. It runs on your computer. The local server listens only on your own machine (127.0.0.1).

Does Run tests run code on my computer? Yes. The button runs the exercise's test command on your computer. Only use courses that you or someone you trust made.

Do the exercises work on a phone? No. The README says code exercises cannot run their tests on a phone. Lessons, quizzes, tests and flashcards work in the Android app, which needs Android 7.0 or newer.

How big is the Linux app? The README says the AppImage is about 115 MB plus the size of the course. The build downloads Electron once, about 115 MB.

Can I use any book? It reads common formats. Only share a course made from material that you have the rights to.

Does it cost anything? The plugin uses the MIT licence. Claude use counts against your Claude plan.

Sources

  • github.com/sebastianhaba/book-to-course-skill
  • raw.githubusercontent.com/sebastianhaba/book-to-course-skill/main/README.md
  • github.com/sebastianhaba/book-to-course-skill/blob/main/.claude-plugin/plugin.json
  • github.com/sebastianhaba/book-to-course-skill/blob/main/book-to-course/assets/template/serve.py