技能图谱SKILLSGROVE
技能图谱/办公文档/scholarclaw/skills/paper-summary

paper-summary

安装

$npx skills add https://github.com/scholarclaw/skills --skill paper-summary
$git clone --depth 1 https://github.com/scholarclaw/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/paper-summary ~/.claude/skills/paper-summary
请帮我安装这个 Agent Skill:https://github.com/scholarclaw/skills/tree/9e2f59aca64c488a74d91f79e76eb09d585609e3/skills/paper-summary ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITExtracts text from PDF files and generates structured paper summaries with Key Ideas, Main Contributions, and Experimental Results. Supports direct PDF file processing and integration with OpenClaw.
以下 SKILL.md 内容转载自 scholarclaw/skills(提交 9e2f59a),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 clawdbot 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

paper-summary

功能说明

This skill extracts text from PDF files and generates structured paper summaries based on the given PDF content. It provides a comprehensive analysis including Key Ideas, Main Contributions, and Experimental Results using advanced natural language processing.

使用方法

@openclaw paper-summary [PDF_FILE_PATH]

必选参数

  • PDF_FILE_PATH: 待处理的PDF文件路径(支持绝对路径和相对路径)

示例

@openclaw paper-summary /path/to/research-paper.pdf

Input Requirements

  • 提供有效的PDF文件路径
  • 确保PDF文件可访问和可读
  • 支持标准学术论文格式的PDF文件

Output Format

The skill will generate a structured summary in markdown format with the following sections:

### Key Ideas
<Concise statement of the paper's core idea in one sentence>

### Main Contribution
<Analysis of the paper's main contributions to its field>

### Experimental Results
<Summary of key experimental results presented in the paper>

输出示例

### Key Ideas
The paper proposes a novel deep learning approach for efficient image classification.

### Main Contribution
This research introduces a new network architecture that reduces computational complexity by 50% while maintaining comparable accuracy.

### Experimental Results
Experimental results on ImageNet dataset show that the proposed method achieves 89.2% top-1 accuracy, outperforming state-of-the-art methods in efficiency metrics.

Implementation Details

Text Extraction

The skill uses PyMuPDF==1.26.1 (fitz) library to extract text from PDF files. This library provides efficient text extraction capabilities from PDF documents with excellent performance and quality.

Summary Generation

The skill uses an embedded structured prompt template that guides the model to focus on three core areas:

  1. Key Ideas - The heart of the paper in one concise sentence
  2. Main Contribution - The paper's contributions to its field
  3. Experimental Results - Key results that support the contributions

Model Requirements

This skill requires access to a language model that supports:

  • Text generation from structured prompts
  • Processing of long text inputs (up to ~150,000 characters)
  • Generation of markdown-formatted output

Embedded Prompt Template

The skill includes the following embedded prompt template:

You are an Artificial Intelligence Assistant, and you are better at conversations in Chinese and English. You will provide users with safe, helpful and accurate answers. At the same time, you will reject all answers to questions that involve terrorism, racism, yellow violence, etc.
Your task is to perform an in-depth analysis of the provided as following, focusing on the following three core areas: Key Ideas, Main Contribution, and Experimental Results. Please read the document carefully and provide a concise and in-depth analysis.
{{ paper_text }}

Key Ideas:
The key idea should be the heart of an essay, and it should be clear in one sentence. Describe the core concept of the article in one concise sentence, no more than 20 words.
Main Contribution:
Analyse and clearly articulate the main contribution of this research to its field. This may include new methodologies, theoretical breakthroughs, technological innovations, or new insights into existing problems. Explain how these contributions have advanced the field and the potential impact they may have. Assess the originality and significance of these contributions.
Experimental Results:
Summarise the key experimental results presented in the document. Focus on results that directly support the main contribution or validate key ideas. Include a brief description of the experimental setup (if critical to understanding the results) and how these results support the author's argument or hypothesis. If there are any particularly significant or unexpected findings, point them out specifically.
Keep the following points in mind in your analysis:
Use language that is accurate and professional but easy to understand.

Remain objective, focus on the content of the document, and avoid adding personal speculation.
If information in a section is incomplete or unclear, explain this in your analysis.
Keep the total word count to 300 words to ensure dense but concise information.
You can answer in Chinese or English, depending on the language of the PDF document provided by the user.
Remember, as an AI assistant, your analyses should always be safe, helpful, and accurate. Your goal is to provide the reader with an overview of the core content of the document, highlighting its most important and innovative aspects, while ensuring that your answers do not contain any inappropriate or harmful content. Now, please begin your analysis.
The returned content must in markdown format, and you must generate in English. You only need to generate key ideas, main contributions and experimental results, and you don't need to generate anything else beyond that.
You must follow the markdown format below:

### Key Ideas
xxxxxxxxxxxxxxxxxxx

### Main Contribution
xxxxxxxxxxxxxxxxxxx

### Experimental Results
xxxxxxxxxxxxxxxxxxx

Dependencies

  • PyMuPDF==1.26.1 for PDF text extraction
  • Jinja2 for prompt template processing
  • OpenClaw compatible language model

Limitations

  • The skill works best with well-structured research papers
  • Results may vary for poorly formatted or scanned PDF documents
  • Very long papers (over 150,000 characters) may be truncated
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.