Baidu Scholar Search Skill
Features
Search Chinese and English academic literature by keyword, including journal papers, conference papers, dissertations, etc.
LLM Usage Guide
Basic Usage
bash baidu_scholar_search.sh "keyword"
bash baidu_scholar_search.sh "keyword" page_number
bash baidu_scholar_search.sh "keyword" page_number include_abstract
Parameter Description
| Parameter |
Required |
Default |
Description |
| keyword |
✅ |
- |
Search term, e.g., "machine learning" or "cancer immunotherapy" |
| page_number |
❌ |
0 |
Starts from 0, 0=first page, 1=second page |
| include_abstract |
❌ |
false |
true=return detailed abstract, false=return only title and basic info |
Default Behavior
- No abstract returned - Fast response, suitable for quickly browsing literature lists
- Start from page 1
When to Return Abstract
- User explicitly requests "abstract", "include abstract", "detailed content"
- User says "I need to understand the paper content", "give me detailed explanation"
When NOT to Return Abstract
- User only says "search", "retrieve", "check"
- User says "see what's available", "help me find"
- No explicit request for abstract information
API Specification
Endpoint
GET https://qianfan.baidubce.com/v2/tools/baidu_scholar/search
Request Parameters
wd - Search keyword (required)
pageNum - Page number (optional, default 0)
enable_abstract - Whether to return abstract (optional, default false)
Response Fields
title - Paper title
abstract - Abstract (only returned when enable_abstract=true)
keyword - Keywords
paperId - Paper ID
publishYear - Publication year
url - Baidu Scholar link
Examples
Quick Search (No Abstract)
bash baidu_scholar_search.sh "cancer immunotherapy"
# Returns title, year, keywords and other basic information
Detailed Search (With Abstract)
bash baidu_scholar_search.sh "cancer immunotherapy" 0 true
# Returns detailed information including abstract
Pagination Search
bash baidu_scholar_search.sh "machine learning" 1
# Search page 2 (no abstract)
Notes
- Need to set
BAIDU_API_KEY environment variable
- Keywords must be wrapped in quotes
- Returning abstract significantly increases response time
- Both Chinese and English keywords are supported
1---2name: baidu-scholar-search-skill3description: Baidu Scholar Search - Search Chinese and English academic literature (journals, conferences, papers, etc.)4---5
6# Baidu Scholar Search Skill
7
8## Features
9Search Chinese and English academic literature by keyword, including journal papers, conference papers, dissertations, etc.
10
11## LLM Usage Guide
12
13### Basic Usage
14```bash
15bash baidu_scholar_search.sh "keyword"
16bash baidu_scholar_search.sh "keyword" page_number
17bash baidu_scholar_search.sh "keyword" page_number include_abstract
18```
19
20### Parameter Description
21| Parameter | Required | Default | Description |
22|-----------|----------|---------|-------------|
23| keyword | ✅ | - | Search term, e.g., "machine learning" or "cancer immunotherapy" |
24| page_number | ❌ | 0 | Starts from 0, 0=first page, 1=second page |
25| include_abstract | ❌ | false | true=return detailed abstract, false=return only title and basic info |
26
27### Default Behavior
28- **No abstract returned** - Fast response, suitable for quickly browsing literature lists
29- Start from page 1
30
31### When to Return Abstract
32- User explicitly requests "abstract", "include abstract", "detailed content"
33- User says "I need to understand the paper content", "give me detailed explanation"
34
35### When NOT to Return Abstract
36- User only says "search", "retrieve", "check"
37- User says "see what's available", "help me find"
38- No explicit request for abstract information
39
40## API Specification
41
42### Endpoint
43`GET https://qianfan.baidubce.com/v2/tools/baidu_scholar/search`
44
45### Request Parameters
46- `wd` - Search keyword (required)
47- `pageNum` - Page number (optional, default 0)
48- `enable_abstract` - Whether to return abstract (optional, default false)
49
50### Response Fields
51- `title` - Paper title
52- `abstract` - Abstract (only returned when enable_abstract=true)
53- `keyword` - Keywords
54- `paperId` - Paper ID
55- `publishYear` - Publication year
56- `url` - Baidu Scholar link
57
58## Examples
59
60### Quick Search (No Abstract)
61```bash
62bash baidu_scholar_search.sh "cancer immunotherapy"
63# Returns title, year, keywords and other basic information
64```
65
66### Detailed Search (With Abstract)
67```bash
68bash baidu_scholar_search.sh "cancer immunotherapy" 0 true
69# Returns detailed information including abstract
70```
71
72### Pagination Search
73```bash
74bash baidu_scholar_search.sh "machine learning" 1
75# Search page 2 (no abstract)
76```
77
78## Notes
79- Need to set `BAIDU_API_KEY` environment variable
80- Keywords must be wrapped in quotes
81- Returning abstract significantly increases response time
82- Both Chinese and English keywords are supported