← Back to Skills Marketplace
liyafeichina

Baidu Chinese Search

by liyafeichina · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
27
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install baidu-chinese-search
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
Install only if you are comfortable sending search queries to Baidu AI Search. Do not search for secrets, private personal data, or confidential internal material, and protect the Baidu API key in your local OpenClaw config with appropriate file permissions and rotation if exposed.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The reported behavior fits the apparent purpose: a search skill sends user queries to Baidu AI Search and uses a Baidu API key to authenticate.
Instruction Scope
The scanner concern is about disclosure quality, not hidden unrelated behavior; query transmission to the search provider is expected for this kind of skill, but users should know prompts may leave the local machine.
Install Mechanism
The referenced setup stores a live API key in the local OpenClaw JSON config. That is a common integration pattern, but stronger secret-handling instructions would be better.
Credentials
Network access to Baidu and use of one service API key are proportionate to a Baidu search provider skill; there is no evidence of unrelated credentials, broad local indexing, destructive actions, or background execution.
Persistence & Privilege
The API key persists in local configuration, but the supplied evidence does not show automatic privilege escalation, unbounded persistence, or use of session/profile stores beyond the user-provided key.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baidu-chinese-search
  3. After installation, invoke the skill by name or use /baidu-chinese-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Optimized Baidu web search for Chinese developers. Supports mainland China content sources, simplified Chinese queries, and real-time news. Differentiated from ide-rea/baidu-search with enhanced Chinese language processing.
Metadata
Slug baidu-chinese-search
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Baidu Chinese Search?

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 27 downloads so far.

How do I install Baidu Chinese Search?

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

Is Baidu Chinese Search free?

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

Which platforms does Baidu Chinese Search support?

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

Who created Baidu Chinese Search?

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

💬 Comments