论文讲解助手 logo

论文讲解助手

Community
laborany
论文讲解助手

将学术论文PDF转化为结构化、可视化的精讲文档。 触发场景: (1) 用户提供PDF论文文件并要求讲解/分析 (2) 用户询问"帮我讲解这篇论文"、"分析这个PDF" (3) 用户需要提取论文的核心方法、实验结果 (4) 用户希望生成论文的可视化HTML摘要 支持: AI/ML、CV、NLP、系统、理论等计算机科学领域论文

Overview

Publisherlaborany
Repositorylaborany
Skill name论文讲解助手
Stars
84
Forks
10
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by laborany on GitHub. Read the source before you install it.

Installation

Install the 论文讲解助手 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/laborany/laborany.git /tmp/laborany
mkdir -p .claude/skills
cp -r /tmp/laborany/skills/paper-explainer .claude/skills/laborany-11
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 论文讲解助手 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 论文讲解助手 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 论文讲解助手 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

论文讲解助手

将复杂学术论文转化为结构化、易理解的知识文档。

工作流程

PDF输入 → 解析提取 → 深度分析 → HTML输出

Step 1: PDF解析

运行 scripts/parse_pdf.py 提取原始内容:

bash
python scripts/parse_pdf.py <论文.pdf> -o parsed.json --image-dir ./images

输出结构:

json
{
  "pages": [{"page_num": 1, "text": "...", "tables": [...]}],
  "images": [{"page_num": 1, "image_index": 1, "path": "..."}]
}

Step 2: 内容分析

阅读解析结果,提取以下信息:

字段来源说明
title首页顶部论文标题
authors标题下方作者列表
affiliations脚注/作者下机构信息
motivationAbstract + Intro研究动机与问题
methodMethod章节核心方法详解
experimentsExperiments章节实验设置与结果

分析要点 (详见 references/analysis_guide.md):

  • 动机: 回答What/Why/Gap三问
  • 方法: 分层讲解(直觉→架构→细节→数学)
  • 公式: 提供符号表+直觉解释
  • 实验: 批判性分析基线公平性

Step 2.5: 图片智能分类与嵌入

对提取的图片进行分类,识别其用途:

类型特征嵌入位置
框架图展示整体架构/流程,通常较大,含模块和箭头method 开头
模块细节图展示单个组件内部结构method 对应段落
实验曲线折线图/柱状图,含坐标轴和图例experiments 对应分析处
可视化结果热力图/注意力图/生成样本experiments 定性分析处
示意图概念解释/对比图motivation 或 method
其他Logo/装饰/无关图片仅放附录或忽略

分类方法:

  1. 查看图片尺寸: 框架图通常宽度 > 高度,且尺寸较大
  2. 查看所在页码: 第1-2页多为示意图,Method章节多为架构图
  3. 结合论文正文中的 "Figure X" 引用,匹配图片与描述
  4. 分析图片内容: 含箭头/模块框的是架构图,含坐标轴的是实验图

嵌入策略:

  • 框架图: 在 method 开头用 <figure> 标签嵌入,配详细说明
  • 实验图: 在 experiments 对应结论处嵌入,解释图中趋势
  • 其他关键图: 根据论文引用位置,嵌入对应段落

Step 3: 生成HTML

构造分析结果JSON:

json
{
  "title": "论文标题",
  "authors": "作者1, 作者2",
  "affiliations": "机构1; 机构2",
  "motivation": "<p>HTML格式的动机分析</p>",
  "method": "<p>HTML格式的方法讲解,支持$LaTeX$公式</p>",
  "experiments": "<p>HTML格式的实验分析</p>",
  "images": [...],
  "embedded_images": {
    "motivation": [{"index": 0, "caption": "图1说明", "position": "after_intro"}],
    "method": [{"index": 1, "caption": "框架图说明", "position": "start"}],
    "experiments": [{"index": 2, "caption": "实验结果图", "position": "inline"}]
  }
}

embedded_images 字段说明:

  • index: 对应 images 数组中的索引
  • caption: 图片说明文字
  • position: 嵌入位置 (start/inline/end)

运行生成脚本:

bash
python scripts/generate_html.py analysis.json -o 论文讲解.html

输出规范

LaTeX公式

  • 行内公式: $E=mc^2$
  • 独立公式: $$\sum_{i=1}^n x_i$$

内容格式

html
<h3>子标题</h3>
<p>段落文本,支持<code>代码</code><strong>强调</strong></p>
<ul><li>列表项</li></ul>

图片处理

智能嵌入 (推荐):

  • 框架图/架构图: 嵌入 method 区域开头,配详细图注
  • 实验结果图: 嵌入 experiments 对应分析段落
  • 概念示意图: 嵌入 motivation 帮助理解问题

嵌入语法:

html
<figure class="embedded-figure">
  <img src="data:image/png;base64,..." alt="框架图">
  <figcaption>图1: 模型整体架构。输入经过编码器...</figcaption>
</figure>

附录处理:

  • 所有图片仍在"图表说明"区域保留完整列表
  • 嵌入的图片会同时出现在正文和附录

依赖

bash
pip install pdfplumber PyMuPDF

快速示例

bash
# 1. 解析PDF
python scripts/parse_pdf.py attention.pdf -o parsed.json

# 2. 分析内容 (Claude完成)
# 生成 analysis.json

# 3. 生成HTML
python scripts/generate_html.py analysis.json -o attention_explained.html

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 论文讲解助手 AI skill do?

将学术论文PDF转化为结构化、可视化的精讲文档。 触发场景: (1) 用户提供PDF论文文件并要求讲解/分析 (2) 用户询问"帮我讲解这篇论文"、"分析这个PDF" (3) 用户需要提取论文的核心方法、实验结果 (4) 用户希望生成论文的可视化HTML摘要 支持: AI/ML、CV、NLP、系统、理论等计算机科学领域论文

Why use 论文讲解助手 on TypingMind?

Because you install it once and use it with any model. 论文讲解助手 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 论文讲解助手 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/laborany/laborany/tree/main/skills/paper-explainer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 论文讲解助手?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 论文讲解助手?

As many as you like. As long as a model supports skills, you can use 论文讲解助手 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 论文讲解助手 AI skill free?

Yes. It is published on GitHub by laborany under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇