scientify 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openclaw.plugin.json +2 -2
- package/package.json +6 -3
- package/skills/literature-survey/SKILL.md +285 -0
- package/skills/write-review-paper/SKILL.md +391 -0
- package/skills/arxiv/SKILL.md +0 -138
- package/skills/literature-review/SKILL.md +0 -261
- /package/skills/{literature-review → write-review-paper}/references/note-template.md +0 -0
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scientify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Scientify - AI-powered research workflow automation for OpenClaw. Includes idea generation, literature review, research pipeline skills, and arxiv tool.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,13 +32,16 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsc",
|
|
34
34
|
"clean": "rm -rf dist",
|
|
35
|
+
"dev": "tsc --watch",
|
|
36
|
+
"dev:reload": "nodemon --watch src --watch skills --ext ts,md,json --exec \"npm run build && pkill -USR1 -f 'openclaw.mjs gateway' || true\" --delay 500ms",
|
|
35
37
|
"prepublishOnly": "npm run clean && npm run build"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
40
|
"@sinclair/typebox": "^0.32.0",
|
|
41
|
+
"@types/node": "^20.0.0",
|
|
42
|
+
"nodemon": "^3.1.11",
|
|
39
43
|
"tar": "^7.0.0",
|
|
40
|
-
"typescript": "^5.3.0"
|
|
41
|
-
"@types/node": "^20.0.0"
|
|
44
|
+
"typescript": "^5.3.0"
|
|
42
45
|
},
|
|
43
46
|
"peerDependencies": {
|
|
44
47
|
"openclaw": ">=2024.0.0"
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: literature-survey
|
|
3
|
+
description: "Comprehensive literature survey for a research domain. Automatically searches, filters, clusters, and iterates to discover relevant papers. Use for: exploring a new research area, collecting papers for a topic, building a literature database."
|
|
4
|
+
metadata:
|
|
5
|
+
{
|
|
6
|
+
"openclaw":
|
|
7
|
+
{
|
|
8
|
+
"emoji": "🔍",
|
|
9
|
+
},
|
|
10
|
+
}
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Literature Survey
|
|
14
|
+
|
|
15
|
+
Comprehensive literature discovery workflow for a research domain. This skill searches broadly, filters by relevance, clusters by direction, and iterates to ensure complete coverage.
|
|
16
|
+
|
|
17
|
+
**Use this skill when:**
|
|
18
|
+
- Exploring a new research area
|
|
19
|
+
- Collecting all relevant papers for a topic
|
|
20
|
+
- Building a comprehensive literature database
|
|
21
|
+
- Need to understand the landscape of a field
|
|
22
|
+
|
|
23
|
+
**NOT for:**
|
|
24
|
+
- Summarizing papers you already have (use `/literature-review`)
|
|
25
|
+
- Finding a specific paper (use `arxiv_search` directly)
|
|
26
|
+
- Generating research ideas (use `/idea-generation`)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Architecture: Isolated Sub-agent
|
|
31
|
+
|
|
32
|
+
This survey runs in an **isolated sub-session** to avoid context pollution. The main session only receives the final report.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Main Session
|
|
36
|
+
↓
|
|
37
|
+
sessions_spawn(task: "执行文献调研...", label: "literature-survey")
|
|
38
|
+
↓
|
|
39
|
+
Sub-agent Session (隔离上下文)
|
|
40
|
+
├── Phase 1: 生成检索词
|
|
41
|
+
├── Phase 2: 批量检索
|
|
42
|
+
├── Phase 3: 相关性筛选
|
|
43
|
+
├── Phase 4: 聚类分组
|
|
44
|
+
├── Phase 5: 迭代发现
|
|
45
|
+
└── Phase 6: 生成报告
|
|
46
|
+
↓
|
|
47
|
+
返回主 Session: 摘要 + 文件路径
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## When User Requests Literature Survey
|
|
53
|
+
|
|
54
|
+
**Step 1: Spawn isolated sub-agent**
|
|
55
|
+
|
|
56
|
+
When user says things like:
|
|
57
|
+
- "调研 [topic] 领域的文献"
|
|
58
|
+
- "帮我收集 [topic] 相关的论文"
|
|
59
|
+
- "Survey papers on [topic]"
|
|
60
|
+
|
|
61
|
+
Use `sessions_spawn` to run the survey in isolation:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
sessions_spawn({
|
|
65
|
+
task: `你是一个文献调研专家。请为研究主题 "{TOPIC}" 执行完整的文献调研。
|
|
66
|
+
|
|
67
|
+
## 调研目标
|
|
68
|
+
{USER_REQUIREMENTS}
|
|
69
|
+
|
|
70
|
+
## 执行流程
|
|
71
|
+
|
|
72
|
+
### Phase 1: 生成检索词
|
|
73
|
+
基于研究主题,生成 8-15 个检索词组合,覆盖:
|
|
74
|
+
- 核心概念的不同表述
|
|
75
|
+
- 相关技术方法
|
|
76
|
+
- 应用场景
|
|
77
|
+
- 英文和中文关键词(如适用)
|
|
78
|
+
|
|
79
|
+
将检索词保存到 $WORKSPACE/survey/search_terms.json
|
|
80
|
+
|
|
81
|
+
### Phase 2: 批量检索
|
|
82
|
+
对每个检索词使用 arxiv_search tool:
|
|
83
|
+
- max_results: 30-50 per query
|
|
84
|
+
- 合并去重(按 arxiv_id)
|
|
85
|
+
- 记录每篇论文的来源检索词
|
|
86
|
+
|
|
87
|
+
将原始结果保存到 $WORKSPACE/survey/raw_results.json
|
|
88
|
+
|
|
89
|
+
### Phase 3: 相关性筛选
|
|
90
|
+
阅读每篇论文的标题和摘要,判断与 "{TOPIC}" 的相关性:
|
|
91
|
+
- 5分:高度相关,直接研究此主题
|
|
92
|
+
- 4分:相关,涉及关键方法或应用
|
|
93
|
+
- 3分:部分相关,可作为参考
|
|
94
|
+
- 2分:边缘相关
|
|
95
|
+
- 1分:不相关
|
|
96
|
+
|
|
97
|
+
保留 score >= 4 的论文。
|
|
98
|
+
将筛选结果保存到 $WORKSPACE/survey/filtered_papers.json
|
|
99
|
+
|
|
100
|
+
### Phase 4: 聚类分组
|
|
101
|
+
分析筛选后论文的摘要,识别 3-6 个研究方向/子主题。
|
|
102
|
+
为每个方向创建子文件夹并分配论文:
|
|
103
|
+
|
|
104
|
+
$WORKSPACE/papers/
|
|
105
|
+
├── {direction-1}/
|
|
106
|
+
│ ├── paper_list.md
|
|
107
|
+
│ └── [arxiv_ids...]
|
|
108
|
+
├── {direction-2}/
|
|
109
|
+
│ └── ...
|
|
110
|
+
└── uncategorized/
|
|
111
|
+
|
|
112
|
+
将聚类结果保存到 $WORKSPACE/survey/clusters.json
|
|
113
|
+
|
|
114
|
+
### Phase 5: 迭代发现(1-2轮)
|
|
115
|
+
检查高分论文的摘要,识别:
|
|
116
|
+
- 提到的新方法名称
|
|
117
|
+
- 引用的重要工作
|
|
118
|
+
- 新的关键词
|
|
119
|
+
|
|
120
|
+
如果发现新方向,补充检索并重复 Phase 2-4。
|
|
121
|
+
最多迭代 2 轮。
|
|
122
|
+
|
|
123
|
+
### Phase 6: 生成报告
|
|
124
|
+
创建 $WORKSPACE/survey/report.md:
|
|
125
|
+
|
|
126
|
+
# 文献调研报告: {TOPIC}
|
|
127
|
+
|
|
128
|
+
## 调研概要
|
|
129
|
+
- 检索词数量: X
|
|
130
|
+
- 初始检索: Y 篇
|
|
131
|
+
- 筛选后: Z 篇
|
|
132
|
+
- 研究方向: N 个
|
|
133
|
+
|
|
134
|
+
## 研究方向分布
|
|
135
|
+
|
|
136
|
+
### 方向1: [名称]
|
|
137
|
+
- 论文数量: X
|
|
138
|
+
- 代表性工作: [列表]
|
|
139
|
+
- 主要特点: [描述]
|
|
140
|
+
|
|
141
|
+
### 方向2: [名称]
|
|
142
|
+
...
|
|
143
|
+
|
|
144
|
+
## 高影响力论文 (Top 10)
|
|
145
|
+
| 排名 | 标题 | 年份 | 相关度 | 方向 |
|
|
146
|
+
|-----|------|-----|-------|-----|
|
|
147
|
+
| 1 | ... | ... | 5 | ... |
|
|
148
|
+
|
|
149
|
+
## 研究趋势
|
|
150
|
+
[基于论文年份分布的观察]
|
|
151
|
+
|
|
152
|
+
## 发现的新方向
|
|
153
|
+
[迭代中发现的额外关键词和方向]
|
|
154
|
+
|
|
155
|
+
## 建议阅读顺序
|
|
156
|
+
1. [入门级论文]
|
|
157
|
+
2. [核心方法论文]
|
|
158
|
+
3. [最新进展]
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
完成后,向主 session 报告:
|
|
163
|
+
- 总共发现的论文数量
|
|
164
|
+
- 识别的研究方向
|
|
165
|
+
- 报告文件位置`,
|
|
166
|
+
label: "literature-survey-{TOPIC_SLUG}",
|
|
167
|
+
runTimeoutSeconds: 900,
|
|
168
|
+
cleanup: "keep"
|
|
169
|
+
})
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Step 2: Wait and relay results**
|
|
173
|
+
|
|
174
|
+
Sub-agent 完成后会自动 announce 结果到主 session。
|
|
175
|
+
将结果摘要展示给用户,包括:
|
|
176
|
+
- 发现的论文数量
|
|
177
|
+
- 主要研究方向
|
|
178
|
+
- 报告文件位置
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Workspace Structure
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
~/.openclaw/workspace/projects/{project-id}/
|
|
186
|
+
├── project.json
|
|
187
|
+
├── survey/ # 调研过程数据
|
|
188
|
+
│ ├── search_terms.json # 检索词列表
|
|
189
|
+
│ ├── raw_results.json # 原始检索结果
|
|
190
|
+
│ ├── filtered_papers.json # 筛选后的论文
|
|
191
|
+
│ ├── clusters.json # 聚类结果
|
|
192
|
+
│ ├── iterations.log # 迭代记录
|
|
193
|
+
│ └── report.md # 最终报告
|
|
194
|
+
├── papers/ # 按方向组织的论文
|
|
195
|
+
│ ├── {direction-1}/
|
|
196
|
+
│ │ ├── paper_list.md
|
|
197
|
+
│ │ └── 2401.12345/ # .tex 源文件
|
|
198
|
+
│ ├── {direction-2}/
|
|
199
|
+
│ └── uncategorized/
|
|
200
|
+
└── ideas/ # 后续 idea-generation 输出
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Data Schemas
|
|
206
|
+
|
|
207
|
+
### search_terms.json
|
|
208
|
+
```json
|
|
209
|
+
{
|
|
210
|
+
"topic": "battery life prediction",
|
|
211
|
+
"generated_at": "2024-01-15T10:00:00Z",
|
|
212
|
+
"terms": [
|
|
213
|
+
{"term": "battery remaining useful life", "category": "core"},
|
|
214
|
+
{"term": "lithium-ion degradation prediction", "category": "method"},
|
|
215
|
+
{"term": "SOH estimation neural network", "category": "technique"},
|
|
216
|
+
{"term": "EV battery health monitoring", "category": "application"}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### filtered_papers.json
|
|
222
|
+
```json
|
|
223
|
+
{
|
|
224
|
+
"filtered_at": "2024-01-15T10:30:00Z",
|
|
225
|
+
"total_raw": 245,
|
|
226
|
+
"total_filtered": 42,
|
|
227
|
+
"papers": [
|
|
228
|
+
{
|
|
229
|
+
"arxiv_id": "2401.12345",
|
|
230
|
+
"title": "...",
|
|
231
|
+
"abstract": "...",
|
|
232
|
+
"authors": ["..."],
|
|
233
|
+
"published": "2024-01-15",
|
|
234
|
+
"relevance_score": 5,
|
|
235
|
+
"source_terms": ["battery RUL", "degradation prediction"],
|
|
236
|
+
"notes": "直接研究锂电池RUL预测"
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### clusters.json
|
|
243
|
+
```json
|
|
244
|
+
{
|
|
245
|
+
"clustered_at": "2024-01-15T11:00:00Z",
|
|
246
|
+
"clusters": [
|
|
247
|
+
{
|
|
248
|
+
"id": "data-driven",
|
|
249
|
+
"name": "数据驱动方法",
|
|
250
|
+
"description": "使用机器学习/深度学习的方法",
|
|
251
|
+
"paper_count": 15,
|
|
252
|
+
"paper_ids": ["2401.12345", "2401.12346", "..."],
|
|
253
|
+
"keywords": ["LSTM", "CNN", "transformer", "neural network"]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "physics-based",
|
|
257
|
+
"name": "物理模型方法",
|
|
258
|
+
"description": "基于电化学机理的方法",
|
|
259
|
+
"paper_count": 8,
|
|
260
|
+
"paper_ids": ["..."]
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Quick Mode (Without Sub-agent)
|
|
269
|
+
|
|
270
|
+
For smaller surveys (< 50 papers), can run directly without spawning:
|
|
271
|
+
|
|
272
|
+
User: "快速调研一下 [topic],不超过 30 篇"
|
|
273
|
+
|
|
274
|
+
→ Run Phase 1-4 directly in main session
|
|
275
|
+
→ Skip iteration
|
|
276
|
+
→ Generate simplified report
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Commands
|
|
281
|
+
|
|
282
|
+
- "调研 [topic] 领域" → Full survey with sub-agent
|
|
283
|
+
- "快速调研 [topic]" → Quick mode, 30 papers max
|
|
284
|
+
- "继续上次的调研" → Resume from existing survey data
|
|
285
|
+
- "扩展调研 [new direction]" → Add new search terms and iterate
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: write-review-paper
|
|
3
|
+
description: "Write a literature review or survey paper from EXISTING papers. Guides through reading, note-taking, synthesis, and structured writing. Use after /literature-survey has collected papers."
|
|
4
|
+
metadata:
|
|
5
|
+
{
|
|
6
|
+
"openclaw":
|
|
7
|
+
{
|
|
8
|
+
"emoji": "📝",
|
|
9
|
+
},
|
|
10
|
+
}
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Literature Review Writing
|
|
14
|
+
|
|
15
|
+
Guide for writing a structured literature review or survey paper from papers you've already collected. This skill helps with reading strategy, note organization, and academic writing.
|
|
16
|
+
|
|
17
|
+
**Use this skill when:**
|
|
18
|
+
- You have collected papers (via `/literature-survey` or manually)
|
|
19
|
+
- Need to write a literature review section for a thesis/paper
|
|
20
|
+
- Writing a standalone survey paper
|
|
21
|
+
- Synthesizing findings across multiple papers
|
|
22
|
+
|
|
23
|
+
**NOT for:**
|
|
24
|
+
- Searching and discovering new papers (use `/literature-survey`)
|
|
25
|
+
- Generating research ideas (use `/idea-generation`)
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Prerequisites
|
|
30
|
+
|
|
31
|
+
Before starting, ensure you have:
|
|
32
|
+
1. Papers collected in `$WORKSPACE/papers/`
|
|
33
|
+
2. Ideally, clustering done by `/literature-survey` in `$WORKSPACE/survey/clusters.json`
|
|
34
|
+
|
|
35
|
+
Check active project:
|
|
36
|
+
```bash
|
|
37
|
+
cat ~/.openclaw/workspace/projects/.active 2>/dev/null
|
|
38
|
+
ls $WORKSPACE/papers/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Phase 1: Reading Strategy
|
|
44
|
+
|
|
45
|
+
### 1.1 Triage Papers by Priority
|
|
46
|
+
|
|
47
|
+
Based on clusters from survey, prioritize reading:
|
|
48
|
+
|
|
49
|
+
| Priority | Criteria | Reading Depth |
|
|
50
|
+
|----------|----------|---------------|
|
|
51
|
+
| P1 (必读) | 高引用、奠基性工作、你的直接相关方向 | 精读全文 |
|
|
52
|
+
| P2 (重要) | 主要方法论、重要实验结果 | 读摘要+方法+实验 |
|
|
53
|
+
| P3 (参考) | 辅助材料、边缘相关 | 仅读摘要 |
|
|
54
|
+
|
|
55
|
+
Create `$WORKSPACE/review/reading_plan.md`:
|
|
56
|
+
|
|
57
|
+
```markdown
|
|
58
|
+
# Reading Plan
|
|
59
|
+
|
|
60
|
+
## P1 - 必读 (精读)
|
|
61
|
+
- [ ] [paper_id]: [title] - [reason]
|
|
62
|
+
- [ ] ...
|
|
63
|
+
|
|
64
|
+
## P2 - 重要 (选读)
|
|
65
|
+
- [ ] ...
|
|
66
|
+
|
|
67
|
+
## P3 - 参考 (略读)
|
|
68
|
+
- [ ] ...
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 1.2 Reading Notes Template
|
|
72
|
+
|
|
73
|
+
For each paper, create `$WORKSPACE/review/notes/{paper_id}.md`:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
# [Paper Title]
|
|
77
|
+
|
|
78
|
+
**ID**: [arxiv_id / DOI]
|
|
79
|
+
**Authors**: [author list]
|
|
80
|
+
**Year**: [year]
|
|
81
|
+
**Venue**: [conference/journal]
|
|
82
|
+
**Priority**: P1/P2/P3
|
|
83
|
+
|
|
84
|
+
## One-sentence Summary
|
|
85
|
+
[用一句话概括这篇论文的核心贡献]
|
|
86
|
+
|
|
87
|
+
## Problem & Motivation
|
|
88
|
+
- 研究什么问题?
|
|
89
|
+
- 为什么重要?
|
|
90
|
+
- 现有方法的不足?
|
|
91
|
+
|
|
92
|
+
## Method
|
|
93
|
+
### Core Idea
|
|
94
|
+
[核心创新点]
|
|
95
|
+
|
|
96
|
+
### Technical Approach
|
|
97
|
+
[关键技术细节]
|
|
98
|
+
|
|
99
|
+
### Key Equations
|
|
100
|
+
```latex
|
|
101
|
+
[重要公式]
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Experiments
|
|
105
|
+
- **Datasets**: [使用的数据集]
|
|
106
|
+
- **Baselines**: [对比方法]
|
|
107
|
+
- **Metrics**: [评价指标]
|
|
108
|
+
- **Key Results**: [主要结论]
|
|
109
|
+
|
|
110
|
+
## Strengths
|
|
111
|
+
1. [优点1]
|
|
112
|
+
2. [优点2]
|
|
113
|
+
|
|
114
|
+
## Limitations
|
|
115
|
+
1. [局限1]
|
|
116
|
+
2. [局限2]
|
|
117
|
+
|
|
118
|
+
## Connections
|
|
119
|
+
- 与 [paper_x] 的关系:[描述]
|
|
120
|
+
- 改进了 [method_y]:[如何改进]
|
|
121
|
+
- 被 [paper_z] 引用/扩展:[描述]
|
|
122
|
+
|
|
123
|
+
## Quotes for Citation
|
|
124
|
+
> "[重要原文]" (Section X, Page Y)
|
|
125
|
+
|
|
126
|
+
## My Comments
|
|
127
|
+
[你的思考、疑问、可能的改进方向]
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Phase 2: Synthesis & Organization
|
|
133
|
+
|
|
134
|
+
### 2.1 Build Comparison Table
|
|
135
|
+
|
|
136
|
+
Create `$WORKSPACE/review/comparison.md`:
|
|
137
|
+
|
|
138
|
+
```markdown
|
|
139
|
+
# Method Comparison
|
|
140
|
+
|
|
141
|
+
| Paper | Year | Category | Key Innovation | Dataset | Metric | Result |
|
|
142
|
+
|-------|------|----------|----------------|---------|--------|--------|
|
|
143
|
+
| [A] | 2023 | Data-driven | ... | ... | RMSE | 0.05 |
|
|
144
|
+
| [B] | 2022 | Hybrid | ... | ... | RMSE | 0.08 |
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### 2.2 Timeline Analysis
|
|
148
|
+
|
|
149
|
+
Create `$WORKSPACE/review/timeline.md`:
|
|
150
|
+
|
|
151
|
+
```markdown
|
|
152
|
+
# Research Timeline
|
|
153
|
+
|
|
154
|
+
## 2018-2019: 早期探索
|
|
155
|
+
- [Paper A]: 首次提出 X 方法
|
|
156
|
+
- [Paper B]: 引入 Y 技术
|
|
157
|
+
|
|
158
|
+
## 2020-2021: 方法成熟
|
|
159
|
+
- [Paper C]: 提出 SOTA 方法
|
|
160
|
+
- ...
|
|
161
|
+
|
|
162
|
+
## 2022-2023: 新趋势
|
|
163
|
+
- [Paper D]: 开始关注 Z 问题
|
|
164
|
+
- ...
|
|
165
|
+
|
|
166
|
+
## Key Milestones
|
|
167
|
+
1. [Year]: [Event/Paper] - [Significance]
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### 2.3 Taxonomy Design
|
|
171
|
+
|
|
172
|
+
Create `$WORKSPACE/review/taxonomy.md`:
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
# Taxonomy of Approaches
|
|
176
|
+
|
|
177
|
+
## Dimension 1: Method Type
|
|
178
|
+
├── Data-driven
|
|
179
|
+
│ ├── Statistical (e.g., GPR, SVM)
|
|
180
|
+
│ ├── Deep Learning
|
|
181
|
+
│ │ ├── CNN-based
|
|
182
|
+
│ │ ├── RNN/LSTM-based
|
|
183
|
+
│ │ └── Transformer-based
|
|
184
|
+
│ └── Hybrid
|
|
185
|
+
└── Model-based
|
|
186
|
+
├── Electrochemical
|
|
187
|
+
└── Equivalent Circuit
|
|
188
|
+
|
|
189
|
+
## Dimension 2: Data Source
|
|
190
|
+
├── Laboratory Data
|
|
191
|
+
├── Real-world Driving Data
|
|
192
|
+
└── Synthetic Data
|
|
193
|
+
|
|
194
|
+
## Dimension 3: Prediction Horizon
|
|
195
|
+
├── Short-term (< 100 cycles)
|
|
196
|
+
├── Medium-term (100-500 cycles)
|
|
197
|
+
└── Long-term (> 500 cycles)
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Phase 3: Writing Structure
|
|
203
|
+
|
|
204
|
+
### 3.1 Survey Paper Template
|
|
205
|
+
|
|
206
|
+
Create `$WORKSPACE/review/draft.md`:
|
|
207
|
+
|
|
208
|
+
```markdown
|
|
209
|
+
# [Survey Title]: A Comprehensive Review
|
|
210
|
+
|
|
211
|
+
## Abstract
|
|
212
|
+
[Background - 1 sentence]
|
|
213
|
+
[Problem - 1 sentence]
|
|
214
|
+
[What this survey covers - 2 sentences]
|
|
215
|
+
[Key findings - 2 sentences]
|
|
216
|
+
[Conclusion - 1 sentence]
|
|
217
|
+
|
|
218
|
+
## 1. Introduction
|
|
219
|
+
|
|
220
|
+
### 1.1 Background and Motivation
|
|
221
|
+
[为什么这个领域重要?]
|
|
222
|
+
[当前研究的热度和趋势]
|
|
223
|
+
|
|
224
|
+
### 1.2 Scope of This Survey
|
|
225
|
+
[本综述覆盖的范围]
|
|
226
|
+
[与已有综述的区别]
|
|
227
|
+
|
|
228
|
+
### 1.3 Contributions
|
|
229
|
+
本文的主要贡献:
|
|
230
|
+
1. [贡献1]
|
|
231
|
+
2. [贡献2]
|
|
232
|
+
3. [贡献3]
|
|
233
|
+
|
|
234
|
+
### 1.4 Organization
|
|
235
|
+
本文结构如下:
|
|
236
|
+
- Section 2: [内容]
|
|
237
|
+
- Section 3: [内容]
|
|
238
|
+
- ...
|
|
239
|
+
|
|
240
|
+
## 2. Background and Preliminaries
|
|
241
|
+
|
|
242
|
+
### 2.1 Problem Definition
|
|
243
|
+
[正式定义研究问题]
|
|
244
|
+
|
|
245
|
+
### 2.2 Key Concepts
|
|
246
|
+
[核心概念解释]
|
|
247
|
+
|
|
248
|
+
### 2.3 Evaluation Metrics
|
|
249
|
+
[常用评价指标]
|
|
250
|
+
|
|
251
|
+
## 3. Taxonomy of Methods
|
|
252
|
+
|
|
253
|
+
### 3.1 Category A: [Name]
|
|
254
|
+
|
|
255
|
+
#### 3.1.1 Subcategory A.1
|
|
256
|
+
[方法描述]
|
|
257
|
+
[代表性工作]
|
|
258
|
+
|
|
259
|
+
#### 3.1.2 Subcategory A.2
|
|
260
|
+
...
|
|
261
|
+
|
|
262
|
+
### 3.2 Category B: [Name]
|
|
263
|
+
...
|
|
264
|
+
|
|
265
|
+
## 4. Comparative Analysis
|
|
266
|
+
|
|
267
|
+
### 4.1 Quantitative Comparison
|
|
268
|
+
[对比表格]
|
|
269
|
+
[结果分析]
|
|
270
|
+
|
|
271
|
+
### 4.2 Qualitative Comparison
|
|
272
|
+
[方法特点对比]
|
|
273
|
+
[适用场景分析]
|
|
274
|
+
|
|
275
|
+
## 5. Datasets and Benchmarks
|
|
276
|
+
|
|
277
|
+
### 5.1 Public Datasets
|
|
278
|
+
| Dataset | Size | Source | Features |
|
|
279
|
+
|---------|------|--------|----------|
|
|
280
|
+
| ... | ... | ... | ... |
|
|
281
|
+
|
|
282
|
+
### 5.2 Benchmark Protocols
|
|
283
|
+
[常用的实验设置]
|
|
284
|
+
|
|
285
|
+
## 6. Challenges and Future Directions
|
|
286
|
+
|
|
287
|
+
### 6.1 Open Challenges
|
|
288
|
+
1. **Challenge 1**: [描述]
|
|
289
|
+
2. **Challenge 2**: [描述]
|
|
290
|
+
|
|
291
|
+
### 6.2 Emerging Trends
|
|
292
|
+
1. **Trend 1**: [描述]
|
|
293
|
+
2. **Trend 2**: [描述]
|
|
294
|
+
|
|
295
|
+
### 6.3 Recommended Research Directions
|
|
296
|
+
1. [方向1]
|
|
297
|
+
2. [方向2]
|
|
298
|
+
|
|
299
|
+
## 7. Conclusion
|
|
300
|
+
[总结主要发现]
|
|
301
|
+
[对领域的展望]
|
|
302
|
+
|
|
303
|
+
## References
|
|
304
|
+
[BibTeX entries]
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### 3.2 Thesis Literature Review Template
|
|
308
|
+
|
|
309
|
+
For a thesis chapter, use this structure:
|
|
310
|
+
|
|
311
|
+
```markdown
|
|
312
|
+
# Chapter 2: Literature Review
|
|
313
|
+
|
|
314
|
+
## 2.1 Introduction
|
|
315
|
+
[本章目标和结构]
|
|
316
|
+
|
|
317
|
+
## 2.2 [Topic Area 1]
|
|
318
|
+
[相关工作综述]
|
|
319
|
+
|
|
320
|
+
## 2.3 [Topic Area 2]
|
|
321
|
+
[相关工作综述]
|
|
322
|
+
|
|
323
|
+
## 2.4 Summary and Research Gaps
|
|
324
|
+
[总结现有工作的不足]
|
|
325
|
+
[引出你的研究问题]
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## Phase 4: Writing Tips
|
|
331
|
+
|
|
332
|
+
### Citation Density Guidelines
|
|
333
|
+
|
|
334
|
+
| Section | Citation Density |
|
|
335
|
+
|---------|------------------|
|
|
336
|
+
| Abstract | 0 citations |
|
|
337
|
+
| Introduction | 10-20 citations |
|
|
338
|
+
| Background | 5-10 citations |
|
|
339
|
+
| Main Survey | 50-100+ citations |
|
|
340
|
+
| Conclusion | 2-5 citations |
|
|
341
|
+
|
|
342
|
+
### Transition Phrases
|
|
343
|
+
|
|
344
|
+
**Introducing similar work:**
|
|
345
|
+
- "Similarly, [Author] proposed..."
|
|
346
|
+
- "Following this direction, ..."
|
|
347
|
+
- "Building upon [X], [Author] extended..."
|
|
348
|
+
|
|
349
|
+
**Introducing contrasting work:**
|
|
350
|
+
- "In contrast, [Author] argued..."
|
|
351
|
+
- "However, [Author] took a different approach..."
|
|
352
|
+
- "Unlike previous methods, ..."
|
|
353
|
+
|
|
354
|
+
**Summarizing:**
|
|
355
|
+
- "In summary, existing methods can be categorized into..."
|
|
356
|
+
- "The key insight from these works is..."
|
|
357
|
+
|
|
358
|
+
### Common Mistakes to Avoid
|
|
359
|
+
|
|
360
|
+
1. **列举式写作** - 不要只是 "A did X, B did Y, C did Z"
|
|
361
|
+
2. **缺乏比较** - 要分析方法之间的关系和区别
|
|
362
|
+
3. **时态混乱** - 描述方法用现在时,描述实验结果用过去时
|
|
363
|
+
4. **过度引用** - 不是每句话都需要引用
|
|
364
|
+
5. **遗漏重要工作** - 确保覆盖领域的奠基性工作
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
## Output Files
|
|
369
|
+
|
|
370
|
+
```
|
|
371
|
+
$WORKSPACE/review/
|
|
372
|
+
├── reading_plan.md # 阅读计划
|
|
373
|
+
├── notes/ # 阅读笔记
|
|
374
|
+
│ ├── {paper_id}.md
|
|
375
|
+
│ └── ...
|
|
376
|
+
├── comparison.md # 对比表格
|
|
377
|
+
├── timeline.md # 时间线分析
|
|
378
|
+
├── taxonomy.md # 分类体系
|
|
379
|
+
├── draft.md # 综述草稿
|
|
380
|
+
└── bibliography.bib # 参考文献
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
## Commands
|
|
386
|
+
|
|
387
|
+
- "帮我写综述" → Full workflow from reading to writing
|
|
388
|
+
- "生成阅读计划" → Create reading_plan.md
|
|
389
|
+
- "对比这些论文" → Generate comparison.md
|
|
390
|
+
- "写综述草稿" → Generate draft.md
|
|
391
|
+
- "润色这一段" → Polish specific section
|
package/skills/arxiv/SKILL.md
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: arxiv
|
|
3
|
-
description: "Search arXiv.org for academic papers using the built-in arxiv tool. Use for literature search, finding related work, and downloading paper sources."
|
|
4
|
-
metadata:
|
|
5
|
-
{
|
|
6
|
-
"openclaw":
|
|
7
|
-
{
|
|
8
|
-
"emoji": "📚",
|
|
9
|
-
},
|
|
10
|
-
}
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# ArXiv Search
|
|
14
|
-
|
|
15
|
-
Use the built-in `arxiv` tool to search for academic papers on arXiv.org.
|
|
16
|
-
|
|
17
|
-
## Basic Search
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
arxiv query:"graph neural network" max_results:10
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Parameters
|
|
24
|
-
|
|
25
|
-
| Parameter | Type | Description |
|
|
26
|
-
|-----------|------|-------------|
|
|
27
|
-
| `query` | string | Search query (required) |
|
|
28
|
-
| `max_results` | number | Max papers to return (default: 10, max: 50) |
|
|
29
|
-
| `sort_by` | string | Sort by: "relevance", "lastUpdatedDate", "submittedDate" |
|
|
30
|
-
| `date_from` | string | Filter papers after this date (YYYY-MM-DD) |
|
|
31
|
-
| `download` | boolean | Download .tex source files (default: false) |
|
|
32
|
-
| `output_dir` | string | Directory for downloads (default: ~/.openclaw/workspace/papers/) |
|
|
33
|
-
|
|
34
|
-
## Examples
|
|
35
|
-
|
|
36
|
-
Search for recent transformer papers:
|
|
37
|
-
```
|
|
38
|
-
arxiv query:"transformer attention mechanism" sort_by:"submittedDate" max_results:5
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
Search with date filter:
|
|
42
|
-
```
|
|
43
|
-
arxiv query:"diffusion models" date_from:"2024-01-01"
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Search and download .tex sources:
|
|
47
|
-
```
|
|
48
|
-
arxiv query:"transformer attention" max_results:5 download:true
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Output
|
|
52
|
-
|
|
53
|
-
Returns JSON with:
|
|
54
|
-
- `query`: The search query
|
|
55
|
-
- `total`: Number of results
|
|
56
|
-
- `papers`: Array of paper objects with:
|
|
57
|
-
- `title`: Paper title
|
|
58
|
-
- `authors`: List of authors
|
|
59
|
-
- `abstract`: Paper abstract
|
|
60
|
-
- `arxiv_id`: ArXiv ID (e.g., "2401.12345")
|
|
61
|
-
- `pdf_url`: Direct PDF link
|
|
62
|
-
- `published`: Publication date
|
|
63
|
-
- `categories`: ArXiv categories (e.g., "cs.LG", "cs.AI")
|
|
64
|
-
|
|
65
|
-
When `download: true`:
|
|
66
|
-
- `downloads`: Array of download results with:
|
|
67
|
-
- `arxiv_id`: Paper ID
|
|
68
|
-
- `format`: "tex" or "pdf" (fallback)
|
|
69
|
-
- `files`: List of downloaded files
|
|
70
|
-
- `error`: Error message if download failed
|
|
71
|
-
- `output_dir`: Directory where files were saved
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Downloading Paper Source (.tex)
|
|
76
|
-
|
|
77
|
-
**IMPORTANT**: Prefer downloading .tex source over PDF for better AI readability.
|
|
78
|
-
|
|
79
|
-
### Download .tex Source (Recommended - Use Tool)
|
|
80
|
-
|
|
81
|
-
The easiest way is to use the `arxiv` tool with `download: true`:
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
arxiv query:"your search" max_results:5 download:true output_dir:"~/.openclaw/workspace/papers"
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
This automatically:
|
|
88
|
-
1. Downloads .tex source from `https://arxiv.org/src/{arxiv_id}`
|
|
89
|
-
2. Extracts tar.gz archives
|
|
90
|
-
3. Falls back to PDF if .tex unavailable
|
|
91
|
-
|
|
92
|
-
### Manual Download (Bash)
|
|
93
|
-
|
|
94
|
-
If you need to download specific papers manually:
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
mkdir -p ~/.openclaw/workspace/papers/{arxiv_id}
|
|
98
|
-
cd ~/.openclaw/workspace/papers/{arxiv_id}
|
|
99
|
-
curl -L "https://arxiv.org/src/{arxiv_id}" -o source.tar.gz
|
|
100
|
-
tar -xzf source.tar.gz
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### Why .tex over PDF?
|
|
104
|
-
|
|
105
|
-
| Format | AI Readability | Formulas | Structure |
|
|
106
|
-
|--------|---------------|----------|-----------|
|
|
107
|
-
| **.tex** | Excellent | Full LaTeX | Preserved |
|
|
108
|
-
| .pdf | Poor (needs OCR) | Lost/garbled | Lost |
|
|
109
|
-
|
|
110
|
-
### Fallback to PDF
|
|
111
|
-
|
|
112
|
-
If .tex source is unavailable (404 error), fall back to PDF:
|
|
113
|
-
```bash
|
|
114
|
-
curl -L "https://arxiv.org/pdf/{arxiv_id}.pdf" -o ~/.openclaw/workspace/papers/{arxiv_id}.pdf
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
## Workspace Integration
|
|
120
|
-
|
|
121
|
-
**Project-based workspace**: When using with `idea-generation` or `research-pipeline` skills, papers are stored per-project:
|
|
122
|
-
|
|
123
|
-
```
|
|
124
|
-
~/.openclaw/workspace/projects/
|
|
125
|
-
├── .active # Current project ID
|
|
126
|
-
├── {project-id}/ # e.g., nlp-summarization, cv-segmentation
|
|
127
|
-
│ ├── project.json # Project metadata
|
|
128
|
-
│ ├── papers/ # Downloaded papers for THIS project
|
|
129
|
-
│ │ ├── 2401.12345/ # Extracted .tex source
|
|
130
|
-
│ │ │ ├── main.tex
|
|
131
|
-
│ │ │ └── ...
|
|
132
|
-
│ │ └── 2402.67890.pdf # PDF fallback
|
|
133
|
-
│ └── ...
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
**When called from idea-generation**: Use `output_dir: "$WORKSPACE/papers"` where `$WORKSPACE` is the active project directory.
|
|
137
|
-
|
|
138
|
-
**Standalone usage**: Default `output_dir` is `~/.openclaw/workspace/papers/` (flat structure).
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: literature-review
|
|
3
|
-
description: "Generate reading notes and summaries from EXISTING papers (PDF/.tex files user already has). Use for: summarize papers, create reading notes, write literature review section. Does NOT search for new papers or generate research ideas."
|
|
4
|
-
metadata:
|
|
5
|
-
{
|
|
6
|
-
"openclaw":
|
|
7
|
-
{
|
|
8
|
-
"emoji": "📖",
|
|
9
|
-
},
|
|
10
|
-
}
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Literature Review
|
|
14
|
-
|
|
15
|
-
Generate structured notes and synthesis documents from academic papers. Use this skill when the user wants to:
|
|
16
|
-
- Summarize papers they've collected
|
|
17
|
-
- Create reading notes for a research topic
|
|
18
|
-
- Write a literature review section
|
|
19
|
-
- Compare methods across multiple papers
|
|
20
|
-
|
|
21
|
-
## Workspace Convention (Project-based)
|
|
22
|
-
|
|
23
|
-
**IMPORTANT**: OpenClaw uses project-based workspaces. Each research topic has its own project directory.
|
|
24
|
-
|
|
25
|
-
### Check Active Project First
|
|
26
|
-
|
|
27
|
-
Before starting, check the active project:
|
|
28
|
-
```bash
|
|
29
|
-
cat ~/.openclaw/workspace/projects/.active 2>/dev/null
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
If a project is active, use `$WORKSPACE = ~/.openclaw/workspace/projects/{project_id}/`.
|
|
33
|
-
|
|
34
|
-
If no active project, use the flat structure: `~/.openclaw/workspace/`.
|
|
35
|
-
|
|
36
|
-
### Project-based Structure (Recommended)
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
~/.openclaw/workspace/projects/{project-id}/
|
|
40
|
-
├── project.json # Project metadata
|
|
41
|
-
├── papers/ # Downloaded PDFs/tex files
|
|
42
|
-
│ ├── 2401.12345/
|
|
43
|
-
│ │ └── main.tex
|
|
44
|
-
│ └── ...
|
|
45
|
-
└── literature/ # Generated outputs
|
|
46
|
-
├── notes/ # Per-paper notes
|
|
47
|
-
│ ├── 2401.12345.md
|
|
48
|
-
│ └── ...
|
|
49
|
-
├── synthesis.md # Cross-paper synthesis
|
|
50
|
-
├── bibliography.bib # BibTeX entries
|
|
51
|
-
└── review_draft.md # Optional: formatted review
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Flat Structure (Fallback)
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
~/.openclaw/workspace/
|
|
58
|
-
├── papers/
|
|
59
|
-
└── literature/
|
|
60
|
-
├── notes/
|
|
61
|
-
├── synthesis.md
|
|
62
|
-
└── ...
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
**File existence = step completion.** Skip steps whose output already exists.
|
|
66
|
-
|
|
67
|
-
**In the steps below**, `$WORKSPACE` refers to the active project directory or `~/.openclaw/workspace/` if no project is active.
|
|
68
|
-
|
|
69
|
-
## Step 1: Gather Papers
|
|
70
|
-
|
|
71
|
-
Check what papers are available:
|
|
72
|
-
|
|
73
|
-
1. **Check active project first**: `cat ~/.openclaw/workspace/projects/.active`
|
|
74
|
-
2. **Look in project papers directory**: `ls -la $WORKSPACE/papers/`
|
|
75
|
-
3. Check if user provided URLs or arXiv IDs
|
|
76
|
-
|
|
77
|
-
If no papers found, ask user to provide:
|
|
78
|
-
- ArXiv IDs (e.g., "2401.12345")
|
|
79
|
-
- PDF URLs
|
|
80
|
-
- Local file paths
|
|
81
|
-
|
|
82
|
-
## Step 2: Read and Annotate Each Paper
|
|
83
|
-
|
|
84
|
-
For each paper, create `$WORKSPACE/literature/notes/<paper_id>.md`:
|
|
85
|
-
|
|
86
|
-
First, ensure the output directory exists:
|
|
87
|
-
```bash
|
|
88
|
-
mkdir -p $WORKSPACE/literature/notes
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
```markdown
|
|
92
|
-
# [Paper Title]
|
|
93
|
-
|
|
94
|
-
**ArXiv/DOI**: [id]
|
|
95
|
-
**Authors**: [list]
|
|
96
|
-
**Year**: [year]
|
|
97
|
-
**Venue**: [conference/journal if known]
|
|
98
|
-
|
|
99
|
-
## TL;DR
|
|
100
|
-
[1-2 sentence summary of the main contribution]
|
|
101
|
-
|
|
102
|
-
## Problem Statement
|
|
103
|
-
[What problem does this paper address?]
|
|
104
|
-
|
|
105
|
-
## Method
|
|
106
|
-
[Key approach, algorithm, or framework]
|
|
107
|
-
|
|
108
|
-
### Core Idea
|
|
109
|
-
[The central insight or innovation]
|
|
110
|
-
|
|
111
|
-
### Technical Details
|
|
112
|
-
[Important formulas, architectures, or algorithms]
|
|
113
|
-
|
|
114
|
-
```latex
|
|
115
|
-
[Key equations if applicable]
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## Experiments
|
|
119
|
-
- **Datasets**: [list]
|
|
120
|
-
- **Baselines**: [list]
|
|
121
|
-
- **Main Results**: [key numbers]
|
|
122
|
-
|
|
123
|
-
## Strengths
|
|
124
|
-
- [strength 1]
|
|
125
|
-
- [strength 2]
|
|
126
|
-
|
|
127
|
-
## Weaknesses / Limitations
|
|
128
|
-
- [limitation 1]
|
|
129
|
-
- [limitation 2]
|
|
130
|
-
|
|
131
|
-
## Relevance to My Research
|
|
132
|
-
[How does this paper relate to the user's work? Leave blank if unknown]
|
|
133
|
-
|
|
134
|
-
## Key Quotes
|
|
135
|
-
> "[Important quote from the paper]" (Section X)
|
|
136
|
-
|
|
137
|
-
## References to Follow
|
|
138
|
-
- [Paper A]: [why interesting]
|
|
139
|
-
- [Paper B]: [why interesting]
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Reading Strategy by Format
|
|
143
|
-
|
|
144
|
-
| Format | Method |
|
|
145
|
-
|--------|--------|
|
|
146
|
-
| `.tex` | Use `read` directly. Search for `\section`, `\begin{equation}` |
|
|
147
|
-
| `.pdf` | Use `read` (OpenClaw supports PDF). Focus on abstract, intro, method, experiments |
|
|
148
|
-
| URL | Use `web_fetch` to get content, then summarize |
|
|
149
|
-
|
|
150
|
-
### Quality Checklist
|
|
151
|
-
|
|
152
|
-
Before finishing a note, verify:
|
|
153
|
-
- [ ] TL;DR captures the main contribution
|
|
154
|
-
- [ ] Method section explains the approach clearly
|
|
155
|
-
- [ ] At least 2 strengths and 2 limitations identified
|
|
156
|
-
- [ ] Key equations/algorithms included if applicable
|
|
157
|
-
|
|
158
|
-
## Step 3: Generate BibTeX
|
|
159
|
-
|
|
160
|
-
Create `$WORKSPACE/literature/bibliography.bib`:
|
|
161
|
-
|
|
162
|
-
```bibtex
|
|
163
|
-
@article{author2024title,
|
|
164
|
-
title={Full Paper Title},
|
|
165
|
-
author={Last, First and Last2, First2},
|
|
166
|
-
journal={arXiv preprint arXiv:2401.12345},
|
|
167
|
-
year={2024}
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
For arXiv papers, use this format. For published papers, include venue, volume, pages.
|
|
172
|
-
|
|
173
|
-
## Step 4: Synthesize Across Papers
|
|
174
|
-
|
|
175
|
-
Create `$WORKSPACE/literature/synthesis.md`:
|
|
176
|
-
|
|
177
|
-
```markdown
|
|
178
|
-
# Literature Synthesis: [Topic]
|
|
179
|
-
|
|
180
|
-
## Overview
|
|
181
|
-
[Brief introduction to the research area]
|
|
182
|
-
|
|
183
|
-
## Taxonomy of Approaches
|
|
184
|
-
|
|
185
|
-
### Category A: [Name]
|
|
186
|
-
Papers: [list]
|
|
187
|
-
Key characteristics: [describe]
|
|
188
|
-
|
|
189
|
-
### Category B: [Name]
|
|
190
|
-
Papers: [list]
|
|
191
|
-
Key characteristics: [describe]
|
|
192
|
-
|
|
193
|
-
## Comparison Table
|
|
194
|
-
|
|
195
|
-
| Paper | Method | Dataset | Key Metric | Result |
|
|
196
|
-
|-------|--------|---------|------------|--------|
|
|
197
|
-
| [A] | ... | ... | ... | ... |
|
|
198
|
-
| [B] | ... | ... | ... | ... |
|
|
199
|
-
|
|
200
|
-
## Evolution of Ideas
|
|
201
|
-
[How has the field progressed? What are the trends?]
|
|
202
|
-
|
|
203
|
-
## Open Problems
|
|
204
|
-
1. [Gap 1]
|
|
205
|
-
2. [Gap 2]
|
|
206
|
-
|
|
207
|
-
## Recommendations
|
|
208
|
-
[Which papers to read first? Which approaches are most promising?]
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
## Step 5 (Optional): Draft Literature Review
|
|
212
|
-
|
|
213
|
-
If user requests a formal review, create `$WORKSPACE/literature/review_draft.md`:
|
|
214
|
-
|
|
215
|
-
```markdown
|
|
216
|
-
# Literature Review: [Topic]
|
|
217
|
-
|
|
218
|
-
## 1. Introduction
|
|
219
|
-
[Context and motivation for the review]
|
|
220
|
-
|
|
221
|
-
## 2. Background
|
|
222
|
-
[Essential concepts the reader needs]
|
|
223
|
-
|
|
224
|
-
## 3. Survey of Methods
|
|
225
|
-
|
|
226
|
-
### 3.1 [Category A]
|
|
227
|
-
[Describe approaches in this category, cite papers]
|
|
228
|
-
|
|
229
|
-
### 3.2 [Category B]
|
|
230
|
-
[Describe approaches in this category, cite papers]
|
|
231
|
-
|
|
232
|
-
## 4. Empirical Comparison
|
|
233
|
-
[Summarize experimental findings across papers]
|
|
234
|
-
|
|
235
|
-
## 5. Discussion
|
|
236
|
-
[Trends, gaps, and future directions]
|
|
237
|
-
|
|
238
|
-
## 6. Conclusion
|
|
239
|
-
[Key takeaways]
|
|
240
|
-
|
|
241
|
-
## References
|
|
242
|
-
[BibTeX citations]
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
## Batch Processing
|
|
246
|
-
|
|
247
|
-
If reviewing more than 10 papers:
|
|
248
|
-
1. First pass: Generate TL;DR only for all papers
|
|
249
|
-
2. User selects which papers need full notes
|
|
250
|
-
3. Second pass: Full notes for selected papers
|
|
251
|
-
4. Final pass: Synthesis
|
|
252
|
-
|
|
253
|
-
Do NOT process all papers with full detail in a single session—context will overflow.
|
|
254
|
-
|
|
255
|
-
## Commands
|
|
256
|
-
|
|
257
|
-
User can say:
|
|
258
|
-
- "Review these papers" → Full workflow
|
|
259
|
-
- "Just summarize [paper]" → Single paper note
|
|
260
|
-
- "Compare [paper A] and [paper B]" → Focused comparison
|
|
261
|
-
- "Write a literature review on [topic]" → Full review draft
|
|
File without changes
|