ai4scholar 0.5.0 → 0.6.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 +2 -33
- package/dist/index.js +97 -240
- package/docs/tutorial.md +23 -77
- package/package.json +2 -15
- package/assets/styles.css +0 -588
- package/assets/template_fulltext.html +0 -342
- package/data/ccf_2022.jsonl +0 -649
- package/scripts/fulltext_search.py +0 -386
- package/scripts/generate_html.py +0 -632
- package/scripts/translate_titles.py +0 -156
- package/skills/literature-survey/SKILL.md +0 -168
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Powered by [ai4scholar.net](https://ai4scholar.net).
|
|
|
6
6
|
|
|
7
7
|
## What It Does
|
|
8
8
|
|
|
9
|
-
AI4Scholar gives your OpenClaw agent direct access to **6 academic platforms** through **
|
|
9
|
+
AI4Scholar gives your OpenClaw agent direct access to **6 academic platforms** through **36 built-in tools**.
|
|
10
10
|
|
|
11
11
|
### Platforms
|
|
12
12
|
|
|
@@ -85,12 +85,6 @@ AI4Scholar gives your OpenClaw agent direct access to **6 academic platforms** t
|
|
|
85
85
|
| `download_by_doi` | Download PDF by DOI (supports institutional access) |
|
|
86
86
|
| `read_by_doi` | Download + extract full text by DOI |
|
|
87
87
|
|
|
88
|
-
**Quality Evaluation (1)**
|
|
89
|
-
|
|
90
|
-
| Tool | Description |
|
|
91
|
-
|------|-------------|
|
|
92
|
-
| `paper_quality_rank` | Rank papers by CCF classification, citations, year, h-index |
|
|
93
|
-
|
|
94
88
|
**Auto-Citation (1)**
|
|
95
89
|
|
|
96
90
|
| Tool | Description |
|
|
@@ -103,12 +97,6 @@ AI4Scholar gives your OpenClaw agent direct access to **6 academic platforms** t
|
|
|
103
97
|
|------|-------------|
|
|
104
98
|
| `sci_draw` | AI-powered scientific figure generation (text-to-image, edit, style transfer, SVG, critique) |
|
|
105
99
|
|
|
106
|
-
### Skills
|
|
107
|
-
|
|
108
|
-
| Skill | Description |
|
|
109
|
-
|-------|-------------|
|
|
110
|
-
| **literature-survey** | Multi-source literature survey with HTML report generation |
|
|
111
|
-
|
|
112
100
|
### Slash Commands
|
|
113
101
|
|
|
114
102
|
| Command | Description |
|
|
@@ -131,16 +119,6 @@ After installation, **restart the gateway**:
|
|
|
131
119
|
openclaw gateway
|
|
132
120
|
```
|
|
133
121
|
|
|
134
|
-
### From source (development)
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
git clone https://github.com/literaf/ai4scholar.git
|
|
138
|
-
cd ai4scholar
|
|
139
|
-
pnpm install
|
|
140
|
-
pnpm build
|
|
141
|
-
openclaw plugins install -l .
|
|
142
|
-
```
|
|
143
|
-
|
|
144
122
|
### Verify
|
|
145
123
|
|
|
146
124
|
```bash
|
|
@@ -204,23 +182,14 @@ ai4scholar/
|
|
|
204
182
|
│ │ ├── arxiv.ts # 3 arXiv tools
|
|
205
183
|
│ │ ├── biorxiv.ts # 6 bioRxiv/medRxiv tools
|
|
206
184
|
│ │ ├── doi-download.ts # 2 DOI-based download tools
|
|
207
|
-
│ │ ├── quality-rank.ts # Paper quality ranking (CCF)
|
|
208
185
|
│ │ ├── auto-cite.ts # Auto-citation via ai4scholar API
|
|
209
186
|
│ │ ├── sci-draw.ts # Scientific figure generation
|
|
210
187
|
│ │ ├── pdf-utils.ts # PDF download & text extraction
|
|
211
188
|
│ │ ├── result.ts # Tool result helpers
|
|
212
189
|
│ │ └── params.ts # Parameter parsing
|
|
213
190
|
│ ├── hooks/
|
|
214
|
-
│ │
|
|
215
|
-
│ │ └── inject-skill.ts # Skill injection for sub-agents
|
|
191
|
+
│ │ └── scholar-mode.ts # Scholar mode system prompt
|
|
216
192
|
│ └── commands.ts # Slash commands
|
|
217
|
-
├── scripts/ # Python helpers (HTML reports)
|
|
218
|
-
├── assets/ # Report templates
|
|
219
|
-
├── skills/
|
|
220
|
-
│ └── literature-survey/
|
|
221
|
-
│ └── SKILL.md
|
|
222
|
-
├── data/
|
|
223
|
-
│ └── ccf_2022.jsonl # CCF ranking data
|
|
224
193
|
├── docs/
|
|
225
194
|
│ └── tutorial.md # Installation & usage tutorial
|
|
226
195
|
├── openclaw.plugin.json
|