scientify 1.1.5 → 1.2.1

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.
@@ -0,0 +1,217 @@
1
+ ---
2
+ name: write-review-paper
3
+ description: "Write literature review or survey paper from EXISTING papers. Guides reading strategy, note-taking, synthesis, and academic writing. Use for: writing thesis lit review, standalone survey papers, synthesizing findings. NOT for: searching new papers (use /literature-survey), generating research ideas (use /idea-generation)."
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
+ ## Prerequisites
18
+
19
+ Before starting, ensure you have:
20
+ 1. Papers collected in `$WORKSPACE/papers/`
21
+ 2. Ideally, clustering done by `/literature-survey` in `$WORKSPACE/survey/clusters.json`
22
+
23
+ Check active project:
24
+ ```bash
25
+ cat ~/.openclaw/workspace/projects/.active 2>/dev/null
26
+ ls $WORKSPACE/papers/
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Phase 1: Reading Strategy
32
+
33
+ ### 1.1 Triage Papers by Priority
34
+
35
+ Based on clusters from survey, prioritize reading:
36
+
37
+ | Priority | Criteria | Reading Depth |
38
+ |----------|----------|---------------|
39
+ | P1 (必读) | 高引用、奠基性工作、你的直接相关方向 | 精读全文 |
40
+ | P2 (重要) | 主要方法论、重要实验结果 | 读摘要+方法+实验 |
41
+ | P3 (参考) | 辅助材料、边缘相关 | 仅读摘要 |
42
+
43
+ Create `$WORKSPACE/review/reading_plan.md`:
44
+
45
+ ```markdown
46
+ # Reading Plan
47
+
48
+ ## P1 - 必读 (精读)
49
+ - [ ] [paper_id]: [title] - [reason]
50
+ - [ ] ...
51
+
52
+ ## P2 - 重要 (选读)
53
+ - [ ] ...
54
+
55
+ ## P3 - 参考 (略读)
56
+ - [ ] ...
57
+ ```
58
+
59
+ ### 1.2 Reading Notes Template
60
+
61
+ For each paper, create `$WORKSPACE/review/notes/{paper_id}.md` using template in `references/note-template.md`.
62
+
63
+ ---
64
+
65
+ ## Phase 2: Synthesis & Organization
66
+
67
+ ### 2.1 Build Comparison Table
68
+
69
+ Create `$WORKSPACE/review/comparison.md`:
70
+
71
+ ```markdown
72
+ # Method Comparison
73
+
74
+ | Paper | Year | Category | Key Innovation | Dataset | Metric | Result |
75
+ |-------|------|----------|----------------|---------|--------|--------|
76
+ | [A] | 2023 | Data-driven | ... | ... | RMSE | 0.05 |
77
+ | [B] | 2022 | Hybrid | ... | ... | RMSE | 0.08 |
78
+ ```
79
+
80
+ ### 2.2 Timeline Analysis
81
+
82
+ Create `$WORKSPACE/review/timeline.md`:
83
+
84
+ ```markdown
85
+ # Research Timeline
86
+
87
+ ## 2018-2019: 早期探索
88
+ - [Paper A]: 首次提出 X 方法
89
+ - [Paper B]: 引入 Y 技术
90
+
91
+ ## 2020-2021: 方法成熟
92
+ - [Paper C]: 提出 SOTA 方法
93
+ - ...
94
+
95
+ ## 2022-2023: 新趋势
96
+ - [Paper D]: 开始关注 Z 问题
97
+ - ...
98
+
99
+ ## Key Milestones
100
+ 1. [Year]: [Event/Paper] - [Significance]
101
+ ```
102
+
103
+ ### 2.3 Taxonomy Design
104
+
105
+ Create `$WORKSPACE/review/taxonomy.md`:
106
+
107
+ ```markdown
108
+ # Taxonomy of Approaches
109
+
110
+ ## Dimension 1: Method Type
111
+ ├── Data-driven
112
+ │ ├── Statistical (e.g., GPR, SVM)
113
+ │ ├── Deep Learning
114
+ │ │ ├── CNN-based
115
+ │ │ ├── RNN/LSTM-based
116
+ │ │ └── Transformer-based
117
+ │ └── Hybrid
118
+ └── Model-based
119
+ ├── Electrochemical
120
+ └── Equivalent Circuit
121
+
122
+ ## Dimension 2: Data Source
123
+ ├── Laboratory Data
124
+ ├── Real-world Driving Data
125
+ └── Synthetic Data
126
+
127
+ ## Dimension 3: Prediction Horizon
128
+ ├── Short-term (< 100 cycles)
129
+ ├── Medium-term (100-500 cycles)
130
+ └── Long-term (> 500 cycles)
131
+ ```
132
+
133
+ ---
134
+
135
+ ## Phase 3: Writing Structure
136
+
137
+ ### 3.1 Survey Paper Template
138
+
139
+ Create `$WORKSPACE/review/draft.md` using template in `references/survey-template.md`.
140
+
141
+ Key sections: Abstract → Introduction → Background → Taxonomy → Comparison → Datasets → Future Directions → Conclusion
142
+
143
+ ### 3.2 Thesis Literature Review Template
144
+
145
+ For a thesis chapter:
146
+ ```markdown
147
+ # Chapter 2: Literature Review
148
+ ## 2.1 Introduction
149
+ ## 2.2 [Topic Area 1]
150
+ ## 2.3 [Topic Area 2]
151
+ ## 2.4 Summary and Research Gaps
152
+ ```
153
+
154
+ ---
155
+
156
+ ## Phase 4: Writing Tips
157
+
158
+ ### Citation Density Guidelines
159
+
160
+ | Section | Citation Density |
161
+ |---------|------------------|
162
+ | Abstract | 0 citations |
163
+ | Introduction | 10-20 citations |
164
+ | Background | 5-10 citations |
165
+ | Main Survey | 50-100+ citations |
166
+ | Conclusion | 2-5 citations |
167
+
168
+ ### Transition Phrases
169
+
170
+ **Introducing similar work:**
171
+ - "Similarly, [Author] proposed..."
172
+ - "Following this direction, ..."
173
+ - "Building upon [X], [Author] extended..."
174
+
175
+ **Introducing contrasting work:**
176
+ - "In contrast, [Author] argued..."
177
+ - "However, [Author] took a different approach..."
178
+ - "Unlike previous methods, ..."
179
+
180
+ **Summarizing:**
181
+ - "In summary, existing methods can be categorized into..."
182
+ - "The key insight from these works is..."
183
+
184
+ ### Common Mistakes to Avoid
185
+
186
+ 1. **列举式写作** - 不要只是 "A did X, B did Y, C did Z"
187
+ 2. **缺乏比较** - 要分析方法之间的关系和区别
188
+ 3. **时态混乱** - 描述方法用现在时,描述实验结果用过去时
189
+ 4. **过度引用** - 不是每句话都需要引用
190
+ 5. **遗漏重要工作** - 确保覆盖领域的奠基性工作
191
+
192
+ ---
193
+
194
+ ## Output Files
195
+
196
+ ```
197
+ $WORKSPACE/review/
198
+ ├── reading_plan.md # 阅读计划
199
+ ├── notes/ # 阅读笔记
200
+ │ ├── {paper_id}.md
201
+ │ └── ...
202
+ ├── comparison.md # 对比表格
203
+ ├── timeline.md # 时间线分析
204
+ ├── taxonomy.md # 分类体系
205
+ ├── draft.md # 综述草稿
206
+ └── bibliography.bib # 参考文献
207
+ ```
208
+
209
+ ---
210
+
211
+ ## Commands
212
+
213
+ - "帮我写综述" → Full workflow from reading to writing
214
+ - "生成阅读计划" → Create reading_plan.md
215
+ - "对比这些论文" → Generate comparison.md
216
+ - "写综述草稿" → Generate draft.md
217
+ - "润色这一段" → Polish specific section
@@ -0,0 +1,70 @@
1
+ # Survey Paper Template
2
+
3
+ Use this template for `$WORKSPACE/review/draft.md`:
4
+
5
+ ```markdown
6
+ # [Survey Title]: A Comprehensive Review
7
+
8
+ ## Abstract
9
+ [Background - 1 sentence]
10
+ [Problem - 1 sentence]
11
+ [What this survey covers - 2 sentences]
12
+ [Key findings - 2 sentences]
13
+ [Conclusion - 1 sentence]
14
+ ## 1. Introduction
15
+
16
+ ### 1.1 Background and Motivation
17
+ [Why this field matters]
18
+
19
+ ### 1.2 Scope of This Survey
20
+ [Coverage and differentiation from existing surveys]
21
+
22
+ ### 1.3 Contributions
23
+ 1. [Contribution 1]
24
+ 2. [Contribution 2]
25
+
26
+ ### 1.4 Organization
27
+ - Section 2: [content]
28
+ - Section 3: [content]
29
+
30
+ ## 2. Background and Preliminaries
31
+
32
+ ### 2.1 Problem Definition
33
+ ### 2.2 Key Concepts
34
+ ### 2.3 Evaluation Metrics
35
+
36
+ ## 3. Taxonomy of Methods
37
+
38
+ ### 3.1 Category A: [Name]
39
+ #### 3.1.1 Subcategory A.1
40
+ [Method description, representative works]
41
+
42
+ ### 3.2 Category B: [Name]
43
+ ...
44
+
45
+ ## 4. Comparative Analysis
46
+
47
+ ### 4.1 Quantitative Comparison
48
+ [Tables, results analysis]
49
+
50
+ ### 4.2 Qualitative Comparison
51
+ [Method characteristics, suitable scenarios]
52
+
53
+ ## 5. Datasets and Benchmarks
54
+
55
+ ### 5.1 Public Datasets
56
+ | Dataset | Size | Source | Features |
57
+ |---------|------|--------|----------|
58
+
59
+ ### 5.2 Benchmark Protocols
60
+
61
+ ## 6. Challenges and Future Directions
62
+
63
+ ### 6.1 Open Challenges
64
+ ### 6.2 Emerging Trends
65
+ ### 6.3 Recommended Research Directions
66
+
67
+ ## 7. Conclusion
68
+
69
+ ## References
70
+ ```
@@ -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