← Back to Skills Marketplace
jeayoo

百度搜索

by jeayoo · GitHub ↗ · v1.1.2 · MIT-0
cross-platform ✓ Security Clean
160
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install baidu-search-1-1-2
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.

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
The skill appears to do what it states: call Baidu's web-search API using an API key. Before installing: (1) make sure you trust the publisher — the _meta.json ownerId in the package differs from the registry owner id shown in the listing, which could indicate repackaging or a packaging mismatch; (2) ensure the Python runtime has the 'requests' package available (the script will fail otherwise); (3) store BAIDU_API_KEY securely and only grant this skill that single key; (4) be aware the script prints the parsed query to stdout (it may end up in logs), so avoid sending sensitive prompts. If any of these points worry you, run the script in an isolated environment or request the publisher clarify the owner mismatch and explicitly list Python dependencies.
Capability Analysis
Type: OpenClaw Skill Name: baidu-search-1-1-2 Version: 1.1.2 The skill bundle provides a legitimate interface for the Baidu AI Search API. The script 'scripts/search.py' correctly handles input validation, retrieves the API key from environment variables, and communicates exclusively with the official Baidu Qianfan endpoint (qianfan.baidubce.com). No evidence of malicious intent, data exfiltration, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description (Baidu search) align with the code and instructions: the script calls a Baidu AI Search endpoint and only requires an API key. No unrelated services, credentials, or system resources are requested.
Instruction Scope
The SKILL.md instructs running the included Python script with a JSON argument and the script only reads the provided JSON and the BAIDU_API_KEY env var. The script prints a parsed-request debug line and standard error messages to stdout/stderr — this may surface the user query in logs. Otherwise it does not read other files, paths, or unrelated environment variables.
Install Mechanism
This is an instruction-only skill with a small included Python script and no install spec. That is the lowest-risk install model.
Credentials
Only BAIDU_API_KEY is required and it is used directly as a Bearer token for the Baidu endpoint — this is proportional. Minor issue: the script depends on the Python 'requests' package but the skill metadata only declares python3 as a required binary; the dependency is not documented.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). Autonomous invocation is allowed by platform default but it is not combined with broad credentials or system access here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baidu-search-1-1-2
  3. After installation, invoke the skill by name or use /baidu-search-1-1-2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.2
- Updated documentation in SKILL.md for improved clarity and formatting. - Added detailed examples for all request parameters and freshness formats. - Clarified usage instructions and environment variable requirements. - No functional changes to the skill code—documentation update only.
Metadata
Slug baidu-search-1-1-2
Version 1.1.2
License MIT-0
All-time Installs 6
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is 百度搜索?

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

How do I install 百度搜索?

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

Is 百度搜索 free?

Yes, 百度搜索 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 百度搜索 support?

百度搜索 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 百度搜索?

It is built and maintained by jeayoo (@jeayoo); the current version is v1.1.2.

💬 Comments