百度搜索
SkillSearchPerform web searches using the Baidu AI search engine. Suitable for real-time information queries, document retrieval, or topic research.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the 百度搜索 skill
What this skill tells your AI
The instructions your AI receives, as published by l-lesteryu/openclaw-hot-skills-zh in skills/baidu-search-zh/SKILL.md and read by ahel’s review.
通过百度 AI 搜索 API 进行网页搜索。
前置条件
API 密钥配置
本技能需要配置 BAIDU_API_KEY 环境变量。
如果您还没有 API 密钥,请访问: https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey
详细的配置步骤请参阅: references/apikey-fetch.md
使用方法
python3 skills/baidu-search-zh/scripts/search.py '<JSON>'
请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| query | str | 是 | - | 搜索关键词 |
| count | int | 否 | 10 | 返回结果数量,范围 1-50 |
| freshness | str | 否 | 无 | 时间范围,两种格式:格式一为 "YYYY-MM-DDtoYYYY-MM-DD";格式二包括 pd、pw、pm、py,分别代表过去 24 小时、过去 7 天、过去 31 天和过去 365 天 |
示例
# 基础搜索
python3 scripts/search.py '{"query":"人工智能"}'
# 时间范围格式一 "YYYY-MM-DDtoYYYY-MM-DD" 示例
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"2025-09-01to2025-09-08"
}'
# 时间范围格式二 pd、pw、pm、py 示例
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"pd"
}'
# 设置 count 参数,指定返回结果数量
python3 scripts/search.py '{
"query":"旅游景点",
"count": 20
}'
当前状态
功能完全正常。
Signals
- GitHub stars
- 54
- Forks
- 8
- Last commit
- Apr 2026
Advanced
- Catalog kind
- skill
- Gateway key
baidu-search-zh- Source
- github.com/l-lesteryu/openclaw-hot-skills-zh