← 返回 Skills 市场
Baidu Search V2
作者
15914355527
· GitHub ↗
· v1.0.0
· MIT-0
255
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-search-v2
功能描述
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: send search queries to Baidu using BAIDU_API_KEY. Before installing, verify the BAIDU_API_KEY you provide is scoped appropriately and replaceable if compromised. Note the package has no install script and assumes the Python 'requests' library is present — you may need to install it. Also consider the provenance: source/homepage are missing and _meta.json metadata (owner/version/timestamp) differs from the registry metadata, so if you need high assurance about origin, ask the publisher for provenance or prefer an officially published integration. Finally, be aware that all queries and returned data will be sent to/received from Baidu's endpoint (qianfan.baidubce.com).
功能分析
Type: OpenClaw Skill
Name: baidu-search-v2
Version: 1.0.0
The skill is a legitimate implementation for searching the web via the Baidu AI Search API. It uses standard libraries (requests, json) to communicate with the official Baidu endpoint (qianfan.baidubce.com), handles API keys securely through environment variables, and includes proper input validation for search parameters in scripts/search.py. No malicious intent, data exfiltration, or dangerous execution patterns were found.
能力评估
Purpose & Capability
Name/description match the code and declared requirement. The script calls a Baidu web-search API and requires BAIDU_API_KEY and python3, which are appropriate for a web-search skill.
Instruction Scope
SKILL.md instructs running scripts/search.py with a JSON payload; the script only reads the provided JSON and the BAIDU_API_KEY env var, constructs a search request, and returns results. It does not read other files, other env vars, or transmit data to unexpected endpoints beyond the Baidu endpoint (qianfan.baidubce.com).
Install Mechanism
No install spec (instruction-only) which minimizes installation risk. The script uses the Python 'requests' package but no dependency installation is declared — this is a usability/packaging omission rather than malicious behavior.
Credentials
Only BAIDU_API_KEY is required and is used as a Bearer token to call the Baidu API. The requested environment access is proportional to the skill's stated function.
Persistence & Privilege
Skill is not 'always' enabled and does not request system-wide configuration changes or access to other skills' credentials. Autonomous invocation is allowed (platform default) but not combined with other concerning privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-search-v2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-search-v2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial public release of baidu-search skill.
- Enables web searches using the Baidu AI Search Engine (BDSE).
- Supports query customization, result count (1–50), and time range filtering via two freshness formats.
- Requires Python 3 and a BAIDU_API_KEY environment variable.
- Includes usage instructions and command line examples.
元数据
常见问题
Baidu Search V2 是什么?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 255 次。
如何安装 Baidu Search V2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-search-v2」即可一键安装,无需额外配置。
Baidu Search V2 是免费的吗?
是的,Baidu Search V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baidu Search V2 支持哪些平台?
Baidu Search V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Search V2?
由 15914355527(@15914355527)开发并维护,当前版本 v1.0.0。
推荐 Skills