← 返回 Skills 市场
130
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-search-bak
功能描述
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
使用说明 (SKILL.md)
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.
安全使用建议
This skill appears to do what it says: call Baidu's AI search API using your BAIDU_API_KEY. Before installing: (1) verify you have python3 and install the requests package (pip install requests) so the script can run; (2) consider whether you want the API key stored in ~/.openclaw/openclaw.json (plaintext) or prefer to set BAIDU_API_KEY in a secure environment/secret manager; (3) confirm the HTTP endpoint (https://qianfan.baidubce.com) matches the Baidu service you expect; (4) test the skill in an isolated environment if you are unsure; (5) note a small metadata mismatch in packaged _meta.json vs. registry metadata (ownerId/slug/version differences) — this looks like a packaging inconsistency rather than malicious behavior, but you may want to confirm the publisher/source if provenance is important.
功能分析
Type: OpenClaw Skill
Name: baidu-search-bak
Version: 1.0.0
The skill bundle provides a legitimate implementation for searching the web via the Baidu AI Search API. The Python script (scripts/search.py) securely handles the API key via environment variables, performs standard JSON input validation, and communicates exclusively with the official Baidu Qianfan endpoint (qianfan.baidubce.com). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name, description, and code implement a Baidu AI web search. Requested items (python3 and BAIDU_API_KEY) match the stated purpose. Minor note: the included script uses the Python 'requests' library but the skill metadata does not declare that dependency.
Instruction Scope
Runtime instructions only run the included Python script with a JSON argument and tell the user how to configure BAIDU_API_KEY. The documentation suggests placing the API key in ~/.openclaw/openclaw.json (a local config)—this is reasonable for setup but is a scope note because it instructs modifying a user config file and storing the key in plaintext.
Install Mechanism
No install spec (instruction-only) — lowest risk. Note: the script requires the 'requests' Python package but no installation steps are provided; users may need to pip install requests before running.
Credentials
Only a single credential (BAIDU_API_KEY) is required and it is the primary credential for contacting Baidu's API. This is proportionate. Reminder: storing the key in plaintext inside ~/.openclaw/openclaw.json is convenient but reduces secrecy.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). It does not try to modify other skills or system-wide settings beyond recommending editing the OpenClaw config for the API key.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-search-bak - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-search-bak触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Baidu Search skill.
- Enables web search via Baidu AI Search API for live info, documentation, and research.
- Requires configuration of a BAIDU_API_KEY in OpenClaw.
- Supports customizable result count and flexible freshness filters.
- Includes detailed setup and usage instructions.
元数据
常见问题
Baidu Search.Bak 是什么?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。
如何安装 Baidu Search.Bak?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-search-bak」即可一键安装,无需额外配置。
Baidu Search.Bak 是免费的吗?
是的,Baidu Search.Bak 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baidu Search.Bak 支持哪些平台?
Baidu Search.Bak 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Search.Bak?
由 aysun168(@aysun168)开发并维护,当前版本 v1.0.0。
推荐 Skills