112131131313131

v1.0.0

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

0· 138·0 current·0 all-time
by燕楠 (Nan Yan)@yannan·duplicate of @bzmtxh/baidu-search-1

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yannan/22.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "112131131313131" (yannan/22) from ClawHub.
Skill page: https://clawhub.ai/yannan/22
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 22

ClawHub CLI

Package manager switcher

npx clawhub@latest install 22
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The code, SKILL.md, and required env var (BAIDU_API_KEY) align with the stated purpose (Baidu AI web search). Minor inconsistencies exist in top-level registry metadata (skill name shown to evaluator is '112131131313131', slug/version/ownerId in the registry differ from the _meta.json and SKILL.md which use 'baidu-search'), which is likely bookkeeping/packaging noise but worth verifying the publisher before trusting keys.
Instruction Scope
Runtime instructions only run the included Python script and require BAIDU_API_KEY; the script constructs a search request and posts to Baidu's qianfan API. The SKILL.md and reference guide ask you to place the API key into ~/.openclaw/openclaw.json and restart the gateway — this is within the expected scope. Note: the script prints parsed input and results to stdout, so any sensitive data you pass in the query will appear in logs/output.
Install Mechanism
No install spec is present (instruction-only plus an included script). Required binary is only python3; no downloads or external installers are used. This is low-risk from an installation perspective.
Credentials
Only a single credential (BAIDU_API_KEY) is requested and declared as the primaryEnv. That matches the skill's functionality. The reference instructs storing the API key in the OpenClaw config file (~/.openclaw/openclaw.json) which is typical but stores the key in plaintext — consider secrets management if that is a concern.
Persistence & Privilege
The skill is not always-on and does not request elevated platform privileges. It asks users to update their OpenClaw config and restart the gateway to persist the API key for future runs; this affects only the skill's own config entries and is expected behavior.
Assessment
This skill is coherent with its stated purpose but take the following precautions before installing: 1) Verify the publisher/source (registry metadata and embedded _meta.json differ) to ensure you trust this package. 2) Treat BAIDU_API_KEY as a secret — prefer a secrets manager or restricted file permissions instead of plaintext in ~/.openclaw/openclaw.json. 3) Be aware that queries and results are printed to stdout and may be logged; avoid passing sensitive data as the query. 4) Review network policy and cost implications for calling Baidu's API from your environment. If you need higher assurance, run the script manually in an isolated environment and inspect behavior before adding it to a shared agent.

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

Runtime requirements

🔍︎ Clawdis
Binspython3
EnvBAIDU_API_KEY
Primary envBAIDU_API_KEY
latestvk97b526gswemnczq7kspjf2xmd84gfn0
138downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

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 '<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...