Baidu Search for Openclaw

An AI-powered web search skill leveraging the Baidu Search Engine to provide real-time information and research capabilities to AI agents.

feng-aragron
v1.0.0
Apr 2, 2026
0
742
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install baidufeng

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install baidufeng using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Baidu Search?

The Baidu Search skill integrates the Baidu AI Search Engine (BDSE) directly into your agent workflow. It allows AI coding agents to access live information, technical documentation, and current events from one of the world's largest search indexes. By incorporating this capability into your Openclaw Skills collection, you enable your agents to overcome knowledge cutoff limitations and perform high-quality research across the web with precision.

Baidu Search Use Cases

  • Retrieving live documentation for specific software libraries or frameworks.
  • Conducting market research or finding recent news articles and trends.
  • Fact-checking information against real-time web data to ensure accuracy.
  • Gathering localized information specifically from the Baidu search index for regional insights.

How Baidu Search Works

  1. The AI agent identifies a need for external information that is not present in its training data.
  2. The skill executes a Python script that interfaces with the Baidu AI Search API.
  3. Search parameters such as query strings, result counts, and freshness filters are passed to the API.
  4. The Baidu Search Engine returns a structured set of relevant results including titles and snippets.
  5. The data is parsed and fed back to the agent to inform its response or complete its current task.

Baidu Search Setup

To use this skill within the Openclaw Skills ecosystem, you must have python3 installed and a valid API key.

  1. Obtain your API key from the Baidu Qianfan console: https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey
  2. Configure the BAIDU_API_KEY environment variable in your environment.
  3. Run the search script using the following command structure:
python3 skills/baidu-search/scripts/search.py '{"query":"your search term"}'

Baidu Search Data Schema & Taxonomy

The skill utilizes a JSON-based request structure to communicate with the Baidu AI Search API. The following parameters define the data organization:

Parameter Type Required Description
query string Yes The search terms to be queried.
count integer No Number of results to return (range 1-50, default 10).
freshness string No Time range filters like 'pd' (past day), 'pw' (past week), or specific date ranges.

Baidu Search Advanced Features

  • Granular freshness controls including past day, week, month, year, or custom date ranges (YYYY-MM-DDtoYYYY-MM-DD).
  • Adjustable result density allowing for up to 50 results per query for deep-dive research.
  • Seamless integration as a tool for autonomous agents within the Openclaw Skills framework.
  • Support for complex JSON queries to refine search results programmatically.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*