ClawSkills logoClawSkills

baidu scholar search

Baidu Scholar Search - 搜索中英文学术文献(期刊、会议、论文等)

介绍

# Baidu Scholar Search Skill

## 功能

通过关键词搜索中英文学术文献,包括期刊论文、会议论文、学位论文等。

## LLM 使用指南

### 基本用法

```bash bash baidu_scholar_search.sh "keyword" bash baidu_scholar_search.sh "keyword" page_number bash baidu_scholar_search.sh "keyword" page_number include_abstract ```

### 参数说明

| 参数 | 必填 | 默认值 | 描述 | |-----------|----------|---------|-------------| | keyword | ✅ | - | 搜索关键词,例如 "machine learning" 或 "cancer immunotherapy" | | page_number | ❌ | 0 | 从 0 开始,0=第一页,1=第二页 | | include_abstract | ❌ | false | true=返回详细摘要,false=仅返回标题和基本信息 |

### 默认行为

- **不返回摘要** - 响应速度快,适合快速浏览文献列表 - 从第 1 页开始

### 何时返回摘要

- 用户明确请求 "abstract"(摘要)、"include abstract"(包含摘要)、"detailed content"(详细内容) - 用户说 "I need to understand the paper content"(我需要了解论文内容)、"give me detailed explanation"(给我详细的解释)

### 何时不返回摘要

- 用户仅说 "search"(搜索)、"retrieve"(检索)、"check"(查看) - 用户说 "see what's available"(看看有什么)、"help me find"(帮我找) - 没有明确请求摘要信息

## API 规范

### 端点

`GET https://qianfan.baidubce.com/v2/tools/baidu_scholar/search`

### 请求参数

- `wd` - 搜索关键词(必填) - `pageNum` - 页码(可选,默认 0) - `enable_abstract` - 是否返回摘要(可选,默认 false)

### 响应字段

- `title` - 论文标题 - `abstract` - 摘要(仅当 enable_abstract=true 时返回) - `keyword` - 关键词 - `paperId` - 论文 ID - `publishYear` - 发表年份 - `url` - 百度学术链接

## 示例

### 快速搜索(不含摘要)

```bash bash baidu_scholar_search.sh "cancer immunotherapy" # Returns title, year, keywords and other basic information ```

### 详细搜索(含摘要)

```bash bash baidu_scholar_search.sh "cancer immunotherapy" 0 true # Returns detailed information including abstract ```

### 分页搜索

```bash bash baidu_scholar_search.sh "machine learning" 1 # Search page 2 (no abstract) ```

## 注意事项

- 需要设置 `BAIDU_API_KEY` 环境变量 - 关键词必须用引号括起来 - 返回摘要会显著增加响应时间 - 支持中文和英文关键词

更多产品