← 返回 Skills 市场
sunshine-del-ux

Baidu Web Search

作者 Sunshine-del-ux · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
423
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install sunshine-baidu-web-search
功能描述
Use Baidu Qianfan web search API for real-time web retrieval. Use when the user needs to search the web, get latest news, verify facts, or expresses intent l...
安全使用建议
This skill appears to do exactly what it claims: call Baidu Qianfan web search using BAIDU_API_KEY. Before installing, ensure you: (1) provide the API key only via the platform's secure skill configuration or in a private channel (avoid pasting keys into public chats), (2) confirm the platform injects BAIDU_API_KEY into the agent environment rather than exposing it in logs, (3) if using local config.json, keep it out of version control (.gitignore) and restrict file permissions, and (4) review the script (scripts/search.js) and the endpoint (https://qianfan.baidubce.com) if you want additional assurance. If you need higher assurance, request the author to remove the conversational example that suggests placing the key in a chat transcript.
功能分析
Type: OpenClaw Skill Name: sunshine-baidu-web-search Version: 1.0.1 The skill is a legitimate implementation for performing web searches via the Baidu Qianfan API. The core logic in `scripts/search.js` securely retrieves the API key from environment variables or a local configuration file and only communicates with the official Baidu endpoint (qianfan.baidubce.com). Furthermore, the `SKILL.md` file contains explicit security instructions directing the AI agent to protect the API key and refuse any requests to display or exfiltrate sensitive credentials.
能力评估
Purpose & Capability
Name/description, required env var (BAIDU_API_KEY), and the included script (scripts/search.js) all directly relate to performing Baidu Qianfan web searches. Dependencies (axios) are appropriate for making HTTP requests. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md narrowly instructs the agent to run only `node scripts/search.js "<query>" [num_results]` and explicitly forbids the agent from reading config.json or printing the API key; the script itself reads the env var or config.json as intended. One user-safety note: the '方式一' example shows providing the API key via an OpenClaw conversation (the doc warns to do this only in private), which can be risky if the conversation is public or logged—this is a user-behavior risk rather than an incoherence in the skill.
Install Mechanism
There is no external installer; the package is instruction-only with code included. package.json lists only axios, which is reasonable. No downloads from untrusted URLs or archive extraction are present.
Credentials
The skill requires a single credential (BAIDU_API_KEY) which is the expected, primary credential for the described API. The script falls back to a local config.json if the env var is absent—this is documented. No unrelated secrets or excessive env variables are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills' configurations, and has no privileged installation steps. It reads only its own config.json (if present) or an injected BAIDU_API_KEY—this scope is appropriate.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sunshine-baidu-web-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sunshine-baidu-web-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
baidu-web-search v1.0.1 - Added comprehensive SKILL.md with detailed usage instructions, privacy and API key protection rules, and configuration guidance. - Clarified strict security requirements for handling API keys and config files. - Outlined scenarios for using the Baidu Qianfan web search API and expected integration flow. - Described supported input/output formats and platform-specific configuration steps. - Provided clear instructions for first-time setup and command execution.
元数据
Slug sunshine-baidu-web-search
版本 1.0.1
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Baidu Web Search 是什么?

Use Baidu Qianfan web search API for real-time web retrieval. Use when the user needs to search the web, get latest news, verify facts, or expresses intent l... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 423 次。

如何安装 Baidu Web Search?

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

Baidu Web Search 是免费的吗?

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

Baidu Web Search 支持哪些平台?

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

谁开发了 Baidu Web Search?

由 Sunshine-del-ux(@sunshine-del-ux)开发并维护,当前版本 v1.0.1。

💬 留言讨论