首页龙虾技能列表 › Baidu Search 1.1.3 — 技能工具

🔍︎ Baidu Search 1.1.3 — 技能工具

v1.0.0

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

0· 327·13 当前·13 累计
by @andy27725 (Andy27725)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/24
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill implements a straightforward Baidu web-search wrapper and its code, required environment variable, and instructions are consistent with its stated purpose.
评估建议
This skill appears to do what it says: a small Python wrapper that calls Baidu's AI Search API and returns results. Before installing: (1) Confirm you trust the skill owner/source (source and homepage are unknown and _meta.json owner differs from registry metadata — this could indicate repackaging). (2) Ensure your environment has the Python 'requests' package or install it (pip install requests). (3) Consider how you store BAIDU_API_KEY: the provided guide suggests placing it in ~/.openclaw/ope...
详细分析 ▾
用途与能力
Name/description map to the included script which calls Baidu's qianfan.baidubce.com web_search API. Required binary (python3) and primaryEnv (BAIDU_API_KEY) are appropriate for a search client.
指令范围
SKILL.md instructs running the included Python script and to set BAIDU_API_KEY. The references guide tells users to add the key into ~/.openclaw/openclaw.json (centralized config) — reasonable but worth noting that the guide directs writing the API key in plaintext to a config file. The script only reads BAIDU_API_KEY and does network calls to the Baidu search endpoint; it does not access other system secrets or paths.
安装机制
There is no install spec (instruction-only style) and no remote downloads. Minor issue: the script imports the third-party 'requests' library but the SKILL.md/metadata do not declare or instruct installing it; the runtime must already have requests available or the user must install it.
凭证需求
Only a single credential (BAIDU_API_KEY) is requested and it's the expected credential for this API. The SKILL.md and script consistently use that env var. The references guide recommends storing the key in ~/.openclaw/openclaw.json — convenient but a plaintext central store may be undesirable for high-sensitivity keys.
持久化与权限
The skill does not request always:true and is user-invocable. It does not modify other skills or system settings. No elevated persistence or broad privileges are requested.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/24

- Initial release of baidu-search skill. - Enables web searches using the Baidu AI Search Engine (BDSE). - Requires a BAIDU_API_KEY for access. - Supports custom search parameters: query, count of results, and result freshness. - Includes documentation and usage examples for command-line execution.

● 无害

安装命令 点击复制

官方npx clawhub@latest install baidu-search-1-1-3
镜像加速npx clawhub@latest install baidu-search-1-1-3 --registry https://cn.clawhub-mirror.com

技能文档

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 ''

Request Parameters

ParamTypeRequiredDefaultDescription
querystryes-Search query
countintno10Number of results to return, range 1-50
freshnessstrnoNullTime 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.

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务