技能/ #research/ #Search The Web/ #Documentation

Baidu web search

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

ide-rea@ide-rea

安装

针对本地咔咔镜像运行此命令。

$ openclaw install baidu-search --registry http://localhost:13001下载

说明

--- 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](references/apikey-fetch.md)

Usage

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

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

bash# 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.

安装解析

{
  "artifact": {
    "downloadUrl": "/api/v1/download?slug=baidu-search&version=1.1.4&ownerHandle=ide-rea",
    "format": "zip",
    "generated": true,
    "kind": "skillArchive",
    "sha256": "f9030c1046c3b4099338b3e9a6eee42674008703564aaf2c1de4f4166ab5d1f1",
    "size": 3072
  },
  "owner": {
    "displayName": "ide-rea",
    "handle": "ide-rea",
    "id": "5576e9a9-70f3-4368-9df3-74a3afbb30cb",
    "verified": false
  },
  "skill": {
    "displayName": "Baidu web search",
    "latestVersion": "1.1.4",
    "license": "MIT-0",
    "name": "baidu-search",
    "ownerHandle": "ide-rea",
    "slug": "baidu-search",
    "stats": {
      "downloads": 90962,
      "installs": 3204,
      "stars": 217
    },
    "summary": "Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.",
    "tags": [
      "research",
      "Search The Web",
      "Documentation"
    ],
    "type": "skill",
    "updatedAt": "2026-07-06T10:48:35.845Z"
  },
  "sourceHandoff": null,
  "version": {
    "checksum": null,
    "checksumAlgorithm": null,
    "id": "f209e3ef-10ff-413e-a170-eac0c8b92245",
    "publishedAt": "2026-04-16T11:27:11.266Z",
    "size": null,
    "version": "1.1.4",
    "artifactStorageKey": null,
    "changelog": "- Removed the _meta.json file from the skill.\n- No feature or behavior changes; functionality remains fully intact.",
    "manifest": {
      "clawhub": {
        "tags": {
          "latest": "1.1.4"
        },
        "owner": "ide-rea",
        "stats": {
          "stars": 217,
          "comments": 21,
          "installs": 3204,
          "versions": 12,
          "downloads": 90962
        },
        "topics": [
          "Search The Web",
          "Documentation"
        ],
        "categories": [
          "research"
        ]
      },
      "install": "openclaw skills install @ide-rea/baidu-search"
    },
    "readme": "---\nname: baidu-search\ndescription: Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.\nmetadata: { \"openclaw\": { \"emoji\": \"🔍︎\",  \"requires\": { \"bins\": [\"python3\"], \"env\":[\"BAIDU_API_KEY\"]},\"primaryEnv\":\"BAIDU_API_KEY\" } }\n---\n\n# Baidu Search\n\nSearch the web via Baidu AI Search API.\n\n## Prerequisites\n\n### API Key Configuration\nThis skill requires a **BAIDU_API_KEY** to be configured in OpenClaw.\n\nIf you don't have an API key yet, please visit:\n**https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey**\n\nFor detailed setup instructions, see:\n[references/apikey-fetch.md](references/apikey-fetch.md)\n\n## Usage\n\n```bash\npython3 skills/baidu-search/scripts/search.py '<JSON>'\n```\n\n## Request Parameters\n\n| Param | Type | Required | Default | Description |\n|-------|------|----------|---------|-------------|\n| query | str | yes | - | Search query |\n| count | int | no | 10 | Number of results to return, range 1-50 |\n| 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 |\n\n## Examples\n\n```bash\n# Basic search\npython3 scripts/search.py '{\"query\":\"人工智能\"}'\n\n# Freshness first format \"YYYY-MM-DDtoYYYY-MM-DD\" example\npython3 scripts/search.py '{\n  \"query\":\"最新新闻\",\n  \"freshness\":\"2025-09-01to2025-09-08\"\n}'\n\n# Freshness second format pd、pw、pm、py example\npython3 scripts/search.py '{\n  \"query\":\"最新新闻\",\n  \"freshness\":\"pd\"\n}'\n\n# set count, the number of results to return\npython3 scripts/search.py '{\n  \"query\":\"旅游景点\",\n  \"count\": 20,\n}'\n```\n\n## Current Status\n\nFully functional.\n"
  }
}

版本

版本大小更新时间1.1.4暂无2026-04-16