← LeaderboardThe Skill Leaderboard

paper-viz

Skill file skills/scholargraph/paper-viz/skill.md in LeoYeAI/agent-master-skills. Read the publisher’s upstream source.

Description is absent from the checked source metadata.

Published by LeoYeAI ↗LeoYeAI/agent-master-skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

Paper Visualization / 论文可视化演示

将学术论文分析结果转换为交互式 HTML 幻灯片演示,支持编辑和 PPT 导出。

功能

  • 幻灯片生成: 自动将论文分析(标题、摘要、关键要点、方法论、实验、贡献、局限性、参考文献)转为 8+ 张幻灯片
  • PDF 图表提取: 通过 pymupdf 从 PDF 中提取图表,嵌入演示
  • 交互式 HTML: 键盘/触摸/滚轮导航、编辑模式(E 键)、localStorage 自动保存
  • PPT 导出: 通过 python-pptx 导出为 .pptx 文件
  • 学术主题: 深色/浅色两种学术主题,响应式排版

用法

# 基本用法 — 分析论文并生成演示
lit paper-viz "https://arxiv.org/abs/1706.03762" --output attention.html

# 指定模式和主题
lit paper-viz "https://arxiv.org/abs/2005.14165" --mode deep --theme academic-light

# 同时导出 PPT
lit paper-viz "https://arxiv.org/abs/1706.03762" --output paper.html --ppt

# 手动提供图表目录
lit paper-viz "https://example.com/paper" --figures ./my-figures

参数

参数说明默认值
<url>论文 URL(必填)-
--mode <m>分析深度 (quick/standard/deep)deep
--theme <t>主题 (academic-dark/academic-light)academic-dark
--output <file>输出 HTML 文件路径自动生成
--ppt同时导出 PPTfalse
--figures <dir>手动指定图表目录自动提取

幻灯片结构

#幻灯片内容来源
1标题页title, authors, venue, year, keywords
2摘要页summary, abstract
3-4关键要点keyPoints[](按重要度标注)
5方法论methodology.overview, approach, novelty
6+实验结果experiments, 提取的图表
7贡献contributions[](按显著度标注)
8局限与展望limitations[], futureWork[]
9参考文献relatedWork[], citations

键盘快捷键(HTML 演示)

快捷键功能
← → / 空格切换幻灯片
Home / End跳转首/尾页
E切换编辑模式
滚轮 / 触摸滑动切换幻灯片

依赖

  • 必须: Bun 运行时, AI Provider(用于论文分析)
  • 可选: Python + pymupdf(PDF 图表提取)
  • 可选: Python + python-pptx(PPT 导出)

模块文件

paper-viz/
  scripts/
    types.ts              # 数据接口定义
    slide-builder.ts      # PaperAnalysis → PresentationData
    html-generator.ts     # 生成自包含 HTML
    pdf-figure-extractor.ts  # PDF 图表提取
    ppt-exporter.ts       # PPT 导出
  skill.md               # 本文件