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 like "查一下","搜一下","最近","今天","今年", or asks about events/people/products that require looking up.
Why use this skill?
Integrate the Baidu Qianfan search engine into your OpenClaw agent. Get real-time web results, news, and factual verification for your AI workflows effortlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/liuhean2021/baidu-web-searchWhat This Skill Does
The baidu-web-search skill empowers your OpenClaw agent to perform real-time, high-quality information retrieval using the Baidu Qianfan search engine. It processes user queries to fetch live data, news, facts, and documentation from across the internet, providing a structured response that the AI can synthesize into comprehensive answers. This skill is the primary tool for grounding your agent's knowledge in current, verifiable external sources.
Installation
There are three convenient ways to set up this skill:
- Direct Agent Interaction: Simply ask your OpenClaw agent to install the skill and provide your API key. The agent will handle the configuration automatically in the background.
- Platform Settings: Navigate to the Skills Configuration page in OpenClaw or ClawHub. Locate the
baidu-web-searchentry and input yourBAIDU_API_KEYinto the designated environment variable field. - Local Manual Setup: For advanced users, copy
config.example.jsontoconfig.jsonwithin the skill directory and insert your credentials. Ensure you runnpm installwithin the skill folder to prepare the dependencies.
Use Cases
Use this skill whenever you need information that requires access to the latest data or a broad web context. It is essential for:
- Fact-checking claims or verifying real-time events.
- Retrieving the latest technology news or market updates.
- Finding specific technical tutorials, documentation, or product specs.
- Answering "who, what, where, when" questions that occurred recently or today.
- Performing general research that falls outside the agent's pre-trained knowledge base.
Example Prompts
- "百度一下,最近有哪些关于开源人工智能的新闻?"
- "查一下今年的巴黎奥运会有哪些值得关注的亮点。"
- "搜索一下关于React Hooks的最佳实践,帮我整理出一份文档。"
Tips & Limitations
- Security First: This skill is designed with strict security protocols. Never attempt to read or expose your
BAIDU_API_KEYvia shell commands or logs. The configuration is meant to be handled by the script's internal logic only. - Optimizing Results: You can influence the quality of the answer by providing specific context in your query. If you need more depth, remember the agent can process up to 50 results per request.
- Contextual Synthesis: The agent is designed to provide summarized answers based on the search snippets. If you want raw data, specifically ask the agent to list the URLs or sources directly.
- Privacy: Be mindful that any query sent through this skill will be processed by the Baidu search API. Avoid sending sensitive personal information in search queries.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-liuhean2021-baidu-web-search": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution