test

👤 dtkien182 📦 v1.0.0 ⭐ 4.2 ⬇️ 756 下載
📊 資料分析 免費 🔑 需 API Key

📖 技能介紹


name: baidu-search description: Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. metadata: { "openclaw": { "emoji": "🔍︎", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }


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

小蔥技能站7w4.net,專業的AI技能分享平臺。

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

# 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.

🤖 AI 評測

這個百度搜索工具質量中規中矩,基本功能實現完整,支援多種搜尋模式和結果篩選,文件說明詳細易讀。但存在檔案重複和版本號混亂的小問題,可能影響使用體驗。總體上能滿足日常搜尋需求,但細節打磨上還有改進空間。

📊 多維度評分

適應性4.3
規範性3.8
有效性4.4
可靠性4.2
可信度5

📁 包含檔案 (8 個)

📄 SKILL.md 1.8 KB
📄 _meta.json 127 B
📄 baidu-search-1.1.2/SKILL.md 1.8 KB
📄 baidu-search-1.1.2/_meta.json 131 B
📄 baidu-search-1.1.2/references/apikey-fetch.md 1.3 KB
📄 baidu-search-1.1.2/scripts/search.py 3.4 KB
📄 references/apikey-fetch.md 1.3 KB
📄 scripts/search.py 3.4 KB