← Back to Skills Marketplace
aysun168

Baidu Search.Bak

by aysun168 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
130
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install baidu-search-bak
Description
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
README (SKILL.md)

Baidu Search

Search the web via Baidu AI Search API.

Prerequisites

API Key Configuration

This skill requires a BAIDU_API_KEY to be configured in OpenClaw.

If you don't have an API key yet, please visit: https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey

For detailed setup instructions, see: references/apikey-fetch.md

Usage

python3 skills/baidu-search/scripts/search.py '\x3CJSON>'

Request Parameters

Param Type Required Default Description
query str yes - Search query
count int no 10 Number of results to return, range 1-50
freshness str no Null Time range, two formats: format one is ”YYYY-MM-DDtoYYYY-MM-DD“, and format two includes pd, pw, pm, and py, representing the past 24 hours, past 7 days, past 31 days, and past 365 days respectively

Examples

# Basic search
python3 scripts/search.py '{"query":"人工智能"}'

# Freshness first format "YYYY-MM-DDtoYYYY-MM-DD" example
python3 scripts/search.py '{
  "query":"最新新闻",
  "freshness":"2025-09-01to2025-09-08"
}'

# Freshness second format pd、pw、pm、py example
python3 scripts/search.py '{
  "query":"最新新闻",
  "freshness":"pd"
}'

# set count, the number of results to return
python3 scripts/search.py '{
  "query":"旅游景点",
  "count": 20,
}'

Current Status

Fully functional.

Usage Guidance
This skill appears to do what it says: call Baidu's AI search API using your BAIDU_API_KEY. Before installing: (1) verify you have python3 and install the requests package (pip install requests) so the script can run; (2) consider whether you want the API key stored in ~/.openclaw/openclaw.json (plaintext) or prefer to set BAIDU_API_KEY in a secure environment/secret manager; (3) confirm the HTTP endpoint (https://qianfan.baidubce.com) matches the Baidu service you expect; (4) test the skill in an isolated environment if you are unsure; (5) note a small metadata mismatch in packaged _meta.json vs. registry metadata (ownerId/slug/version differences) — this looks like a packaging inconsistency rather than malicious behavior, but you may want to confirm the publisher/source if provenance is important.
Capability Analysis
Type: OpenClaw Skill Name: baidu-search-bak Version: 1.0.0 The skill bundle provides a legitimate implementation for searching the web via the Baidu AI Search API. The Python script (scripts/search.py) securely handles the API key via environment variables, performs standard JSON input validation, and communicates exclusively with the official Baidu Qianfan endpoint (qianfan.baidubce.com). No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name, description, and code implement a Baidu AI web search. Requested items (python3 and BAIDU_API_KEY) match the stated purpose. Minor note: the included script uses the Python 'requests' library but the skill metadata does not declare that dependency.
Instruction Scope
Runtime instructions only run the included Python script with a JSON argument and tell the user how to configure BAIDU_API_KEY. The documentation suggests placing the API key in ~/.openclaw/openclaw.json (a local config)—this is reasonable for setup but is a scope note because it instructs modifying a user config file and storing the key in plaintext.
Install Mechanism
No install spec (instruction-only) — lowest risk. Note: the script requires the 'requests' Python package but no installation steps are provided; users may need to pip install requests before running.
Credentials
Only a single credential (BAIDU_API_KEY) is required and it is the primary credential for contacting Baidu's API. This is proportionate. Reminder: storing the key in plaintext inside ~/.openclaw/openclaw.json is convenient but reduces secrecy.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). It does not try to modify other skills or system-wide settings beyond recommending editing the OpenClaw config for the API key.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baidu-search-bak
  3. After installation, invoke the skill by name or use /baidu-search-bak
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of Baidu Search skill. - Enables web search via Baidu AI Search API for live info, documentation, and research. - Requires configuration of a BAIDU_API_KEY in OpenClaw. - Supports customizable result count and flexible freshness filters. - Includes detailed setup and usage instructions.
Metadata
Slug baidu-search-bak
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Baidu Search.Bak?

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. It is an AI Agent Skill for Claude Code / OpenClaw, with 130 downloads so far.

How do I install Baidu Search.Bak?

Run "/install baidu-search-bak" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Baidu Search.Bak free?

Yes, Baidu Search.Bak is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Baidu Search.Bak support?

Baidu Search.Bak is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Baidu Search.Bak?

It is built and maintained by aysun168 (@aysun168); the current version is v1.0.0.

💬 Comments