Baidu Search 1.1.0

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 285 · 13 current installs · 14 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, declared env var (BAIDU_API_KEY) and the included script align with a Baidu search integration. Minor inconsistencies in metadata: top-level registry metadata and the _meta.json ownerId/version/slug differ (registry lists slug 'baidu-search-1-1-0' and version 1.0.0, while _meta.json has slug 'baidu-search' and version 1.1.0 and a different ownerId). This is a packaging/metadata mismatch worth verifying but does not indicate malicious behavior.
Instruction Scope
SKILL.md instructs running scripts/search.py with a JSON request; the script reads only the provided JSON and BAIDU_API_KEY env var and posts to a Baidu endpoint. It does not access other system files or unrelated env vars. One practical omission: the script imports the Python 'requests' library but the skill does not declare that dependency in SKILL.md or requires; ensure 'requests' will be available in the runtime environment.
Install Mechanism
No install spec (instruction-only plus bundled script). Nothing is downloaded or executed at install time; this is low-risk from an install mechanism perspective.
Credentials
Only BAIDU_API_KEY is required and is used as the Authorization bearer token to call the Baidu AI Search endpoint. That single credential is proportionate to the declared purpose.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modify other skills. Agent autonomous invocation is allowed by default but is not combined with elevated privileges here.
Assessment
This skill appears to do what it says: send search queries to a Baidu AI search endpoint using the BAIDU_API_KEY. Before installing: 1) Confirm the BAIDU_API_KEY is the only credential you are comfortable providing and avoid sending sensitive secrets in queries (queries are transmitted to Baidu). 2) Ensure the runtime has the Python 'requests' package installed or add it to your environment. 3) Verify the odd metadata mismatches (ownerId, slug, version) — confirm the publisher/source to ensure you trust the package origin. 4) If you need stronger privacy guarantees, review the endpoint (https://qianfan.baidubce.com) and the provider's data-handling policies.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk972ph1gsf6j8cq5zmtf1cr13982bfjg

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🔍︎ Clawdis
Binspython3
EnvBAIDU_API_KEY
Primary envBAIDU_API_KEY

SKILL.md

Baidu Search

Search the web via Baidu AI Search API.

Usage

python3 skills/baidu-search/scripts/search.py '<JSON>'

Request Parameters

ParamTypeRequiredDefaultDescription
querystryes-Search query
editionstrnostandardstandard (full) or lite (light)
resource_type_filterlist[obj]noweb:20, others:0Resource types: web (max 50), video (max 10), image (max 30), aladdin (max 5)
search_filterobjno-Advanced filters (see below)
block_websiteslist[str]no-Sites to block, e.g. ["tieba.baidu.com"]
search_recency_filterstrno-Time filter: week, month, semiyear, year
safe_searchboolnofalseEnable strict content filtering

SearchFilter

ParamTypeDescription
match.sitelist[str]Limit search to specific sites, e.g. ["baike.baidu.com"]
range.pageTimeobjDate range for page_time field (see below)

Date Range Format

Fixed date: YYYY-MM-DD Relative time (from current day): now-1w/d, now-1M/d, now-1y/d

OperatorMeaning
gteGreater or equal (start)
lteLess or equal (end)

Examples

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

# Filter by time and site
python3 skills/baidu-search/scripts/search.py '{
  "query":"最新新闻",
  "search_recency_filter":"week",
  "search_filter":{"match":{"site":["news.baidu.com"]}}
}'

# Resource type filter
python3 skills/baidu-search/scripts/search.py '{
  "query":"旅游景点",
  "resource_type_filter":[{"type":"web","top_k":20},{"type":"video","top_k":5}]
}'

Current Status

Fully functional.

Files

3 total
Select a file
Select a file to preview.

Comments

Loading comments…