← Back to Skills Marketplace
Baidu Web Search
by
Sunshine-del-ux
· GitHub ↗
· v1.0.1
· MIT-0
423
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install sunshine-baidu-web-search
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sunshine-baidu-web-search - After installation, invoke the skill by name or use
/sunshine-baidu-web-search - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 423 downloads so far.
How do I install Baidu Web Search?
Run "/install sunshine-baidu-web-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baidu Web Search free?
Yes, Baidu Web Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baidu Web Search support?
Baidu Web Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baidu Web Search?
It is built and maintained by Sunshine-del-ux (@sunshine-del-ux); the current version is v1.0.1.
More Skills