baidu search
/install baidufeng
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
Usage
python3 skills/baidu-search/scripts/search.py '\x3CJSON>'
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
# 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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baidufeng - After installation, invoke the skill by name or use
/baidufeng - Provide required inputs per the skill's parameter spec and get structured output
What is baidu search?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. It is an AI Agent Skill for Claude Code / OpenClaw, with 109 downloads so far.
How do I install baidu search?
Run "/install baidufeng" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is baidu search free?
Yes, baidu search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does baidu search support?
baidu search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created baidu search?
It is built and maintained by Feng-Aragron (@feng-aragron); the current version is v1.0.0.