Skip to content
Education
Skill

/paper-to-html

Generate a self-contained, beautifully styled HTML analysis of an academic paper. Use when the user provides an arXiv link, paper URL, PDF, or asks to analyze a research paper. Produces a standalone HTML file with structured sections (Problem, Translation/Analogy, Architecture,

From plugin
lecture-to-notes
3195 skills

Claude Code

$ npx -y skills add ysyecust/lecture-to-notes --skill paper-to-html --agent claude-code

SKILL.md

paper-to-html.SKILL.md
name: paper-to-html
description: Generate a self-contained, beautifully styled HTML analysis of an academic paper. Use when the user provides an arXiv link, paper URL, PDF, or asks to analyze a research paper. Produces a standalone HTML file with structured sections (Problem, Translation/Analogy, Architecture, Key Results, Verdict), embedded figures, and responsive design. Trigger words include 读论文, 分析论文, paper analysis, paper review.

Paper to HTML

Generate a self-contained HTML analysis of an academic paper. The output is a single `.html` file with embedded CSS — no external dependencies, ready to deploy or share.

Output Structure

The HTML analysis must follow this structure:

Header

  • Paper title (original)
  • Authors and affiliations
  • Source (arXiv ID, venue)
  • Tags (topic tags as colored badges)

Sections

1. **问题** (Problem)

  • What problem does this paper solve?
  • Why is it hard? What existing approaches fall short?
  • Use plain language, no jargon in the first paragraph

2. **翻译** (Translation / Analogy)

  • Explain the core idea using a real-world analogy
  • Make it accessible to a non-specialist
  • This is the most important section for readability

3. **架构** (Architecture / Method)

  • Technical details of the proposed approach
  • Use `.architecture` code blocks for diagrams (ASCII art)
  • Use `.concept` cards for key definitions
  • Include paper figures when available

4. **关键结果** (Key Results)

  • Performance numbers, benchmarks, comparisons
  • Use tables for quantitative results
  • Highlight surprising or noteworthy findings

5. **评价** (Verdict)

  • Use `.verdict` box: one-sentence assessment
  • Strengths and limitations
  • Who should read this paper?

6. **博导审稿** (PhD Supervisor Review)

  • **Identity**: Switch to a PhD supervisor who has mentored graduate students for 20 years in this exact research direction
  • **Scene**: A student brings you this paper in your office. You judge whether it's worth taking seriously
  • **Tone**: Plain language, like chatting with a student — not formal review language
  • **Five evaluation axes** (each gets a one-sentence assessment):
  • 选题眼光 (Topic Selection): Is this a real problem or a manufactured one?
  • 方法成熟度 (Method Maturity): Is this engineering polish or genuine methodological innovation?
  • 实验诚意 (Experimental Sincerity): Did they test on hard cases or cherry-pick easy ones?
  • 写作功力 (Writing Craft): Clear thinking or jargon smokescreen?
  • 影响力预判 (Impact Forecast): Will anyone cite this in 3 years?
  • **Verdict**: strong accept / weak accept / borderline / weak reject / strong reject + one-sentence justification
  • Use `.supervisor` CSS class (dark green left border, light green background)

7. **一句话总结** (One-line Summary)

  • The elevator pitch version

Footer

  • Generation metadata
  • Link to original paper

Math Rendering

All HTML output MUST include KaTeX for LaTeX math rendering. Add these lines in `<head>`:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/contrib/auto-render.min.js"
  onload="renderMathInElement(document.body,{delimiters:[{left:'$$',right:'$$',display:true},{left:'$',right:'$',display:false}]})"></script>

Use standard LaTeX delimiters in text:

  • `$$...$$` for display math (centered, own line)
  • `$...$` for inline math

Example: `The complexity is $O(N_c^2)$` renders as proper math.

HTML Template

Use this CSS design system (warm stone palette, purple accent):

:root {
  --bg: #fafaf9;
  --fg: #1c1917;
  --muted: #78716c;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --border: #e7e5e4;
  --code-bg: #f5f5f4;
  --verdict-bg: #fef3c7;
  --verdict-border: #f59e0b;
}

Key CSS classes:

  • `.architecture` — monospace code/diagram blocks
  • `.concept` — definition cards with labeled fields
  • `.insight` — purple left-border highlight blocks
  • `.verdict` — amber warning-style assessment box
  • `.supervisor` — dark green left-border review box (for 博导审稿)
  • `.score-grid` — 2-column grid for evaluation axes
  • `.paper-figure` — centered image with caption
  • `.tag` — purple badge for topic tags

Figure Handling

When paper figures are available (from PDF extraction or provided by user): 1. Save figures to `assets/<paper_id>/` directory 2. Reference with relative paths: `assets/<paper_id>/fig1.png` 3. Add descriptive figcaptions

File Naming Convention

<timestamp>--paper-<short-name>__paper.html

Example: `20260326T133200--paper-nonlinearsolve-jl__paper.html`

Quality Requirements

  • **Self-contained**: Single HTML file with embedded CSS, no external dependencies
  • **Responsive**: Readable on mobile (max-width: 760px centered layout)
  • **Chinese by default**: All analysis text in Chinese, technical terms in original language
  • **Accessible**: Non-specialists should understand sections 1-2; specialists get value from 3-4
  • **Honest**: Don't oversell the paper. Use the verdict box for balanced assessment
Read more
@ysyecust
Ships withlecture-to-notes

把 YouTube / Bilibili / X(Twitter) 的讲座视频,变成可编译的中文 LaTeX 讲义 PDF 与在线网页。 按读者问题重构章节,每张配图带原视频时间脚注,每个数值可追溯到字幕或画面。 左:Stanford CS336 Lecture 3《现代大语言模型架构与超参数》封面与第 6 页;右:B 站《HBM 高带宽内存的原理与制造》第 3、11 页。

Stars on GitHub

Momentum

stars in total
319
Star history of ysyecust/lecture-to-notes on GitHub, a chart by star-history.com

Other skills on lecture-to-notes.

lecture-to-md

lecture-to-md

把课堂视频(本地或 B 站/YouTube)、文字稿、课件三者(任意组合)整理成一份详细的中文 Markdown 课堂笔记,输出按课程标题命名的 `{title_name}.md`(首行为 `# 文档标题`)+ 相对路径图片。Markdown 工作流,与上游…

local-asr

local-asr

把本地长视频/音频转写成文字稿 + 可选字幕,纯本地(不上传云端),用 sherpa-onnx X-ASR Zipformer transducer 模型(int8 量化、中英双语、自动标点)。已在 macOS Apple Silicon(int8 +…

volcengine-asr

volcengine-asr

Transcribe local audio or video with Volcengine Doubao file ASR, including BigASR 1.0 Turbo direct upload and asynchronous 1.0…

More skills from other plugins.

lesson-quiz

lesson-quiz

Test a learner on a single Claude Code tutorial lesson (01-10) with 10 questions, scoring answers and flagging weak spots. Use…

@luongnv89@luongnv89Install Skill
build-personal-skill

build-personal-skill

Evidence-based creation of a reusable personal course-making Skill from the user's own classroom and chat history. Use when the…

openmaic12d43k
@thu-maic@thu-maicInstall Skill

Questions about paper-to-html.

Which coding agents can use paper-to-html?
paper-to-html installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.