baidu-search
Search the web using Baidu AI Search Engine (BDSE).
Setup & Installation
Install command
clawhub install ide-rea/baidu-searchIf the CLI is not installed:
Install command
npx clawhub@latest install ide-rea/baidu-searchOr install with OpenClaw CLI:
Install command
openclaw skills install ide-rea/baidu-searchor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/ide-rea/baidu-searchWhat This Skill Does
Runs web searches through Baidu's AI Search API and returns results to the agent. Supports result count control and date-range filtering for time-sensitive queries.
Gives agents access to Baidu's index, which covers Chinese-language content more comprehensively than Western search engines.
When to Use It
- Looking up recent Chinese-language news
- Researching topics with Baidu's index
- Fetching results from the past 24 hours or a custom date range
- Finding documentation or references via Baidu
- Gathering multiple results in a single query
View original SKILL.md file
# Baidu Search
Search the web via Baidu AI Search API.
## Prerequisites
### API Key Configuration
This skill requires a **BAIDU_API_KEY** to be configured in OpenClaw.
If you don't have an API key yet, please visit:
**https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey**
For detailed setup instructions, see:
[references/apikey-fetch.md](references/apikey-fetch.md)
## Usage
```bash
python3 skills/baidu-search/scripts/search.py '<JSON>'
```
## Request Parameters
| Param | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| query | str | yes | - | Search query |
| count | int | no | 10 | Number of results to return, range 1-50 |
| freshness | str | no | Null | Time range, two formats: format one is ”YYYY-MM-DDtoYYYY-MM-DD“, and format two includes pd, pw, pm, and py, representing the past 24 hours, past 7 days, past 31 days, and past 365 days respectively |
## Examples
```bash
# Basic search
python3 scripts/search.py '{"query":"人工智能"}'
# Freshness first format "YYYY-MM-DDtoYYYY-MM-DD" example
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"2025-09-01to2025-09-08"
}'
# Freshness second format pd、pw、pm、py example
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"pd"
}'
# set count, the number of results to return
python3 scripts/search.py '{
"query":"旅游景点",
"count": 20,
}'
```
## Current Status
Fully functional.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Looking up recent Chinese-language news
- 1Looking up recent Chinese-language news
- 2Researching topics with Baidu's index
- 3Fetching results from the past 24 hours or a custom date range
- 4Finding documentation or references via Baidu
- 5Gathering multiple results in a single query
Search the web using Baidu AI Search Engine (BDSE).
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.
Similar Skills
VIEW ALLahmed
Terminal Spotify playback/search via spogo (preferred)
attio-crm
Manage Attio CRM records (companies, people, deals, tasks, notes).
stackunderflow
A knowledge-retrieval protocol allowing the agent to access a verified community knowledge base.
moonbanking
Full access to Moon Banking API endpoints for data about every bank on Earth, including stories, votes, scores.