← 返回 Skills 市场
feng-aragron

baidu search

作者 Feng-Aragron · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
109
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install baidufeng
功能描述
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: run a local Python script that calls Baidu's AI search API using BAIDU_API_KEY. Before installing, do the following: - Review the bundled scripts (scripts/search.py) yourself — it is short and readable and only posts to qianfan.baidubce.com. - Ensure the 'requests' Python package is installed in the runtime environment (pip install requests) or add an install step; otherwise the script will fail. - Store BAIDU_API_KEY securely. The references suggest adding it to ~/.openclaw/openclaw.json (plain JSON), which may leave the key on disk in cleartext; prefer an encrypted/secret store or OS environment variable if possible. - Confirm you trust the skill source (source/homepage are unknown) and the owner. There is a minor metadata mismatch in _meta.json ownerId vs. registry metadata — this is not necessarily malicious but worth checking if provenance matters. - Consider running the script in an isolated environment (container) the first time to validate behavior and network egress to Baidu's endpoint. If these points are acceptable, the skill is coherent and proportional to its stated purpose.
功能分析
Type: OpenClaw Skill Name: baidufeng Version: 1.0.0 The skill is a legitimate implementation of a Baidu AI Search integration. It uses the official Baidu Qianfan API endpoint (qianfan.baidubce.com), handles API keys securely via environment variables, and contains no evidence of malicious behavior, data exfiltration, or prompt injection in scripts/search.py or SKILL.md.
能力评估
Purpose & Capability
Name/description, SKILL.md usage, and the included scripts consistently implement a Baidu AI web search that requires BAIDU_API_KEY and python3. The script calls the expected Baidu endpoint (qianfan.baidubce.com) and constructs search requests. Requiring BAIDU_API_KEY is proportionate to the stated purpose.
Instruction Scope
SKILL.md directs the agent/user to run the included Python script with a JSON argument. The script reads only the declared BAIDU_API_KEY environment variable and does not attempt to read unrelated system files. The references doc suggests adding the key to ~/.openclaw/openclaw.json (a user config file) — this is an operational suggestion, not hidden behavior in the runtime instructions.
Install Mechanism
There is no install spec (instruction-only plus a bundled script), which is low risk. However, the Python script uses the third-party 'requests' library but the skill does not declare that dependency or provide an install step; that can cause runtime failures or unexpected behavior if requests is absent or an incompatible version is installed.
Credentials
The skill requests a single credential (BAIDU_API_KEY) which matches its purpose. One caveat: the references doc recommends storing the key in ~/.openclaw/openclaw.json (plain JSON); users should be aware this stores the key on disk and may be less secure than platform secret storage.
Persistence & Privilege
always is false and the skill does not request elevated or system-wide privileges. It does not modify other skills' configs. The only config edit suggested is to add the API key to the agent's config, which is a user-administered action.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baidufeng
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baidufeng 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of "baidu-search" skill for live web search via Baidu AI Search API. - Requires BAIDU_API_KEY environment variable for authentication. - Provides query, count, and freshness parameters to customize search requests. - Includes clear setup and usage instructions. - Old multi-surface, region-aware Baidu routing documentation removed for a focused search skill.
元数据
Slug baidufeng
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 插件,目前累计下载 109 次。

如何安装 baidu search?

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

baidu search 是免费的吗?

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

baidu search 支持哪些平台?

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

谁开发了 baidu search?

由 Feng-Aragron(@feng-aragron)开发并维护,当前版本 v1.0.0。

💬 留言讨论