Use this skill to query Baidu Qianfan's web search API and return structured search results without scraping websites directly.
export QIANFAN_APPBUILDER_API_KEY='...'
Or keep it in a local untracked file such as .env.local and source it manually:
set -a
source ./.env.local
set +a
python3 scripts/qianfan_search.py "北京有哪些旅游景区"
python3 scripts/qianfan_search.py "北京有哪些旅游景区" --raw
python3 scripts/qianfan_search.py "百度千帆平台"
python3 scripts/qianfan_search.py "天气预报" --site weather.com.cn --site www.weather.com.cn
python3 scripts/qianfan_search.py "近期 AI 智能体新闻" --recency week
python3 scripts/qianfan_search.py "故宫博物院" --web-top-k 5 --image-top-k 5 --video-top-k 3 --raw
query, count, items, and discovered raw_keys.--raw prints the full upstream JSON for troubleshooting or adapting to API changes.scripts/qianfan_search.py.SKILL.md or references/..env.local to ClawHub.references/api.md for the concise endpoint and parameter summary.scripts/qianfan_search.py as the canonical wrapper for the API.共 1 个版本