← 返回 Skills 市场
160
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-search-1-1-2
功能描述
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.
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.
安全使用建议
The skill appears to do what it states: call Baidu's web-search API using an API key. Before installing: (1) make sure you trust the publisher — the _meta.json ownerId in the package differs from the registry owner id shown in the listing, which could indicate repackaging or a packaging mismatch; (2) ensure the Python runtime has the 'requests' package available (the script will fail otherwise); (3) store BAIDU_API_KEY securely and only grant this skill that single key; (4) be aware the script prints the parsed query to stdout (it may end up in logs), so avoid sending sensitive prompts. If any of these points worry you, run the script in an isolated environment or request the publisher clarify the owner mismatch and explicitly list Python dependencies.
功能分析
Type: OpenClaw Skill
Name: baidu-search-1-1-2
Version: 1.1.2
The skill bundle provides a legitimate interface for the Baidu AI Search API. The script 'scripts/search.py' correctly handles input validation, retrieves the API key from environment variables, and communicates exclusively with the official Baidu Qianfan endpoint (qianfan.baidubce.com). No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (Baidu search) align with the code and instructions: the script calls a Baidu AI Search endpoint and only requires an API key. No unrelated services, credentials, or system resources are requested.
Instruction Scope
The SKILL.md instructs running the included Python script with a JSON argument and the script only reads the provided JSON and the BAIDU_API_KEY env var. The script prints a parsed-request debug line and standard error messages to stdout/stderr — this may surface the user query in logs. Otherwise it does not read other files, paths, or unrelated environment variables.
Install Mechanism
This is an instruction-only skill with a small included Python script and no install spec. That is the lowest-risk install model.
Credentials
Only BAIDU_API_KEY is required and it is used directly as a Bearer token for the Baidu endpoint — this is proportional. Minor issue: the script depends on the Python 'requests' package but the skill metadata only declares python3 as a required binary; the dependency is not documented.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). Autonomous invocation is allowed by platform default but it is not combined with broad credentials or system access here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-search-1-1-2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-search-1-1-2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.2
- Updated documentation in SKILL.md for improved clarity and formatting.
- Added detailed examples for all request parameters and freshness formats.
- Clarified usage instructions and environment variable requirements.
- No functional changes to the skill code—documentation update only.
元数据
常见问题
百度搜索 是什么?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。
如何安装 百度搜索?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-search-1-1-2」即可一键安装,无需额外配置。
百度搜索 是免费的吗?
是的,百度搜索 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
百度搜索 支持哪些平台?
百度搜索 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 百度搜索?
由 jeayoo(@jeayoo)开发并维护,当前版本 v1.1.2。
推荐 Skills