Jeck164

百度搜索中文版

Knowledgev1.0.2
By Jeck164Updated 2026-05-11baidu-search-cn@clawhub_jeck164/baidu-search-cn
Information Retrieval#网页搜索

According to AlphaMoat, as of 2026-09, 百度搜索中文版 has 1,697 downloads and 0 stars — ranked #4,645 of 5,078 AI skills overall, and #406 of 442 in Knowledge.

Installs
146
Downloads
1.7K
Stars
-
Overall Rank
#4,645
Top 92% overall · Top 92% in Knowledge
PlatformInstallsDownloadsStarsComments
ClawHub ↗271.1K--
SkillHub ↗1461.7K-—

Platforms count differently and update at different times.

What this skill does

Keep the local proxy bound to 127.0.0.1 and do not expose its port publicly. Protect the API key and do not commit the .env file. Queries may appear in logs or request handling, so do not submit confidential information. The package requires Python 3.11 or later and uv for the documented setup.

Profile published 2026-10-29

What you can do with it

  • Search for current information such as news or weather
  • Filter a search by recency or a specified site
  • Organize returned titles, links, and snippets

When to use it

  • When the local search service is safely running and the API key is protected
  • When the query contains no confidential information
  • When Chinese web results or site-specific search are needed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain how to use the local Baidu AI Search service to search a public topic, and remind the user to protect the API key, avoid exposing the proxy, and keep confidential data out of queries. Do not call the service.

Monthly Trend

Downloads1.7K
3101.1K1.8K2026-03 · Downloads 4132026-05 · Downloads 6982026-06 · Downloads 8582026-07 · Downloads 1.1K2026-08 · Downloads 1.4K2026-09 · Downloads 1.7K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.7K—-
2026-081.4K+21.5%-
2026-071.1K+31.9%-
2026-06858+22.9%-
2026-05698—-
2026-03413—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.7 KB · ClawHub v1.0.2
---
name: 百度搜索
version: 1.0.1
description: 通过百度 AI 搜索 API 进行网页搜索,获取实时信息和搜索结果。
homepage: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/2m0u2qdmd
metadata:
  clawdbot:
    emoji: "🔍"
    requires:
      bins:
Show all (121 lines)
        - uv
      env:
        - BAIDU_API_KEY
    primaryEnv: BAIDU_API_KEY
    install:
      - id: brew
        kind: brew
        formula: uv
        bins:
          - uv
        label: Install uv via Homebrew
---

# 🔍 百度搜索

*Search the web with Baidu AI*

通过百度 AI 搜索 API 进行网页搜索,获取中文互联网的实时信息。

## Setup

```bash
cd {baseDir}
echo "BAIDU_API_KEY=your-api-key" > .env
uv venv && uv pip install -e ".[dev]"
uv run --env-file .env uvicorn baidu_search.main:app --host 127.0.0.1 --port 8001
```

需要在 `.env` 或环境变量中设置 `BAIDU_API_KEY`。

## 获取 API Key

1. 访问 [百度智能云控制台](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)
2. 创建应用获取 API Key

## Quick Start

1. **检查服务:** `curl http://127.0.0.1:8001/ping`

2. **搜索网页:**
```bash
curl -X POST http://127.0.0.1:8001/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "北京有哪些旅游景区",
    "top_k": 10
  }'
```

3. **带时间过滤的搜索:**
```bash
curl -X POST http://127.0.0.1:8001/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "最新科技新闻",
    "top_k": 5,
    "recency_filter": "week"
  }'
```

4. **限定网站搜索:**
```bash
curl -X POST http://127.0.0.1:8001/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "天气预报",
    "top_k": 5,
    "site_filter": ["www.weather.com.cn"]
  }'
```

## API 参数

| 参数 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
| `query` | string | 必填 | 搜索关键词 |
| `top_k` | int | 10 | 返回结果数量 (1-20) |
| `recency_filter` | string | null | 时间过滤: `day`, `week`, `month`, `year` |
| `site_filter` | list | null | 限定搜索的网站列表 |

## Response Format

```json
{
  "results": [
    {
      "title": "北京十大必去景点",
      "url": "https://example.com/beijing-attractions",
      "snippet": "北京作为中国的首都,拥有众多著名景点...",
      "site_name": "旅游网"
    }
  ],
  "total": 10
}
```

## Conversation Flow

1. 用户提问需要搜索的内容
2. 判断是否需要时间过滤(如"最新"、"今天"等)
3. 调用搜索 API 获取结果
4. 整理并展示相关信息
5. 可根据需要深入查看某个结果

## 使用场景

- 查询实时信息(新闻、天气、股票等)
- 搜索中文互联网内容
- 获取特定网站的信息
- 时效性要求高的查询

Popular in Knowledge

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.