# Book to Course

> Turns a book or document into an interactive browser course, with lessons, quizzes, flashcards and coding exercises checked by tests.

Book to Course is an open-source skill pack by Sebastian Haba. Give your agent a book or document (EPUB, PDF, HTML, DOCX, Markdown or plain text) and it builds a beginner-friendly interactive course you run locally in a browser.

What you can do with it
- Turn a book into short lessons with step-by-step explanations, worked examples, diagrams and animated walkthroughs
- Practise with quizzes that have hints and explanations, chapter tests and flashcards
- Learn to code with exercises that come with starter code and unit tests: write the code in your editor and run the tests from the course page
- Choose the course language and scope, and carry on an existing course chapter by chapter
- Package a finished course as an offline Android app with course-to-apk

How it works
- The skill extracts the book, plans lessons by chapter and writes them into a fixed, tested course player
- For coding exercises it checks that the tests fail on the starter code and pass on a reference solution before packaging the course
- Open the course with start.sh or start.bat; a small local Python server saves progress to a file and runs exercise tests on your computer
- Formulas written in LaTeX render in lessons, tables, quizzes and flashcards

Good to know
- Running a course needs Python 3; coding exercises also need that language's tools, such as Go for a Go course
- The Android build needs JDK 17+ and the Android SDK build-tools; the skill checks for them first and downloads what's missing only with your consent
- Installed as a Claude Code plugin from the maker's own marketplace, it also includes course-to-appimage, which packages a course as a Linux desktop app
- MIT licensed

- Type: Skill
- Made by: sebastianhaba
- Category: Education
- Formats: Skills, Claude plugins
- Version: latest
- Website: https://github.com/sebastianhaba/book-to-course-skill
- Source: https://github.com/sebastianhaba/book-to-course-skill
- Page: https://pluginboard.ai/skills/book-to-course

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the book-to-course-skill folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Claude

In Claude (web or desktop): Download each skill’s folder and zip it, then upload them one at a time in Customize → Skills.

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Gemini

In Gemini: Download the book-to-course-skill folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### GitHub Copilot

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.copilot/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.copilot/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Cursor

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.cursor/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.cursor/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Claude Code

In Claude Code, as a plugin:

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

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.claude/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.claude/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Codex

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.agents/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.agents/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Antigravity

In Antigravity: Copy the book-to-course-skill folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Gemini CLI

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.gemini/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.gemini/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Replit

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course .agents/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk .agents/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### OpenClaw

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.openclaw/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.openclaw/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### OpenCode

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.config/opencode/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.config/opencode/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

### Hermes Agent

Copy all 2 skills, in your terminal:

```shell
npx -y degit sebastianhaba/book-to-course-skill/book-to-course ~/.hermes/skills/book-to-course
npx -y degit sebastianhaba/book-to-course-skill/course-to-apk ~/.hermes/skills/course-to-apk
```

View the skills on GitHub: https://github.com/sebastianhaba/book-to-course-skill

---
From Pluginboard (https://pluginboard.ai).
