Baidu Search

v1.1.4

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

0· 111·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for cgxxxxxxxxxxxx/baidu-search-engine.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Baidu Search" (cgxxxxxxxxxxxx/baidu-search-engine) from ClawHub.
Skill page: https://clawhub.ai/cgxxxxxxxxxxxx/baidu-search-engine
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: BAIDU_API_KEY
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install baidu-search-engine

ClawHub CLI

Package manager switcher

npx clawhub@latest install baidu-search-engine
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (Baidu web search) matches the code and declared requirements: the script sends queries to a Baidu AI search endpoint (qianfan.baidubce.com) and uses BAIDU_API_KEY for Authorization. Required binary (python3) is appropriate for running the included Python script.
Instruction Scope
SKILL.md instructs the agent to invoke the provided Python script with a JSON payload. The script only reads the BAIDU_API_KEY environment variable and the provided JSON argument, calls the Baidu endpoint, and returns filtered results; it does not access other files, unrelated env vars, or external endpoints beyond Baidu.
Install Mechanism
There is no install spec (instruction-only), which minimizes install risk. The package includes a Python script that makes HTTP requests but the metadata does not declare the Python 'requests' dependency — callers will need that package available or the script will fail. No remote downloads or archive extraction are performed.
Credentials
Only BAIDU_API_KEY is required and is the declared primary credential. That key is used only to authenticate requests to the Baidu search API (sent in the Authorization header). No other credentials or broad filesystem/config paths are requested.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request persistence or modify other skills or system-wide settings. It does not elevate privileges.
Assessment
This skill appears to do what it claims, but take these precautions before installing: (1) Only provide a BAIDU_API_KEY you trust to this skill — the key will be sent to Baidu's qianfan.baidubce.com endpoint. (2) Verify the publisher or obtain an official homepage if you need provenance (the package metadata in the files shows inconsistent owner/slug/version values). (3) Ensure Python's 'requests' is installed in the runtime environment or the script will fail. (4) Monitor your Baidu API usage and rotate or scope the key if possible. If you need stronger assurance, ask the publisher for an official homepage or signed release artifacts.

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

Runtime requirements

🔍︎ Clawdis
Binspython3
EnvBAIDU_API_KEY
Primary envBAIDU_API_KEY
latestvk97f5x3q7fsder038y6c5kf7wh84avh5
111downloads
0stars
1versions
Updated 3w ago
v1.1.4
MIT-0

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
countintno10Number of results to return, range 1-50
freshnessstrnoNullTime 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.

Comments

Loading comments...