Agent skill

Book To Webpage

by crayon-ai in crayon-ai/book-to-webpage

把书(PDF/Markdown等)拆解成本地知识库,再据用户请求(全书概述/某主题/某章)生成可交互的HTML学习页。页面全程可点可探索。当用户想让一本书的某个主题以美观交互网页呈现、或做全书概览页时使用。

No licenceAuto-check passedDocuments & Office

Install Book To Webpage

skills CLI
$ npx skills add crayon-ai/book-to-webpage --skill book-to-webpage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install crayon-ai/book-to-webpage book-to-webpage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
book-to-webpage
GitHub stars
159
Token cost
~3k tokens
SKILL.md length
814 words
Files
51 (incl. scripts, assets)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

把书(PDF/Markdown等)拆解成本地知识库,再据用户请求(全书概述/某主题/某章)生成可交互的HTML学习页。页面全程可点可探索。当用户想让一本书的某个主题以美观交互网页呈现、或做全书概览页时使用。

  • Works in 12 steps: 0 校验输入 → 1 提取全文 → 2 成本预估并确认 → …
  • Tasks that involve PDF
  • SKILL.md covers 哲学, 两种运行入口, 文件结构 and 阶段 1:全书拆解(复制 book-to-skill…, plus 2 more sections
  • Calls python3 and node

What it does

Book To Webpage is an agent skill from crayon-ai/book-to-webpage. 把书(PDF/Markdown等)拆解成本地知识库,再据用户请求(全书概述/某主题/某章)生成可交互的HTML学习页。页面全程可点可探索。当用户想让一本书的某个主题以美观交互网页呈现、或做全书概览页时使用。

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 54 other files, including scripts and assets (for example `README.md` and `examples/theme-preview/README.md`).

It sits in Documents & Office, covering PDF.

When your agent uses it

  • Tasks that involve PDF

Example prompts

  • “/book-to-webpage”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. 0 校验输入
  2. 1 提取全文
  3. 2 成本预估并确认
  4. 3 分析结构(复制 book-to-skill Step 3)
  5. 4 REPL 式切片拆解
  6. 5 生成章节摘要(复制 book-to-skill Step 7 模板)
  7. 6 生成支撑文件(复制 book-to-skill Step 8 规范)
  8. 7 生成 INDEX.md(取代 book-to-skill 的 SKILL.md,不注册为 skill)
  9. 8 质量规则
  10. 1 判定请求模式(三选一)
  11. 1b 主题处理(无需用户选择)
  12. 2 主题聚合的两级检索(关键差异化)

What it can do on your machine

Read from SKILL.md and the folder at commit 070c5dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Book To Webpage loads about 3k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 814 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 814 words (~2,995 tokens).

name
book-to-webpage

Read the full SKILL.md on GitHub

Files

SKILL.md and 50 other files (scripts, assets) in the repository root of crayon-ai/book-to-webpage.

  • SKILL.md
  • .gitignore
  • README.md
  • assets/screenshots/all-themes-showcase.png
  • assets/screenshots/dark-theme.png
  • assets/screenshots/mobile-responsive.png
  • assets/screenshots/overview-mode.png
  • assets/screenshots/style-showcase-1.png
  • assets/screenshots/style-showcase-2.png
  • assets/screenshots/style-showcase-3.png
  • assets/screenshots/style-showcase-4.png
  • assets/screenshots/style-showcase-5.png
  • assets/screenshots/theme-deepdive.png
  • assets/screenshots/theme-minimal.png
  • assets/screenshots/theme-warm-paper.png
  • examples/theme-preview/README.md
  • examples/theme-preview/dark.html
  • … and 34 more

Open the folder on GitHubat commit 070c5dd

Compare with similar skills

Book To Webpage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Book To Webpage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Book To Webpage this skillcrayon-ai/book-to-webpage159—~3kAutomated safety check: PassNone
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill4k—~2.2kAutomated safety check: PassAGPL-3.0
GenOffice Document CLIgenspark-ai/genoffice9.2k—~19kAutomated safety check: PassApache-2.0
Harness Book Best Practicewquguru/harness-books3.2k—~4.1kAutomated safety check: PassNone
Bookforge Korean Ebook PDF Makergongnyang/bookforge3161 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    4k GitHub stars~2.2k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    9.2k GitHub stars~19k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Harness Book Best Practice

    wquguru/harness-books

    Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.

    3.2k GitHub stars~4.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    316 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed

Questions about Book To Webpage

What does Book To Webpage do?

把书(PDF/Markdown等)拆解成本地知识库,再据用户请求(全书概述/某主题/某章)生成可交互的HTML学习页。页面全程可点可探索。当用户想让一本书的某个主题以美观交互网页呈现、或做全书概览页时使用。. Book To Webpage is an agent skill from crayon-ai/book-to-webpage.

When should I use Book To Webpage?

Book To Webpage fits situations like: tasks that involve PDF.

How do I install Book To Webpage in Claude Code?

Run `npx skills add crayon-ai/book-to-webpage --skill book-to-webpage -a claude-code`. Or copy the skill folder (the crayon-ai/book-to-webpage repository) into .claude/skills/book-to-webpage in your project. Claude Code loads it when a task matches its description.

How do I install Book To Webpage in Codex?

Run `npx skills add crayon-ai/book-to-webpage --skill book-to-webpage -a codex`. Or copy the skill folder (the crayon-ai/book-to-webpage repository) into .agents/skills/book-to-webpage in your project. Codex loads it when a task matches its description.

Can I use Book To Webpage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add crayon-ai/book-to-webpage --skill book-to-webpage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/book-to-webpage, .gemini/skills/book-to-webpage, .github/skills/book-to-webpage and .opencode/skills/book-to-webpage in your project.

What does Book To Webpage need to run?

Going by SKILL.md and its folder, Book To Webpage needs the command-line tools its instructions call (python3 and node). Our summary lists: Python 3.

Does Book To Webpage access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Book To Webpage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Book To Webpage use?

No licence was found for Book To Webpage or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Book To Webpage use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Book To Webpage?

Skills that share tags, products or a category with Book To Webpage: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 4k stars), GenOffice Document CLI (genspark-ai/genoffice, 9.2k stars) and Harness Book Best Practice (wquguru/harness-books, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Book To Webpage?

crayon-ai (a GitHub user) maintains it in crayon-ai/book-to-webpage, which has 159 GitHub stars. The repository was last updated on June 16, 2026.

Source: crayon-ai/book-to-webpage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.