books-to-course

books-to-course is a skill for Claude Code, Codex from ChampionGPT/readpilot. It costs 80 tokens per session (1,042 once invoked), scanned A, original, MIT.

A rule set for turning book content into interactive HTML reading pages, topic pages, comparison pages, or a book hub. It applies only when someone explicitly asks for a page to be created or updated.

In plain words
What is it for?
Use it to generate or update companion pages and the book hub, while following the book's progress file, indexes, templates, design rules, and page-specific source material.
Why use it?
It prevents ordinary explanations, summaries, notes, or questions from triggering page generation. It also limits reading and processing to the material needed for the requested page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate or update companion pages and the book hub, while following the book's progress file, indexes, templates, design rules, and page-specific source material.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/championgpt/readpilot/books-to-course
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChampionGPT/readpilot --skill books-to-course
Clone the repo
git clone --depth 1 https://github.com/ChampionGPT/readpilot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for books-to-course

README.md
[![agentmods](https://agentmods.dev/badge/skills/championgpt/readpilot/books-to-course/github.svg)](https://agentmods.dev/skills/championgpt/readpilot/books-to-course)
Your own site
<a href="https://agentmods.dev/skills/championgpt/readpilot/books-to-course"><img src="https://agentmods.dev/badge/skills/championgpt/readpilot/books-to-course/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for books-to-course

Your own site · 80×15
<a href="https://agentmods.dev/skills/championgpt/readpilot/books-to-course"><img src="https://agentmods.dev/badge/skills/championgpt/readpilot/books-to-course.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.01042
Opus 5 $0.00040 $0.00521
Sonnet 5 $0.00016 $0.00208
Haiku 4.5 $0.00008 $0.00104

Measured 11d ago against content hash 8b0e0c611f08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

books-to-course scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/books-to-course/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Books To Course

把用户明确提出的“页面生成”请求,转化为一个聚焦的 ReadPilot 伴读页面。

触发边界

默认只在聊天中回答,除非用户清晰要求生成或更新页面。

不要为以下请求生成页面:

  • “帮我理解这一章”
  • “总结这一节”
  • “这个概念是什么意思?”
  • “给我几道题”
  • “我读完第 X 章了”

只有类似以下请求才生成或更新页面:

  • “为第 X 章生成一个伴读页”
  • “把这个概念做成一个深挖页”
  • “创建一个比较 X 和 Y 的主题页”
  • “更新 Hub / progress.json”
  • “把这一节做成交互式 HTML 页面”

数据契约

在单本书目录内工作:

data/books/<book-slug>/
  progress.json
  source.jsonl
  companion/
    book-profile.md
    chapter-index.md
    topic-index.md
  pages/

写入之前,先读取 progress.json 和相关的 companion/*.md 文件。只读取目标章节或相关的 source.jsonl 片段;除非用户明确要求重建整本书画像,否则不要重新处理全书。

配套 references

本 skill 和 references 必须一起安装。安装包内路径为:

books-to-course/
  SKILL.md
  references/

使用这些文件:

  • references/companion-methodology.md:页面类型、生成方法和边界。
  • references/design.md:视觉方向。
  • references/design-system.md:CSS token、排版和基础组件。
  • references/hub-template.md:Hub 页面模板。
  • references/interactive-elements.md:可复用交互组件。
  • references/progress-schema.mdprogress.json 字段约束。

在源码仓库和安装包中,同一批 reference 文件都放在本 skill 的 references/ 目录内。

工作流

  1. 判断请求类型:overviewdeepdivethemesynthesishub-update
  2. 读取当前书籍的 progress.json
  3. 读取相关 companion 索引。
  4. 只读取生成该页面所需的原文材料。
  5. pages/ 下生成一个自包含 HTML 页面。
  6. progress.json 中新增或更新对应页面记录。
  7. 如需 Hub 入口,同步更新 index.html
  8. 向用户报告变更文件和下一步建议阅读动作。

页面规则

  • 每次请求只创建一个页面。
  • 原文引用要短,并保持精确。
  • 优先使用结构化拆解、图表、对照、检查点和交互,不写长篇说明。
  • 如果页面在讲解概念,加入一个小型掌握度检测。
  • 生成的伴读页不要使用 type: "chapter"
  • 章节聚焦型伴读页使用 type: "deepdive",并明确填写 relatedChapters
  • 跨章节主题页使用 type: "theme",并明确填写 relatedChapters
  • 全书入口页使用 type: "overview"type: "synthesis",并使用 relatedChapters: []
  • 不要复制大段受版权保护的书籍原文。

Progress 页面记录格式

{
  "id": "stable-page-id",
  "type": "deepdive",
  "title": "页面标题",
  "description": "一句话说明这个页面帮助读者完成什么",
  "file": "pages/page-file.html",
  "status": "new",
  "masteryScore": null,
  "createdAt": "2026-06-12T00:00:00.000Z",
  "completedAt": null,
  "relatedChapters": ["章节标题"]
}

chapter 是导入器生成的原文阅读页类型,不是伴读页类型。只有全书概览或综合页可以使用 relatedChapters: []

Read the full file on GitHub · 117 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 117 lines · 80 tokens per session scan A 8b0e0c611f08

Subscribe to this mod's changes

books-to-course is a skill published in the GitHub repository ChampionGPT/readpilot (11 stars, last pushed 1mo ago), licensed MIT. It adds 80 tokens to every session and 1,042 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sprite-animation

A pixel / sprite-style animated explainer slide — full-bleed cream stage, bold display year, animated pixel-art mascot (e.g. Hanafuda card, mushroom, or 8-bit console), kinetic Japanese display type, ticking timeline ribbon. Reads like a single frame of an educational motion video — looping CSS keyframes, no JS, ready…

nexu-io/open-design · 141 tokens

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

output-format

A format checker for structured medical learning outputs, such as guideline lessons, diagnosis learning, insurance summaries, and update reminders.

TencentCloud/Octop · 72 tokens

clinical-q-and-a

A fast path for answering general educational medical questions and correcting common misconceptions, with a light check against one current authoritative guideline or consensus.

TencentCloud/Octop · 71 tokens

guideline-section-expansion

A learning aid for expanding sections of medical guidelines or turning them into a study path. The source text is in Chinese, but the skill requires verified official documents before producing learning content.

TencentCloud/Octop · 82 tokens

guideline-learning-diagnosis

A study aid for learning a medical guideline or its diagnostic criteria. It helps assess what someone knows, find weak sections, and plan further study without diagnosing a real patient.

TencentCloud/Octop · 101 tokens