← 返回 Skills 市场
Baidu Search
作者
cgxxxxxxxxxxxx
· GitHub ↗
· v1.1.4
· MIT-0
111
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-search-engine
功能描述
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.
安全使用建议
This skill appears to do what it claims, but take these precautions before installing: (1) Only provide a BAIDU_API_KEY you trust to this skill — the key will be sent to Baidu's qianfan.baidubce.com endpoint. (2) Verify the publisher or obtain an official homepage if you need provenance (the package metadata in the files shows inconsistent owner/slug/version values). (3) Ensure Python's 'requests' is installed in the runtime environment or the script will fail. (4) Monitor your Baidu API usage and rotate or scope the key if possible. If you need stronger assurance, ask the publisher for an official homepage or signed release artifacts.
能力评估
Purpose & Capability
The name/description (Baidu web search) matches the code and declared requirements: the script sends queries to a Baidu AI search endpoint (qianfan.baidubce.com) and uses BAIDU_API_KEY for Authorization. Required binary (python3) is appropriate for running the included Python script.
Instruction Scope
SKILL.md instructs the agent to invoke the provided Python script with a JSON payload. The script only reads the BAIDU_API_KEY environment variable and the provided JSON argument, calls the Baidu endpoint, and returns filtered results; it does not access other files, unrelated env vars, or external endpoints beyond Baidu.
Install Mechanism
There is no install spec (instruction-only), which minimizes install risk. The package includes a Python script that makes HTTP requests but the metadata does not declare the Python 'requests' dependency — callers will need that package available or the script will fail. No remote downloads or archive extraction are performed.
Credentials
Only BAIDU_API_KEY is required and is the declared primary credential. That key is used only to authenticate requests to the Baidu search API (sent in the Authorization header). No other credentials or broad filesystem/config paths are requested.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request persistence or modify other skills or system-wide settings. It does not elevate privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-search-engine - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-search-engine触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.4
- Improved documentation with clear usage instructions and parameter descriptions
- Added detailed examples for various search options (basic, freshness, and count)
- Clarified request parameter formats and usage scenarios
- Stated current status: fully functional
元数据
常见问题
Baidu Search 是什么?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。
如何安装 Baidu Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-search-engine」即可一键安装,无需额外配置。
Baidu Search 是免费的吗?
是的,Baidu Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baidu Search 支持哪些平台?
Baidu Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Search?
由 cgxxxxxxxxxxxx(@cgxxxxxxxxxxxx)开发并维护,当前版本 v1.1.4。
推荐 Skills