@ide-rea

Baidu Search

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

当前版本
v1.1.3
198 7.8万总安装 855

name: baidu-search description: Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. metadata: { "openclaw": { "emoji": "🔍︎", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }

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.

Security Scan

OpenClaw

gpt-5-mini

clean

OpenClaw 分析

The skill's code, runtime instructions, and requested credential (BAIDU_API_KEY) are consistent with a Baidu web search integration; nothing in the files indicates hidden exfiltration or unrelated privileges, though a small dependency declaration omission and plaintext key storage guidance should be noted.

置信度: high

VirusTotal

Type: OpenClaw Skill Name: baidu-search Version: 1.1.3 The baidu-search skill bundle is a legitimate implementation for performing web searches via the Baidu AI Search API. The core logic in scripts/search.py correctly handles API authentication using environment variables, validates input parameters like 'freshness' using regular expressions, and communicates exclusively with the official Baidu endpoint (qianfan.baidubce.com). No evidence of data exfiltration, malicious code execution, or harmful instructions was found.

元数据

  • 作者: @ide-rea
  • 创建时间: 2026/02/05
  • 更新时间: 2026/03/18
  • 版本数: 11
  • 评论数: 21
  • 上一版本: v1.0.6
  • 扫描时间: 2026/03/18

运行要求

  • env:BAIDU_API_KEY
Baidu Search | ClawHub 中文站