← 返回 Skills 市场
112131131313131
作者
燕楠 (Nan Yan)
· GitHub ↗
· v1.0.0
· MIT-0
134
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 22
功能描述
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 '<JSON>'
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 is coherent with its stated purpose but take the following precautions before installing: 1) Verify the publisher/source (registry metadata and embedded _meta.json differ) to ensure you trust this package. 2) Treat BAIDU_API_KEY as a secret — prefer a secrets manager or restricted file permissions instead of plaintext in ~/.openclaw/openclaw.json. 3) Be aware that queries and results are printed to stdout and may be logged; avoid passing sensitive data as the query. 4) Review network policy and cost implications for calling Baidu's API from your environment. If you need higher assurance, run the script manually in an isolated environment and inspect behavior before adding it to a shared agent.
功能分析
Type: OpenClaw Skill
Name: 22
Version: 1.0.0
The baidu-search skill is a legitimate tool for performing web searches via the Baidu Qianfan AI Search API. The implementation in scripts/search.py correctly handles input validation, uses environment variables for sensitive API keys, and communicates exclusively with the official Baidu endpoint (qianfan.baidubce.com). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The code, SKILL.md, and required env var (BAIDU_API_KEY) align with the stated purpose (Baidu AI web search). Minor inconsistencies exist in top-level registry metadata (skill name shown to evaluator is '112131131313131', slug/version/ownerId in the registry differ from the _meta.json and SKILL.md which use 'baidu-search'), which is likely bookkeeping/packaging noise but worth verifying the publisher before trusting keys.
Instruction Scope
Runtime instructions only run the included Python script and require BAIDU_API_KEY; the script constructs a search request and posts to Baidu's qianfan API. The SKILL.md and reference guide ask you to place the API key into ~/.openclaw/openclaw.json and restart the gateway — this is within the expected scope. Note: the script prints parsed input and results to stdout, so any sensitive data you pass in the query will appear in logs/output.
Install Mechanism
No install spec is present (instruction-only plus an included script). Required binary is only python3; no downloads or external installers are used. This is low-risk from an installation perspective.
Credentials
Only a single credential (BAIDU_API_KEY) is requested and declared as the primaryEnv. That matches the skill's functionality. The reference instructs storing the API key in the OpenClaw config file (~/.openclaw/openclaw.json) which is typical but stores the key in plaintext — consider secrets management if that is a concern.
Persistence & Privilege
The skill is not always-on and does not request elevated platform privileges. It asks users to update their OpenClaw config and restart the gateway to persist the API key for future runs; this affects only the skill's own config entries and is expected behavior.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 22 - 安装完成后,直接呼叫该 Skill 的名称或使用
/22触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the baidu-search skill.
- Enables searching the web using the Baidu AI Search API.
- Requires configuration of a BAIDU_API_KEY environment variable.
- Supports custom search query, count of results (1–50), and time range (freshness).
- Includes command-line usage examples and setup instructions.
元数据
常见问题
112131131313131 是什么?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 134 次。
如何安装 112131131313131?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 22」即可一键安装,无需额外配置。
112131131313131 是免费的吗?
是的,112131131313131 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
112131131313131 支持哪些平台?
112131131313131 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 112131131313131?
由 燕楠 (Nan Yan)(@yannan)开发并维护,当前版本 v1.0.0。
推荐 Skills