← 返回 Skills 市场
andy27725

Baidu Search 1.1.3

作者 Andy27725 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
597
总下载
0
收藏
17
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-search-1-1-3
功能描述
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: a small Python wrapper that calls Baidu's AI Search API and returns results. Before installing: (1) Confirm you trust the skill owner/source (source and homepage are unknown and _meta.json owner differs from registry metadata — this could indicate repackaging). (2) Ensure your environment has the Python 'requests' package or install it (pip install requests). (3) Consider how you store BAIDU_API_KEY: the provided guide suggests placing it in ~/.openclaw/openclaw.json (plaintext); if the key is sensitive, prefer a more secure secret store or limit the key's scope. (4) Review that sending queries to qianfan.baidubce.com is acceptable for your data — search queries will be transmitted to Baidu. (5) If you need provenance guarantees, ask the publisher for a homepage or official repository and verify the package's origin.
功能分析
Type: OpenClaw Skill Name: baidu-search-1-1-3 Version: 1.0.0 The skill is a legitimate implementation of a Baidu AI Search tool. It uses the official Baidu Qianfan API (qianfan.baidubce.com) to perform web searches based on user-provided queries and parameters. The code in scripts/search.py correctly handles environment variables for the API key and performs standard JSON parsing and HTTP requests without any signs of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description map to the included script which calls Baidu's qianfan.baidubce.com web_search API. Required binary (python3) and primaryEnv (BAIDU_API_KEY) are appropriate for a search client.
Instruction Scope
SKILL.md instructs running the included Python script and to set BAIDU_API_KEY. The references guide tells users to add the key into ~/.openclaw/openclaw.json (centralized config) — reasonable but worth noting that the guide directs writing the API key in plaintext to a config file. The script only reads BAIDU_API_KEY and does network calls to the Baidu search endpoint; it does not access other system secrets or paths.
Install Mechanism
There is no install spec (instruction-only style) and no remote downloads. Minor issue: the script imports the third-party 'requests' library but the SKILL.md/metadata do not declare or instruct installing it; the runtime must already have requests available or the user must install it.
Credentials
Only a single credential (BAIDU_API_KEY) is requested and it's the expected credential for this API. The SKILL.md and script consistently use that env var. The references guide recommends storing the key in ~/.openclaw/openclaw.json — convenient but a plaintext central store may be undesirable for high-sensitivity keys.
Persistence & Privilege
The skill does not request always:true and is user-invocable. It does not modify other skills or system settings. No elevated persistence or broad privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baidu-search-1-1-3
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baidu-search-1-1-3 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of baidu-search skill. - Enables web searches using the Baidu AI Search Engine (BDSE). - Requires a BAIDU_API_KEY for access. - Supports custom search parameters: query, count of results, and result freshness. - Includes documentation and usage examples for command-line execution.
元数据
Slug baidu-search-1-1-3
版本 1.0.0
许可证 MIT-0
累计安装 19
当前安装数 17
历史版本数 1
常见问题

Baidu Search 1.1.3 是什么?

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 597 次。

如何安装 Baidu Search 1.1.3?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-search-1-1-3」即可一键安装,无需额外配置。

Baidu Search 1.1.3 是免费的吗?

是的,Baidu Search 1.1.3 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Baidu Search 1.1.3 支持哪些平台?

Baidu Search 1.1.3 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Baidu Search 1.1.3?

由 Andy27725(@andy27725)开发并维护,当前版本 v1.0.0。

💬 留言讨论