Document Workflow
/install document-workflow
Document Workflow
Academic paper research: Search → Download LaTeX → Read & Summarize
Quick Start
1. Search Papers
python -m skills.document-workflow.scripts.search_papers --query "world model" --max_results 5 --year_from 2024
2. Download LaTeX Source
python -m skills.document-workflow.scripts.latex_reader "2301.07088" --keep
3. Read & Summarize
Read the LaTeX source files and summarize following the reading guide below.
Reading Guide
After downloading LaTeX source to arxiv_{id}/, read the .tex files in this order:
Step 1: Get Metadata
Read the main .tex file (usually main.tex, root.tex, or {paper-id}.tex) for:
itle{}- Paper title\author{}- Authors\begin{abstract}...\end{abstract}- Abstract
Step 2: Understand the Problem
Read the Introduction section (usually intro.tex, 1-introduction.tex, or first \section):
- What problem does this paper solve?
- What are the key contributions?
- How does it relate to prior work?
Step 3: Understand the Method
Read the Method/Approach section:
- What is the proposed approach?
- Key equations in
\begin{equation}...\end{equation}or\begin{align}...\end{align} - Algorithm pseudocode in
\begin{algorithm}...\end{algorithm}
Step 4: Check Experiments
Read the Experiments section:
- Datasets used
- Baselines compared
- Metrics in
\begin{table}...\end{table}with results - Key findings
Step 5: Check References
Read the .bib or .bbl file for:
- Related work citations
- Key papers in the field
Output Schema
Summarize the paper in this JSON format(see more details in ./references/output_schema.json):
{
"paper_title": "Full title",
"authors": ["Author 1", "Author 2"],
"source": "arXiv:XXXX.XXXXX",
"task_definition": {
"domain": "Research domain",
"task": "Specific task",
"problem_statement": "What problem this paper solves",
"key_contributions": ["Contribution 1", "Contribution 2"]
},
"experiments": {
"datasets": ["Dataset 1", "Dataset 2"],
"baselines": ["Baseline 1", "Baseline 2"],
"metrics": [
{"name": "Metric name", "description": "What it measures","definition":"Mathematical definition or formula for the metric"}
],
"results": [
{"setting": "Dataset", "metric": "Metric", "proposed_method": "Score", "best_baseline": "Score"}
],
"key_findings": ["Finding 1", "Finding 2"]
}
}
Scripts
| Script | Function |
|---|---|
search_papers.py |
Search papers (Tavily + Semantic Scholar) |
download_paper.py |
Download PDF (for human reading) |
latex_reader.py |
Download LaTeX source (for AI reading) |
Tips for Reading LaTeX
| LaTeX Command | Meaning |
|---|---|
\section{Title} |
Section heading |
\subsection{Title} |
Subsection heading |
extbf{text} |
Bold text (often important) |
\cite{key} |
Citation reference |
\begin{equation}...\end{equation} |
Numbered equation |
\begin{table}...\end{table} |
Table |
\begin{figure}...\end{figure} |
Figure |
\input{file} or \subfile{file} |
Include another .tex file |
Config
# Optional: Semantic Scholar API key
export SEMANTIC_SCHOLAR_API_KEY="your-key"
# Default download path
C:\Users\Lenovo\Desktop\papers
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install document-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/document-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Document Workflow 是什么?
一键实现学术论文的搜索、下载、分块提取文本及结构化总结,支持按年份和引用数筛选。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 465 次。
如何安装 Document Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install document-workflow」即可一键安装,无需额外配置。
Document Workflow 是免费的吗?
是的,Document Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Document Workflow 支持哪些平台?
Document Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Document Workflow?
由 Jiarong Yu(@yjr-123456)开发并维护,当前版本 v1.3.1。