ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 4/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/liuhean2021/baidu-web-search
Or

What 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:

  1. 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.
  2. Platform Settings: Navigate to the Skills Configuration page in OpenClaw or ClawHub. Locate the baidu-web-search entry and input your BAIDU_API_KEY into the designated environment variable field.
  3. Local Manual Setup: For advanced users, copy config.example.json to config.json within the skill directory and insert your credentials. Ensure you run npm install within 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_KEY via 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

Stars1601
Views0
Updated2026-02-27
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-liuhean2021-baidu-web-search": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#web-search#search-engine#real-time-data#information-retrieval#baidu
Safety Score: 4/5

Flags: network-access, external-api, code-execution