baidu scholar search
Baidu Scholar Search - Search Chinese and English academic literature (journals, conferences, papers, etc.)
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 8 · 7.7k · 50 current installs · 52 all-time installs
by@ide-rea
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description: search academic literature. Required binary (curl) and required env var (BAIDU_API_KEY) are appropriate and necessary for calling the Baidu API endpoint documented in SKILL.md and implemented in the shell script.
Instruction Scope
SKILL.md and the shell script instruct only a single HTTP GET to Baidu's qianfan.baidubce.com endpoint using BAIDU_API_KEY. The instructions do not read other files or unrelated environment variables. Minor issues: the script places the search term directly into the query string without URL-encoding (may break for special characters) and uses GET so queries appear in the URL (could be logged by proxies/servers). Also SKILL.md contains a small inconsistency: it documents default pageNum as 0 but elsewhere says "Start from page 1".
Install Mechanism
This is an instruction-only skill with a small included shell script; there is no installer or third-party download. No archives or external install URLs are used, minimizing install risk.
Credentials
Only one credential is required: BAIDU_API_KEY (declared as primaryEnv). That aligns with the skill's purpose. The script uses that key only in the Authorization header when calling the documented API endpoint.
Persistence & Privilege
Skill is not set to always:true and does not request persistent system changes or modify other skills. It can be invoked autonomously (platform default), which is expected for a callable search skill.
Assessment
This skill appears to do what it says: it sends your search term to Baidu's Scholar API using the BAIDU_API_KEY you provide. Before installing: 1) Ensure the BAIDU_API_KEY you supply is from a trusted source and scoped appropriately; be ready to revoke it if needed. 2) Be aware queries are sent as a GET with the keyword in the URL, so search terms may be logged by servers or proxies—avoid sending sensitive data. 3) The shell script does not URL-encode the keyword; multi-word or special-character searches may fail or behave unexpectedly. 4) Note the minor documentation mismatch about the default page number in SKILL.md (0 vs "start from page 1"); this is a documentation bug rather than a security problem. If privacy/logging is a concern, ask the maintainer to switch to a URL-encoded parameter or POST body and confirm API key scope and retention policies.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.1.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🔬 Clawdis
Binscurl
EnvBAIDU_API_KEY
Primary envBAIDU_API_KEY
SKILL.md
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 titleabstract- Abstract (only returned when enable_abstract=true)keyword- KeywordspaperId- Paper IDpublishYear- Publication yearurl- 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_KEYenvironment variable - Keywords must be wrapped in quotes
- Returning abstract significantly increases response time
- Both Chinese and English keywords are supported
Files
3 totalSelect a file
Select a file to preview.
Comments
Loading comments…
