← Back to Skills Marketplace
15914355527

Baidu Search V2

by 15914355527 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
255
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install baidu-search-v2
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
This skill appears to do what it claims: send search queries to Baidu using BAIDU_API_KEY. Before installing, verify the BAIDU_API_KEY you provide is scoped appropriately and replaceable if compromised. Note the package has no install script and assumes the Python 'requests' library is present — you may need to install it. Also consider the provenance: source/homepage are missing and _meta.json metadata (owner/version/timestamp) differs from the registry metadata, so if you need high assurance about origin, ask the publisher for provenance or prefer an officially published integration. Finally, be aware that all queries and returned data will be sent to/received from Baidu's endpoint (qianfan.baidubce.com).
Capability Analysis
Type: OpenClaw Skill Name: baidu-search-v2 Version: 1.0.0 The skill is a legitimate implementation for searching the web via the Baidu AI Search API. It uses standard libraries (requests, json) to communicate with the official Baidu endpoint (qianfan.baidubce.com), handles API keys securely through environment variables, and includes proper input validation for search parameters in scripts/search.py. No malicious intent, data exfiltration, or dangerous execution patterns were found.
Capability Assessment
Purpose & Capability
Name/description match the code and declared requirement. The script calls a Baidu web-search API and requires BAIDU_API_KEY and python3, which are appropriate for a web-search skill.
Instruction Scope
SKILL.md instructs running scripts/search.py with a JSON payload; the script only reads the provided JSON and the BAIDU_API_KEY env var, constructs a search request, and returns results. It does not read other files, other env vars, or transmit data to unexpected endpoints beyond the Baidu endpoint (qianfan.baidubce.com).
Install Mechanism
No install spec (instruction-only) which minimizes installation risk. The script uses the Python 'requests' package but no dependency installation is declared — this is a usability/packaging omission rather than malicious behavior.
Credentials
Only BAIDU_API_KEY is required and is used as a Bearer token to call the Baidu API. The requested environment access is proportional to the skill's stated function.
Persistence & Privilege
Skill is not 'always' enabled and does not request system-wide configuration changes or access to other skills' credentials. Autonomous invocation is allowed (platform default) but not combined with other concerning privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baidu-search-v2
  3. After installation, invoke the skill by name or use /baidu-search-v2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial public release of baidu-search skill. - Enables web searches using the Baidu AI Search Engine (BDSE). - Supports query customization, result count (1–50), and time range filtering via two freshness formats. - Requires Python 3 and a BAIDU_API_KEY environment variable. - Includes usage instructions and command line examples.
Metadata
Slug baidu-search-v2
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Baidu Search V2?

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

How do I install Baidu Search V2?

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

Is Baidu Search V2 free?

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

Which platforms does Baidu Search V2 support?

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

Who created Baidu Search V2?

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

💬 Comments