Paper Cn Reader logo

Paper Cn Reader

Community
langlibai66
paper-cn-reader

学术论文精读翻译与批注,生成 HTML+PDF 中文精读文档。读取英文论文 PDF,逐段忠实翻译为中文,保留原文图片/表格/公式/章节结构,在关键位置添加 8 类 AI 辅助批注(概念解释/关键结论/方法理解/公式解读/图表解读/实验分析/阅读提醒/批判性思考),最终输出带打印样式的 HTML 和 PDF。触发场景:论文精读、论文翻译、论文批注、读论文生成中文版、精读论文并批注、把英文论文转成中文 HTML、论文深度阅读、paper deep reading、annotated paper translation。当用户提供论文 PDF 并要求逐段翻译、添加批注、生成精读文档时使用此 skill。区别于 paper-quick-reader(速读抓核心),此 skill 强调忠实完整翻译+辅助理解批注。

Overview

Publisherlanglibai66
Repositorypaper-cn-reader
Skill namepaper-cn-reader
Stars
39
Forks
0
Bundled files
8
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.

  • 8 bundled files

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

  • Open source

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

Installation

Install the Paper Cn Reader 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.
    https://github.com/langlibai66/paper-cn-reader/tree/main
  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/langlibai66/paper-cn-reader.git \
  .claude/skills/paper-cn-reader
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Paper Cn Reader 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 Paper Cn Reader 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 Paper Cn Reader 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.

Paper CN Reader — 学术论文精读翻译与批注

将英文论文 PDF 转换为带 AI 批注的中文精读 HTML + PDF 文档。核心:忠实逐句翻译(非概括)+ 保留原文图表公式 + 辅助理解批注。

核心原则

  1. 忠实完整:逐段逐句翻译,不压缩为摘要,不省略限定条件和实验细节
  2. 三视觉分离:中文译文 / 原文内容 / AI 批注必须在视觉上明确区分
  3. 不编造:无法识别标记 【原文此处识别不清】,AI 分析只在批注区

工作流程

第 1 步:解析论文

读取 PDF,识别:

  • 总页数、章节结构、单栏/双栏排版
  • 图片数量、表格数量、公式数量
  • 附录和参考文献位置

双栏 PDF 注意:必须正确识别阅读顺序(先左栏后右栏),避免错误拼接。

第 2 步:提取资源

使用 bundled 脚本提取图片到 assets/ 目录:

bash
python scripts/extract_pdf_assets.py <论文.pdf> assets --min-width 100 --min-height 100
  • 图片按 figure_1.png, figure_2.png ... 命名
  • 同页多图追加 a/b/c 后缀
  • 矢量图无法提取时,用脚本内 screenshot_region() 按区域截图(3 倍缩放)
  • 不得因提取困难省略图片,失败必须在对应位置说明

依赖:pip install pymupdf

第 3 步:翻译正文

按论文顺序逐段翻译,保存页码映射。详细规则见 references/translation_rules.md,要点:

  • 逐段逐句翻译,术语首次出现用 中文术语(English Term)
  • 模型名/数据集名/变量名/缩写保留英文
  • 默认只呈现中文译文,不重复完整英文正文
  • 长难句可调语序但不改原意

第 4 步:添加批注

仅在真正需要辅助理解处添加。8 种批注类型及示例见 references/annotation_guide.md。

密度:平均每 1-2 页 1-3 个有价值批注。重点位置:摘要贡献、引言动机、框架图、核心结构、重要公式、损失函数、关键表格、消融实验、局限性。

禁止无效批注:「很重要」「结果很好」、正文简单重复、泛泛评价。

第 5 步:生成 HTML

基于 assets/template.html 骨架和 assets/styles.css 样式生成。模板已包含:

  • 语义化结构(<article> / <section> / <aside class="annotation">)
  • MathJax CDN(行内 $...$,独立 $$...$$)
  • 8 类批注 CSS(不同低饱和边框色)
  • 目录导航 + 页码定位(data-source-page / [P5-C2])
  • 打印 CSS(@page A4 + @media print)

生成时:

  1. 复制 template.html 和 styles.css 到输出目录
  2. 替换占位符为实际翻译内容
  3. 图片用相对路径 assets/figure_N.png
  4. 表格重建为 HTML <table>(保留数值、加粗、最优值标记)
  5. 公式用 LaTeX,保留 \tag{N} 编号

第 6 步:生成 PDF

使用 bundled 脚本将最终 HTML 转为 PDF:

bash
python scripts/html_to_pdf.py 论文精读中文版.html 论文精读中文版.pdf

脚本会等待图片、字体、MathJax 渲染完成后再导出。A4 页面,边距 18mm/16mm。

依赖:pip install playwright && playwright install chromium

替代方案(若 Playwright 不可用):Puppeteer / Chromium Headless / WeasyPrint。

第 7 步:质量检查

逐项检查 references/quality_checklist.md,涵盖:内容完整性、翻译质量、图片表格、公式、批注、排版、PDF 输出。

交付物

输出目录/
├── 论文精读中文版.html   # 主文档(可独立打开)
├── 论文精读中文版.pdf    # 由 HTML 渲染生成
├── styles.css           # 样式表
└── assets/
    ├── figure_1.png
    ├── figure_2.png
    └── ...

完成后简要报告:论文总页数、已翻译章节、提取图片数、重建表格数、批注数、无法识别内容、各文件路径。

关键约束

  • 不得编造论文内容、实验结果、表格数值
  • 不得省略图片/表格/公式——提取失败必须说明
  • AI 分析只在批注区,译文区只呈现忠实翻译
  • 批判性批注必须注明"分析或推测",不可伪装成论文结论
  • HTML 可独立打开:CSS 和图片用相对路径,文件夹移动后仍可显示

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 Paper Cn Reader AI skill do?

学术论文精读翻译与批注,生成 HTML+PDF 中文精读文档。读取英文论文 PDF,逐段忠实翻译为中文,保留原文图片/表格/公式/章节结构,在关键位置添加 8 类 AI 辅助批注(概念解释/关键结论/方法理解/公式解读/图表解读/实验分析/阅读提醒/批判性思考),最终输出带打印样式的 HTML 和 PDF。触发场景:论文精读、论文翻译、论文批注、读论文生成中文版、精读论文并批注、把英文论文转成中文 HTML、论文深度阅读、paper deep reading、annotated paper translation。当用户提供论文 PDF 并要求逐段翻译、添加批注、生成精读文档时使用此 skill。区别于 paper-quick-reader(速读抓核心),此 skill 强调忠实完整翻译+辅助理解批注。

Why use Paper Cn Reader on TypingMind?

Because you install it once and use it with any model. Paper Cn Reader 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 Paper Cn Reader in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/langlibai66/paper-cn-reader/tree/main. 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 Paper Cn Reader?

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 Paper Cn Reader?

As many as you like. As long as a model supports skills, you can use Paper Cn Reader with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Paper Cn Reader AI skill free?

Yes. It is published on GitHub by langlibai66 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 👇