@wentorai/research-plugins 1.2.2 → 1.3.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/README.md +16 -8
- package/openclaw.plugin.json +10 -3
- package/package.json +2 -5
- package/skills/analysis/dataviz/SKILL.md +25 -0
- package/skills/analysis/dataviz/chart-image-generator/SKILL.md +1 -1
- package/skills/analysis/econometrics/SKILL.md +23 -0
- package/skills/analysis/econometrics/robustness-checks/SKILL.md +1 -1
- package/skills/analysis/statistics/SKILL.md +21 -0
- package/skills/analysis/statistics/data-anomaly-detection/SKILL.md +1 -1
- package/skills/analysis/statistics/ml-experiment-tracker/SKILL.md +1 -1
- package/skills/analysis/statistics/{senior-data-scientist-guide → modeling-strategy-guide}/SKILL.md +5 -5
- package/skills/analysis/wrangling/SKILL.md +21 -0
- package/skills/analysis/wrangling/csv-data-analyzer/SKILL.md +1 -1
- package/skills/analysis/wrangling/data-cog-guide/SKILL.md +1 -1
- package/skills/domains/ai-ml/SKILL.md +37 -0
- package/skills/domains/biomedical/SKILL.md +28 -0
- package/skills/domains/biomedical/genomas-guide/SKILL.md +1 -1
- package/skills/domains/biomedical/med-researcher-guide/SKILL.md +1 -1
- package/skills/domains/biomedical/medgeclaw-guide/SKILL.md +1 -1
- package/skills/domains/business/SKILL.md +17 -0
- package/skills/domains/business/architecture-design-guide/SKILL.md +1 -1
- package/skills/domains/chemistry/SKILL.md +19 -0
- package/skills/domains/chemistry/computational-chemistry-guide/SKILL.md +1 -1
- package/skills/domains/cs/SKILL.md +21 -0
- package/skills/domains/ecology/SKILL.md +16 -0
- package/skills/domains/economics/SKILL.md +20 -0
- package/skills/domains/economics/post-labor-economics/SKILL.md +1 -1
- package/skills/domains/economics/pricing-psychology-guide/SKILL.md +1 -1
- package/skills/domains/education/SKILL.md +19 -0
- package/skills/domains/education/academic-study-methods/SKILL.md +1 -1
- package/skills/domains/education/edumcp-guide/SKILL.md +1 -1
- package/skills/domains/finance/SKILL.md +19 -0
- package/skills/domains/finance/akshare-finance-data/SKILL.md +1 -1
- package/skills/domains/finance/options-analytics-agent-guide/SKILL.md +1 -1
- package/skills/domains/finance/stata-accounting-research/SKILL.md +1 -1
- package/skills/domains/geoscience/SKILL.md +17 -0
- package/skills/domains/humanities/SKILL.md +16 -0
- package/skills/domains/humanities/history-research-guide/SKILL.md +1 -1
- package/skills/domains/humanities/political-history-guide/SKILL.md +1 -1
- package/skills/domains/law/SKILL.md +19 -0
- package/skills/domains/math/SKILL.md +17 -0
- package/skills/domains/pharma/SKILL.md +17 -0
- package/skills/domains/physics/SKILL.md +16 -0
- package/skills/domains/social-science/SKILL.md +17 -0
- package/skills/domains/social-science/sociology-research-methods/SKILL.md +1 -1
- package/skills/literature/discovery/SKILL.md +20 -0
- package/skills/literature/discovery/paper-recommendation-guide/SKILL.md +1 -1
- package/skills/literature/discovery/semantic-paper-radar/SKILL.md +1 -1
- package/skills/literature/fulltext/SKILL.md +26 -0
- package/skills/literature/metadata/SKILL.md +35 -0
- package/skills/literature/metadata/doi-content-negotiation/SKILL.md +4 -0
- package/skills/literature/metadata/doi-resolution-guide/SKILL.md +4 -0
- package/skills/literature/metadata/orcid-api/SKILL.md +4 -0
- package/skills/literature/metadata/orcid-integration-guide/SKILL.md +4 -0
- package/skills/literature/search/SKILL.md +43 -0
- package/skills/literature/search/paper-search-mcp-guide/SKILL.md +1 -1
- package/skills/research/automation/SKILL.md +21 -0
- package/skills/research/deep-research/SKILL.md +24 -0
- package/skills/research/deep-research/auto-deep-research-guide/SKILL.md +1 -1
- package/skills/research/deep-research/in-depth-research-guide/SKILL.md +1 -1
- package/skills/research/funding/SKILL.md +20 -0
- package/skills/research/methodology/SKILL.md +24 -0
- package/skills/research/paper-review/SKILL.md +19 -0
- package/skills/research/paper-review/paper-critique-framework/SKILL.md +1 -1
- package/skills/tools/code-exec/SKILL.md +18 -0
- package/skills/tools/diagram/SKILL.md +20 -0
- package/skills/tools/document/SKILL.md +21 -0
- package/skills/tools/knowledge-graph/SKILL.md +21 -0
- package/skills/tools/ocr-translate/SKILL.md +18 -0
- package/skills/tools/ocr-translate/handwriting-recognition-guide/SKILL.md +2 -0
- package/skills/tools/ocr-translate/latex-ocr-guide/SKILL.md +2 -0
- package/skills/tools/scraping/SKILL.md +17 -0
- package/skills/writing/citation/SKILL.md +33 -0
- package/skills/writing/citation/zotfile-attachment-guide/SKILL.md +2 -0
- package/skills/writing/composition/SKILL.md +22 -0
- package/skills/writing/composition/research-paper-writer/SKILL.md +1 -1
- package/skills/writing/composition/scientific-writing-wrapper/SKILL.md +1 -1
- package/skills/writing/latex/SKILL.md +22 -0
- package/skills/writing/latex/academic-writing-latex/SKILL.md +1 -1
- package/skills/writing/latex/latex-drawing-guide/SKILL.md +1 -1
- package/skills/writing/polish/SKILL.md +20 -0
- package/skills/writing/polish/chinese-text-humanizer/SKILL.md +1 -1
- package/skills/writing/templates/SKILL.md +22 -0
- package/skills/writing/templates/beamer-presentation-guide/SKILL.md +1 -1
- package/skills/writing/templates/scientific-article-pdf/SKILL.md +1 -1
- package/skills/analysis/dataviz/citation-map-guide/SKILL.md +0 -184
- package/skills/analysis/dataviz/data-visualization-principles/SKILL.md +0 -171
- package/skills/analysis/econometrics/empirical-paper-analysis/SKILL.md +0 -192
- package/skills/analysis/econometrics/panel-data-regression-workflow/SKILL.md +0 -267
- package/skills/analysis/econometrics/stata-regression/SKILL.md +0 -117
- package/skills/analysis/statistics/general-statistics-guide/SKILL.md +0 -226
- package/skills/analysis/statistics/infiagent-benchmark-guide/SKILL.md +0 -106
- package/skills/analysis/statistics/pywayne-statistics-guide/SKILL.md +0 -192
- package/skills/analysis/statistics/quantitative-methods-guide/SKILL.md +0 -193
- package/skills/analysis/wrangling/claude-data-analysis-guide/SKILL.md +0 -100
- package/skills/analysis/wrangling/open-data-scientist-guide/SKILL.md +0 -197
- package/skills/domains/ai-ml/annotated-dl-papers-guide/SKILL.md +0 -159
- package/skills/domains/humanities/digital-humanities-methods/SKILL.md +0 -232
- package/skills/domains/law/legal-research-methods/SKILL.md +0 -190
- package/skills/domains/social-science/sociology-research-guide/SKILL.md +0 -238
- package/skills/literature/discovery/arxiv-paper-monitoring/SKILL.md +0 -233
- package/skills/literature/discovery/paper-tracking-guide/SKILL.md +0 -211
- package/skills/literature/fulltext/zotero-scihub-guide/SKILL.md +0 -168
- package/skills/literature/search/arxiv-osiris/SKILL.md +0 -199
- package/skills/literature/search/deepgit-search-guide/SKILL.md +0 -147
- package/skills/literature/search/multi-database-literature-search/SKILL.md +0 -198
- package/skills/literature/search/papers-chat-guide/SKILL.md +0 -194
- package/skills/literature/search/pasa-paper-search-guide/SKILL.md +0 -138
- package/skills/literature/search/scientify-literature-survey/SKILL.md +0 -203
- package/skills/research/automation/ai-scientist-guide/SKILL.md +0 -228
- package/skills/research/automation/coexist-ai-guide/SKILL.md +0 -149
- package/skills/research/automation/foam-agent-guide/SKILL.md +0 -203
- package/skills/research/automation/research-paper-orchestrator/SKILL.md +0 -254
- package/skills/research/deep-research/academic-deep-research/SKILL.md +0 -190
- package/skills/research/deep-research/cognitive-kernel-guide/SKILL.md +0 -200
- package/skills/research/deep-research/corvus-research-guide/SKILL.md +0 -132
- package/skills/research/deep-research/deep-research-pro/SKILL.md +0 -213
- package/skills/research/deep-research/deep-research-work/SKILL.md +0 -204
- package/skills/research/deep-research/research-cog/SKILL.md +0 -153
- package/skills/research/methodology/academic-mentor-guide/SKILL.md +0 -169
- package/skills/research/methodology/deep-innovator-guide/SKILL.md +0 -242
- package/skills/research/methodology/research-pipeline-units-guide/SKILL.md +0 -169
- package/skills/research/paper-review/paper-compare-guide/SKILL.md +0 -238
- package/skills/research/paper-review/paper-digest-guide/SKILL.md +0 -240
- package/skills/research/paper-review/paper-research-assistant/SKILL.md +0 -231
- package/skills/research/paper-review/research-quality-filter/SKILL.md +0 -261
- package/skills/tools/code-exec/contextplus-mcp-guide/SKILL.md +0 -110
- package/skills/tools/diagram/clawphd-guide/SKILL.md +0 -149
- package/skills/tools/diagram/scientific-graphical-abstract/SKILL.md +0 -201
- package/skills/tools/document/md2pdf-xelatex/SKILL.md +0 -212
- package/skills/tools/document/openpaper-guide/SKILL.md +0 -232
- package/skills/tools/document/weknora-guide/SKILL.md +0 -216
- package/skills/tools/knowledge-graph/mimir-memory-guide/SKILL.md +0 -135
- package/skills/tools/knowledge-graph/open-webui-tools-guide/SKILL.md +0 -156
- package/skills/tools/ocr-translate/formula-recognition-guide/SKILL.md +0 -367
- package/skills/tools/ocr-translate/math-equation-renderer/SKILL.md +0 -198
- package/skills/tools/scraping/api-data-collection-guide/SKILL.md +0 -301
- package/skills/writing/citation/academic-citation-manager-guide/SKILL.md +0 -182
- package/skills/writing/composition/opendraft-thesis-guide/SKILL.md +0 -200
- package/skills/writing/composition/paper-debugger-guide/SKILL.md +0 -143
- package/skills/writing/composition/paperforge-guide/SKILL.md +0 -205
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: opendraft-thesis-guide
|
|
3
|
-
description: "AI thesis writer with specialized agents and verified citations"
|
|
4
|
-
metadata:
|
|
5
|
-
openclaw:
|
|
6
|
-
emoji: "📖"
|
|
7
|
-
category: "writing"
|
|
8
|
-
subcategory: "composition"
|
|
9
|
-
keywords: ["thesis writing", "AI writer", "multi-agent", "dissertation", "academic writing", "verified citations"]
|
|
10
|
-
source: "https://github.com/federicodeponte/opendraft"
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# OpenDraft Thesis Writing Guide
|
|
14
|
-
|
|
15
|
-
## Overview
|
|
16
|
-
|
|
17
|
-
OpenDraft is an AI-powered thesis and dissertation writing assistant that uses 19 specialized agents to produce long-form academic documents with verified citations. Each agent handles a specific aspect — outline generation, literature integration, argument construction, methodology writing, and citation verification. Produces coherent multi-chapter documents while ensuring all references are real and accessible.
|
|
18
|
-
|
|
19
|
-
## Agent Architecture
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
User Input (topic, outline, notes)
|
|
23
|
-
↓
|
|
24
|
-
Orchestrator Agent
|
|
25
|
-
├── Outline Agent (structure chapters)
|
|
26
|
-
├── Literature Agent (find relevant papers)
|
|
27
|
-
├── Introduction Agent (background + motivation)
|
|
28
|
-
├── Theory Agent (theoretical framework)
|
|
29
|
-
├── Methodology Agent (research design)
|
|
30
|
-
├── Analysis Agent (results + discussion)
|
|
31
|
-
├── Conclusion Agent (summary + future work)
|
|
32
|
-
├── Citation Agent (verify all references)
|
|
33
|
-
├── Consistency Agent (terminology + notation)
|
|
34
|
-
├── Style Agent (academic tone + flow)
|
|
35
|
-
└── Formatting Agent (LaTeX/Markdown output)
|
|
36
|
-
↓
|
|
37
|
-
Verified Thesis Document
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Usage
|
|
41
|
-
|
|
42
|
-
```python
|
|
43
|
-
from opendraft import ThesisWriter
|
|
44
|
-
|
|
45
|
-
writer = ThesisWriter(
|
|
46
|
-
llm_provider="anthropic",
|
|
47
|
-
citation_backend="semantic_scholar",
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
# Generate thesis from topic and outline
|
|
51
|
-
thesis = writer.write(
|
|
52
|
-
title="Efficient Attention Mechanisms for Long-Document "
|
|
53
|
-
"Understanding",
|
|
54
|
-
outline={
|
|
55
|
-
"chapters": [
|
|
56
|
-
{"title": "Introduction",
|
|
57
|
-
"points": ["Motivation", "Research questions",
|
|
58
|
-
"Contributions"]},
|
|
59
|
-
{"title": "Background",
|
|
60
|
-
"points": ["Transformer architecture",
|
|
61
|
-
"Attention complexity",
|
|
62
|
-
"Existing solutions"]},
|
|
63
|
-
{"title": "Methodology",
|
|
64
|
-
"points": ["Proposed approach",
|
|
65
|
-
"Architecture design",
|
|
66
|
-
"Training procedure"]},
|
|
67
|
-
{"title": "Experiments",
|
|
68
|
-
"points": ["Datasets", "Baselines", "Results"]},
|
|
69
|
-
{"title": "Discussion",
|
|
70
|
-
"points": ["Analysis", "Limitations",
|
|
71
|
-
"Future work"]},
|
|
72
|
-
{"title": "Conclusion",
|
|
73
|
-
"points": ["Summary", "Implications"]},
|
|
74
|
-
],
|
|
75
|
-
},
|
|
76
|
-
notes_dir="./research_notes/",
|
|
77
|
-
bibliography="references.bib",
|
|
78
|
-
target_pages=80,
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
thesis.save("thesis.tex")
|
|
82
|
-
thesis.save("thesis.md")
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Citation Verification
|
|
86
|
-
|
|
87
|
-
```python
|
|
88
|
-
# All citations are verified against real databases
|
|
89
|
-
verification = thesis.citation_report()
|
|
90
|
-
|
|
91
|
-
print(f"Total citations: {verification.total}")
|
|
92
|
-
print(f"Verified (DOI): {verification.verified_doi}")
|
|
93
|
-
print(f"Verified (title match): {verification.verified_title}")
|
|
94
|
-
print(f"Unverified: {verification.unverified}")
|
|
95
|
-
|
|
96
|
-
# List unverified citations
|
|
97
|
-
for cite in verification.unverified_list:
|
|
98
|
-
print(f" WARNING: {cite.key} — {cite.reason}")
|
|
99
|
-
|
|
100
|
-
# All verified references have real DOIs
|
|
101
|
-
for cite in verification.verified_list[:5]:
|
|
102
|
-
print(f" OK: {cite.key} — DOI: {cite.doi}")
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
## Chapter-by-Chapter Writing
|
|
106
|
-
|
|
107
|
-
```python
|
|
108
|
-
# Write individual chapters with full context
|
|
109
|
-
chapter = writer.write_chapter(
|
|
110
|
-
chapter_title="Methodology",
|
|
111
|
-
preceding_chapters=["introduction.tex", "background.tex"],
|
|
112
|
-
key_points=[
|
|
113
|
-
"Describe the sparse attention pattern learning algorithm",
|
|
114
|
-
"Formal complexity analysis: O(n * sqrt(n))",
|
|
115
|
-
"Training with progressive sequence length curriculum",
|
|
116
|
-
],
|
|
117
|
-
target_length=5000, # words
|
|
118
|
-
include_figures=True,
|
|
119
|
-
)
|
|
120
|
-
|
|
121
|
-
print(chapter.text[:500])
|
|
122
|
-
print(f"Citations used: {len(chapter.citations)}")
|
|
123
|
-
print(f"Figures generated: {len(chapter.figures)}")
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
## Literature Integration
|
|
127
|
-
|
|
128
|
-
```python
|
|
129
|
-
# Automatically weave citations into text
|
|
130
|
-
section = writer.write_with_literature(
|
|
131
|
-
topic="linear attention mechanisms",
|
|
132
|
-
style="survey", # survey, argumentative, analytical
|
|
133
|
-
max_papers=20,
|
|
134
|
-
recency_bias=0.7, # Prefer recent papers
|
|
135
|
-
)
|
|
136
|
-
|
|
137
|
-
# Literature agent:
|
|
138
|
-
# 1. Searches Semantic Scholar for relevant papers
|
|
139
|
-
# 2. Reads abstracts and key findings
|
|
140
|
-
# 3. Groups papers by approach/contribution
|
|
141
|
-
# 4. Weaves into coherent narrative with citations
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
## Revision and Editing
|
|
145
|
-
|
|
146
|
-
```python
|
|
147
|
-
# Iterative revision
|
|
148
|
-
revised = writer.revise(
|
|
149
|
-
manuscript="thesis.tex",
|
|
150
|
-
feedback=[
|
|
151
|
-
"Strengthen the motivation in Chapter 1",
|
|
152
|
-
"Add more quantitative comparisons in Chapter 4",
|
|
153
|
-
"The notation in Chapter 3 is inconsistent with Chapter 2",
|
|
154
|
-
],
|
|
155
|
-
)
|
|
156
|
-
|
|
157
|
-
# Style check
|
|
158
|
-
style_issues = writer.check_style("thesis.tex")
|
|
159
|
-
for issue in style_issues:
|
|
160
|
-
print(f"[{issue.type}] Ch.{issue.chapter}, "
|
|
161
|
-
f"p.{issue.paragraph}: {issue.suggestion}")
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
## Configuration
|
|
165
|
-
|
|
166
|
-
```python
|
|
167
|
-
writer = ThesisWriter(
|
|
168
|
-
llm_provider="anthropic",
|
|
169
|
-
model="claude-sonnet-4-20250514",
|
|
170
|
-
writing_config={
|
|
171
|
-
"person": "first_plural", # "we"
|
|
172
|
-
"tense": "present",
|
|
173
|
-
"formality": "high",
|
|
174
|
-
"hedging": "moderate",
|
|
175
|
-
},
|
|
176
|
-
citation_config={
|
|
177
|
-
"style": "natbib",
|
|
178
|
-
"verify_all": True,
|
|
179
|
-
"min_citations_per_chapter": 10,
|
|
180
|
-
},
|
|
181
|
-
output_config={
|
|
182
|
-
"format": "latex",
|
|
183
|
-
"template": "university_thesis",
|
|
184
|
-
"font": "times",
|
|
185
|
-
"line_spacing": 1.5,
|
|
186
|
-
},
|
|
187
|
-
)
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
## Use Cases
|
|
191
|
-
|
|
192
|
-
1. **Thesis drafting**: Generate first drafts of thesis chapters
|
|
193
|
-
2. **Literature review**: AI-assisted literature review sections
|
|
194
|
-
3. **Revision assistance**: Iterative feedback-based revision
|
|
195
|
-
4. **Citation management**: Verified, real citations throughout
|
|
196
|
-
5. **Template generation**: Structured academic document scaffolding
|
|
197
|
-
|
|
198
|
-
## References
|
|
199
|
-
|
|
200
|
-
- [OpenDraft GitHub](https://github.com/federicodeponte/opendraft)
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: paper-debugger-guide
|
|
3
|
-
description: "Multi-agent system for academic writing review and improvement"
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
author: wentor-community
|
|
6
|
-
source: https://github.com/PaperDebugger/paperdebugger
|
|
7
|
-
metadata:
|
|
8
|
-
openclaw:
|
|
9
|
-
category: "writing"
|
|
10
|
-
subcategory: "composition"
|
|
11
|
-
keywords:
|
|
12
|
-
- paper-review
|
|
13
|
-
- academic-writing
|
|
14
|
-
- multi-agent
|
|
15
|
-
- writing-feedback
|
|
16
|
-
- peer-review
|
|
17
|
-
- manuscript-revision
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
# Paper Debugger Guide
|
|
21
|
-
|
|
22
|
-
A skill for using a plugin-based multi-agent system to review, debug, and improve academic manuscripts before submission. Based on PaperDebugger (1K stars), this skill provides structured workflows for catching logical errors, methodological weaknesses, presentation issues, and formatting problems in research papers.
|
|
23
|
-
|
|
24
|
-
## Overview
|
|
25
|
-
|
|
26
|
-
Just as software developers debug code before shipping, researchers should systematically debug their papers before submission. PaperDebugger applies this philosophy by deploying multiple specialized review agents, each focused on a different dimension of paper quality: logical consistency, methodological rigor, clarity of presentation, statistical validity, and formatting compliance.
|
|
27
|
-
|
|
28
|
-
The result is a pre-submission review process that catches issues human reviewers commonly flag, giving researchers the opportunity to address them proactively and increase their chances of acceptance.
|
|
29
|
-
|
|
30
|
-
## Review Agent Roles
|
|
31
|
-
|
|
32
|
-
The system deploys these specialized agents:
|
|
33
|
-
|
|
34
|
-
**Logic Agent**
|
|
35
|
-
- Checks that conclusions follow from presented evidence
|
|
36
|
-
- Identifies unsupported claims and logical gaps
|
|
37
|
-
- Verifies that the abstract accurately reflects the paper's content
|
|
38
|
-
- Ensures consistency between the introduction's promises and the discussion's delivery
|
|
39
|
-
- Flags circular reasoning and tautological statements
|
|
40
|
-
|
|
41
|
-
**Methods Agent**
|
|
42
|
-
- Evaluates whether the methodology is appropriate for the research questions
|
|
43
|
-
- Checks for missing methodological details needed for replication
|
|
44
|
-
- Identifies potential confounding variables not addressed
|
|
45
|
-
- Verifies that the sample size and study design support the intended analyses
|
|
46
|
-
- Assesses whether limitations are adequately acknowledged
|
|
47
|
-
|
|
48
|
-
**Clarity Agent**
|
|
49
|
-
- Identifies sentences that are overly complex or ambiguous
|
|
50
|
-
- Flags jargon used without definition on first occurrence
|
|
51
|
-
- Checks paragraph structure for topic sentences and logical flow
|
|
52
|
-
- Identifies redundant content that could be consolidated
|
|
53
|
-
- Evaluates whether figures and tables are self-explanatory with captions
|
|
54
|
-
|
|
55
|
-
**Statistics Agent**
|
|
56
|
-
- Verifies that reported statistics match the described analyses
|
|
57
|
-
- Checks for common errors (wrong degrees of freedom, inconsistent n values)
|
|
58
|
-
- Flags p-values reported without effect sizes or confidence intervals
|
|
59
|
-
- Identifies multiple comparison issues without appropriate corrections
|
|
60
|
-
- Validates that data visualization accurately represents the underlying data
|
|
61
|
-
|
|
62
|
-
**Format Agent**
|
|
63
|
-
- Checks compliance with target journal formatting guidelines
|
|
64
|
-
- Verifies reference formatting consistency
|
|
65
|
-
- Validates figure and table numbering and cross-references
|
|
66
|
-
- Checks adherence to word count limits per section
|
|
67
|
-
- Ensures required sections are present (data availability, conflict of interest, etc.)
|
|
68
|
-
|
|
69
|
-
## Review Workflow
|
|
70
|
-
|
|
71
|
-
The complete debugging workflow proceeds through these stages:
|
|
72
|
-
|
|
73
|
-
**Stage 1: Structural Scan**
|
|
74
|
-
- Parse the manuscript into its constituent sections
|
|
75
|
-
- Verify all expected sections are present and properly ordered
|
|
76
|
-
- Check section lengths against typical proportions and journal requirements
|
|
77
|
-
- Identify orphaned references (cited but not in bibliography, or vice versa)
|
|
78
|
-
- Flag missing elements (acknowledgments, supplementary references, appendices)
|
|
79
|
-
|
|
80
|
-
**Stage 2: Deep Review**
|
|
81
|
-
- Each specialized agent reviews the full manuscript independently
|
|
82
|
-
- Agents generate issue reports with severity levels (critical, major, minor, suggestion)
|
|
83
|
-
- Issues include specific locations (section, paragraph, sentence) and explanations
|
|
84
|
-
- Each issue includes a suggested fix or improvement direction
|
|
85
|
-
- Agents flag areas outside their expertise for human judgment
|
|
86
|
-
|
|
87
|
-
**Stage 3: Cross-Agent Synthesis**
|
|
88
|
-
- Merge findings from all agents into a unified report
|
|
89
|
-
- Resolve conflicting recommendations between agents
|
|
90
|
-
- Prioritize issues by severity and effort to address
|
|
91
|
-
- Group related issues that can be addressed together
|
|
92
|
-
- Generate a revision checklist ordered by priority
|
|
93
|
-
|
|
94
|
-
**Stage 4: Revision Support**
|
|
95
|
-
- For each identified issue, provide specific revision suggestions
|
|
96
|
-
- Generate alternative phrasings for clarity issues
|
|
97
|
-
- Suggest additional analyses or robustness checks for methodology issues
|
|
98
|
-
- Draft missing sections (limitations, future work) based on paper content
|
|
99
|
-
- Help restructure paragraphs or sections when flow issues are identified
|
|
100
|
-
|
|
101
|
-
## Common Issue Categories
|
|
102
|
-
|
|
103
|
-
Based on analysis of reviewer feedback patterns, these are the most frequently caught issues:
|
|
104
|
-
|
|
105
|
-
**High-Priority Issues**
|
|
106
|
-
- Overclaiming: conclusions stronger than the evidence supports
|
|
107
|
-
- Missing baselines: experimental comparisons without appropriate controls
|
|
108
|
-
- Selective reporting: presenting only favorable results
|
|
109
|
-
- Methodology gaps: insufficient detail for replication
|
|
110
|
-
- Statistical errors: incorrect test selection or reporting
|
|
111
|
-
|
|
112
|
-
**Medium-Priority Issues**
|
|
113
|
-
- Introduction-conclusion misalignment
|
|
114
|
-
- Inconsistent terminology throughout the paper
|
|
115
|
-
- Figures that duplicate information already in tables
|
|
116
|
-
- Literature review missing key recent papers in the field
|
|
117
|
-
- Vague contribution statements
|
|
118
|
-
|
|
119
|
-
**Low-Priority Issues**
|
|
120
|
-
- Minor grammatical errors
|
|
121
|
-
- Inconsistent formatting of numbers and units
|
|
122
|
-
- Reference style inconsistencies
|
|
123
|
-
- Caption formatting variations
|
|
124
|
-
- Whitespace and layout irregularities
|
|
125
|
-
|
|
126
|
-
## Integration with Research-Claw
|
|
127
|
-
|
|
128
|
-
This skill connects with the broader Research-Claw writing workflow:
|
|
129
|
-
|
|
130
|
-
- Run paper debugging after drafting with composition skills
|
|
131
|
-
- Feed identified methodology issues to the analysis skill for verification
|
|
132
|
-
- Use literature search skills to find missing references
|
|
133
|
-
- Connect with LaTeX skills for formatting compliance fixes
|
|
134
|
-
- Store review reports alongside manuscript versions for revision tracking
|
|
135
|
-
|
|
136
|
-
## Best Practices
|
|
137
|
-
|
|
138
|
-
- Run the full debugging suite at least one week before the submission deadline
|
|
139
|
-
- Address critical and major issues first, then iterate on minor issues
|
|
140
|
-
- Have a human co-author review the agent-generated suggestions before implementing
|
|
141
|
-
- Use the debugging report as a conversation starter with collaborators
|
|
142
|
-
- Re-run the suite after major revisions to check for newly introduced issues
|
|
143
|
-
- Keep a log of common issues across papers to identify personal writing patterns
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: paperforge-guide
|
|
3
|
-
description: "AI-assisted academic paper drafting and structuring tool"
|
|
4
|
-
metadata:
|
|
5
|
-
openclaw:
|
|
6
|
-
emoji: "🔨"
|
|
7
|
-
category: "writing"
|
|
8
|
-
subcategory: "composition"
|
|
9
|
-
keywords: ["paper writing", "academic drafting", "paper generation", "manuscript", "structured writing", "AI writing"]
|
|
10
|
-
source: "https://github.com/paperforge/paperforge"
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# PaperForge Guide
|
|
14
|
-
|
|
15
|
-
## Overview
|
|
16
|
-
|
|
17
|
-
PaperForge is an AI-assisted academic paper drafting tool that helps researchers structure, draft, and refine manuscripts. It generates section-by-section drafts from outlines and notes, ensures consistent academic tone, manages citation integration, and provides iterative refinement. Designed to accelerate the writing process while keeping researchers in control of content and argumentation.
|
|
18
|
-
|
|
19
|
-
## Writing Pipeline
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
Research Notes + Outline
|
|
23
|
-
↓
|
|
24
|
-
Structure Planning (sections, flow, arguments)
|
|
25
|
-
↓
|
|
26
|
-
Section Drafting (introduction → conclusion)
|
|
27
|
-
↓
|
|
28
|
-
Citation Integration (inline refs from .bib)
|
|
29
|
-
↓
|
|
30
|
-
Consistency Check (terminology, notation, tone)
|
|
31
|
-
↓
|
|
32
|
-
Revision Suggestions (clarity, flow, gaps)
|
|
33
|
-
↓
|
|
34
|
-
Final Manuscript
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Usage
|
|
38
|
-
|
|
39
|
-
```python
|
|
40
|
-
from paperforge import PaperForge
|
|
41
|
-
|
|
42
|
-
forge = PaperForge(llm_provider="anthropic")
|
|
43
|
-
|
|
44
|
-
# Draft from outline and notes
|
|
45
|
-
manuscript = forge.draft(
|
|
46
|
-
title="Efficient Attention Mechanisms for Long Documents",
|
|
47
|
-
outline={
|
|
48
|
-
"introduction": "Transformers limited by quadratic attention. "
|
|
49
|
-
"Need sub-quadratic alternatives for long docs.",
|
|
50
|
-
"related_work": "Linear attention, sparse attention, "
|
|
51
|
-
"low-rank approximations.",
|
|
52
|
-
"method": "Our approach: learned sparse patterns + "
|
|
53
|
-
"sliding window hybrid.",
|
|
54
|
-
"experiments": "Long Range Arena benchmark + document "
|
|
55
|
-
"classification tasks.",
|
|
56
|
-
"conclusion": "2x speedup, comparable accuracy.",
|
|
57
|
-
},
|
|
58
|
-
notes_dir="./research_notes/",
|
|
59
|
-
bibliography="references.bib",
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
manuscript.save("draft.tex")
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Section-by-Section Drafting
|
|
66
|
-
|
|
67
|
-
```python
|
|
68
|
-
# Draft individual sections with context
|
|
69
|
-
intro = forge.draft_section(
|
|
70
|
-
section="introduction",
|
|
71
|
-
key_points=[
|
|
72
|
-
"Transformer attention is O(n^2) in sequence length",
|
|
73
|
-
"Long documents (>4096 tokens) are common in practice",
|
|
74
|
-
"Existing solutions trade quality for efficiency",
|
|
75
|
-
"Our contribution: learned sparse patterns",
|
|
76
|
-
],
|
|
77
|
-
style="narrative", # narrative, technical, concise
|
|
78
|
-
target_length=800, # approximate word count
|
|
79
|
-
bibliography="refs.bib",
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
print(intro.text)
|
|
83
|
-
print(f"Citations used: {intro.citations}")
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Outline Generation
|
|
87
|
-
|
|
88
|
-
```python
|
|
89
|
-
# Generate outline from abstract or notes
|
|
90
|
-
outline = forge.generate_outline(
|
|
91
|
-
abstract="We propose a novel attention mechanism that combines "
|
|
92
|
-
"learned sparse patterns with sliding window attention "
|
|
93
|
-
"to achieve sub-quadratic complexity while maintaining "
|
|
94
|
-
"accuracy on long document tasks.",
|
|
95
|
-
paper_type="conference", # conference, journal, workshop
|
|
96
|
-
target_venue="NeurIPS",
|
|
97
|
-
)
|
|
98
|
-
|
|
99
|
-
for section in outline.sections:
|
|
100
|
-
print(f"\n## {section.title}")
|
|
101
|
-
for point in section.key_points:
|
|
102
|
-
print(f" - {point}")
|
|
103
|
-
print(f" Target length: {section.target_words} words")
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
## Citation Integration
|
|
107
|
-
|
|
108
|
-
```python
|
|
109
|
-
# Automatic citation placement
|
|
110
|
-
section_with_cites = forge.integrate_citations(
|
|
111
|
-
text=draft_text,
|
|
112
|
-
bibliography="references.bib",
|
|
113
|
-
style="authoryear", # or "numeric"
|
|
114
|
-
strategy="relevant", # place citations where claims need support
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
# Citation suggestions for unsupported claims
|
|
118
|
-
suggestions = forge.suggest_citations(
|
|
119
|
-
text=draft_text,
|
|
120
|
-
bibliography="references.bib",
|
|
121
|
-
)
|
|
122
|
-
for s in suggestions:
|
|
123
|
-
print(f"Claim: '{s.claim[:60]}...'")
|
|
124
|
-
print(f" Suggested: {s.suggested_refs}")
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
## Revision and Refinement
|
|
128
|
-
|
|
129
|
-
```python
|
|
130
|
-
# Get revision suggestions
|
|
131
|
-
revisions = forge.review(
|
|
132
|
-
manuscript="draft.tex",
|
|
133
|
-
checks=[
|
|
134
|
-
"clarity", # Unclear sentences
|
|
135
|
-
"consistency", # Terminology and notation
|
|
136
|
-
"flow", # Logical transitions
|
|
137
|
-
"redundancy", # Repeated content
|
|
138
|
-
"claim_support", # Unsupported claims
|
|
139
|
-
"passive_voice", # Overuse of passive
|
|
140
|
-
],
|
|
141
|
-
)
|
|
142
|
-
|
|
143
|
-
for rev in revisions:
|
|
144
|
-
print(f"[{rev.category}] Line {rev.line}: {rev.suggestion}")
|
|
145
|
-
print(f" Original: {rev.original}")
|
|
146
|
-
print(f" Suggested: {rev.revised}")
|
|
147
|
-
|
|
148
|
-
# Apply selected revisions
|
|
149
|
-
manuscript = forge.apply_revisions(
|
|
150
|
-
"draft.tex",
|
|
151
|
-
revisions=[r for r in revisions if r.category == "clarity"],
|
|
152
|
-
)
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
## Template Support
|
|
156
|
-
|
|
157
|
-
```python
|
|
158
|
-
# Write to specific venue templates
|
|
159
|
-
manuscript = forge.draft(
|
|
160
|
-
outline=outline,
|
|
161
|
-
template="neurips2025", # or "icml", "acl", "ieee", "arxiv"
|
|
162
|
-
formatting={
|
|
163
|
-
"max_pages": 9, # Excluding references
|
|
164
|
-
"abstract_words": 200,
|
|
165
|
-
"font": "times",
|
|
166
|
-
},
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
# Available templates
|
|
170
|
-
templates = forge.list_templates()
|
|
171
|
-
# ["neurips2025", "icml2025", "acl2025", "ieee_conference",
|
|
172
|
-
# "arxiv_preprint", "elegantpaper", "springer_lncs"]
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
## Configuration
|
|
176
|
-
|
|
177
|
-
```python
|
|
178
|
-
forge = PaperForge(
|
|
179
|
-
llm_provider="anthropic",
|
|
180
|
-
model="claude-sonnet-4-20250514",
|
|
181
|
-
writing_config={
|
|
182
|
-
"tone": "formal_academic",
|
|
183
|
-
"person": "first_plural", # "we propose..."
|
|
184
|
-
"tense": "present", # for methods/results
|
|
185
|
-
"hedging": "moderate", # "may", "suggests", "appears"
|
|
186
|
-
},
|
|
187
|
-
citation_config={
|
|
188
|
-
"style": "natbib",
|
|
189
|
-
"max_refs_per_claim": 3,
|
|
190
|
-
},
|
|
191
|
-
)
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
## Use Cases
|
|
195
|
-
|
|
196
|
-
1. **First drafts**: Generate initial manuscript from structured notes
|
|
197
|
-
2. **Section expansion**: Flesh out outline into full sections
|
|
198
|
-
3. **Revision assistance**: Systematic review for clarity and consistency
|
|
199
|
-
4. **Template conversion**: Reformat between venue styles
|
|
200
|
-
5. **Citation management**: Automated placement and gap detection
|
|
201
|
-
|
|
202
|
-
## References
|
|
203
|
-
|
|
204
|
-
- [PaperForge GitHub](https://github.com/paperforge/paperforge)
|
|
205
|
-
- [LaTeX Templates](https://www.latextemplates.com/)
|