ypw757

bocha-skill

データ分析v1.0.0
作者:ypw757更新日 2026-05-11@clawhub_ypw757/bocha-skill
Web スクレイピング#Search The Web#News

AlphaMoatによると、2026-09時点でbocha-skillのダウンロード数は3,488、スター数は2で、AIスキル全体5,078件中3,170位、データ分析では399件中237位です。

インストール数
184
ダウンロード数
3488
スター数
2
総合順位
#3,170
全体の上位 63% · データ分析の上位 60%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11233001-
SkillHub ↗18434882—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

中国語コンテンツ向けに最適化され、ウェブ、画像、ニュース、百科事典の検索と要約に対応します。利用には BOCHA_API_KEY と Node.js が必要です。

資料公開日 2026-10-27

できること

  • 中国語のウェブページ、ニュース、百科事典を検索する
  • 画像検索結果と AI 要約を取得する

使う場面

  • 中国語のウェブ情報を検索するとき
  • Bocha API キーと Node.js が設定されているとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

Bocha Search でテーマに関する中国語ページとニュースを探して
Bocha Search に必要な環境設定を説明して

月次の推移

ダウンロード数3488
2220290135822026-03 · ダウンロード数 23142026-05 · ダウンロード数 27862026-07 · ダウンロード数 31382026-08 · ダウンロード数 32232026-09 · ダウンロード数 348826-0326-09
スター数2
1222026-03 · スター数 12026-05 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093488—2
2026-083223+2.7%2
2026-073138—2
2026-052786—2
2026-032314—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

7.0 KB・ClawHub v1.0.0
---
name: bocha-search
description: Search the web using Bocha AI Search API (博查AI搜索) - a Chinese search engine optimized for Chinese content. Requires BOCHA_API_KEY. Supports web pages, images, and news with high-quality summaries.
metadata: {"openclaw":{"emoji":"🔍","requires":{"bins":["node"]},"primaryEnv":"BOCHA_API_KEY"}}
---

# Bocha Search Skill for OpenClaw

🔍 **博查AI搜索** - 专为中文内容优化的智能搜索工具
すべて表示(全 237 行)
## Overview

This skill provides web search capabilities through the Bocha AI Search API (博查AI搜索). It's particularly effective for:
- ✅ Chinese language searches (中文搜索)
- ✅ Domestic Chinese content (国内内容)
- ✅ News and current events (新闻资讯)
- ✅ Encyclopedia and knowledge queries (百科知识)
- ✅ High-quality AI-generated summaries (AI智能摘要)

## Requirements

- **API Key**: You need a Bocha API key from https://open.bocha.cn/
- **Node.js**: Required to run the search script
- **Environment Variable**: Set `BOCHA_API_KEY` or configure via OpenClaw settings

## Configuration

### Step 1: Get API Key

1. Visit [博查AI开放平台](https://open.bocha.cn/)
2. Register an account (注册账号)
3. Create an application and get your API KEY
4. Recharge if needed (充值以获得搜索额度)

### Step 2: Configure OpenClaw

Add to `~/.openclaw/openclaw.json`:

```json
{
  "skills": {
    "entries": {
      "bocha-search": {
        "enabled": true,
        "apiKey": "your-bocha-api-key-here",
        "env": {
          "BOCHA_API_KEY": "your-bocha-api-key-here"
        }
      }
    }
  }
}
```

Or set environment variable:
```bash
export BOCHA_API_KEY="your-bocha-api-key-here"
```

## Usage

Once configured, you can use this skill by asking in Chinese or English:

```
"搜索北京今天的天气"
"用博查查找人工智能的最新进展"
"bocha search: 量子计算发展趋势"
"查找特朗普的最新新闻"
```

The skill will automatically route Chinese queries or explicit "bocha" / "博查" / "search" requests to this search provider.

## Features

| Feature | Description |
|---------|-------------|
| **Chinese Optimized** | Better results for Chinese language queries |
| **High-Quality Summaries** | AI-generated article summaries (when `summary: true`) |
| **Multi-Modal** | Returns web pages, images, and related content |
| **Time Filtering** | Filter results by time range (day/week/month/year) |
| **Fast Response** | Typically returns results within 1-2 seconds |
| **Rich Metadata** | Includes publish date, site name, favicon, etc. |

## API Parameters

When calling the underlying tool directly:

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `query` | string | ✅ Yes | - | Search query (supports Chinese and English) |
| `count` | number | No | 10 | Number of results (1-50) |
| `freshness` | string | No | "noLimit" | Time filter: "oneDay", "oneWeek", "oneMonth", "oneYear", "noLimit" |
| `summary` | boolean | No | true | Whether to include AI-generated summaries |

### Example Tool Call

```javascript
// Search for recent AI news in Chinese
{
  "query": "人工智能最新进展",
  "count": 10,
  "freshness": "oneWeek",
  "summary": true
}

// Search for Trump news
{
  "query": "特朗普 Trump 最新新闻",
  "count": 5,
  "freshness": "oneDay"
}
```

## Response Format

The API returns structured data including:

- **Web Pages**: Title, URL, snippet, summary, site name, publish date
- **Images**: Thumbnail URL, full image URL, dimensions
- **Total Matches**: Estimated total number of matching results
- **Related Queries**: Suggested related search terms

### Sample Response Structure

```json
{
  "_type": "SearchResponse",
  "queryContext": {
    "originalQuery": "search term"
  },
  "webPages": {
    "totalEstimatedMatches": 1908646,
    "value": [
      {
        "name": "Article Title",
        "url": "https://example.com/article",
        "snippet": "Short description...",
        "summary": "Full AI-generated summary...",
        "siteName": "Example Site",
        "datePublished": "2026-01-30T07:19:14+08:00"
      }
    ]
  },
  "images": {
    "value": [...]
  }
}
```

## Error Handling

Common errors and solutions:

| Error | Cause | Solution |
|-------|-------|----------|
| `BOCHA_API_KEY is required` | API key not configured | Add API key to config or environment |
| `Invalid API KEY` | Wrong API key | Check your API key at https://open.bocha.cn/ |
| `Insufficient balance` | Out of credits | Recharge your account |
| `Rate limit exceeded` | Too many requests | Wait before making more requests |

## Pricing

- Visit https://open.bocha.cn/pricing for current pricing
- New users typically get free credits to start
- Pay-as-you-go based on search volume

## Technical Details

### API Endpoint
- **URL**: `https://api.bocha.cn/v1/web-search`
- **Method**: POST
- **Auth**: Bearer token in Authorization header

### Script Location
```
skills/bocha-search/
├── SKILL.md              # This file
├── README.md             # Full documentation
├── LICENSE               # MIT License
└── scripts/
    ├── package.json      # Node.js config
    ├── tool.json         # OpenClaw tool definition
    └── bocha_search.js   # Main search script ⬅️ Entry point
```

## Comparison with Other Search Tools

| Feature | Bocha Search | Brave Search | Perplexity |
|---------|--------------|--------------|------------|
| Chinese Content | ⭐⭐⭐ Excellent | ⭐⭐ Good | ⭐⭐ Good |
| Speed | ⭐⭐⭐ Fast | ⭐⭐⭐ Fast | ⭐⭐ Moderate |
| Summaries | ⭐⭐⭐ AI-powered | ❌ No | ⭐⭐⭐ AI-powered |
| Images | ⭐⭐⭐ Included | ⭐⭐ Separate | ⭐ Limited |
| Pricing | 💰 Affordable | 🆓 Free tier | 💰 Moderate |

## Best Practices

1. **Use Chinese queries** for better Chinese content results
2. **Enable summaries** (`summary: true`) for better context
3. **Set appropriate freshness** based on your needs:
   - Breaking news: `"oneDay"`
   - Recent developments: `"oneWeek"`
   - General research: `"noLimit"`
4. **Start with count=10**, increase if needed (max 50)
5. **Handle rate limits gracefully** in production use

## Troubleshooting

### No results returned
- Try different keywords or synonyms
- Remove time restrictions (`freshness: "noLimit"`)
- Check if your query is too specific

### Slow response
- Reduce `count` parameter
- Disable summaries if not needed (`summary: false`)
- Check network connectivity to `api.bocha.cn`

### API errors
- Verify API key is correct and active
- Check account balance at https://open.bocha.cn/
- Ensure you're not exceeding rate limits

## Links

- 🔗 [博查AI开放平台](https://open.bocha.cn/)
- 🔗 [API Documentation](https://bocha-ai.feishu.cn/wiki/RXEOw02rFiwzGSkd9mUcqoeAnNK)
- 🔗 [OpenClaw Docs](https://docs.openclaw.ai)
- 🔗 [ClawdHub](https://clawdhub.com)

## License

MIT License - See LICENSE file for details

---

**Note**: This skill is specifically designed for OpenClaw and uses the official Bocha AI Search API. It is not affiliated with or endorsed by Bocha AI.

データ分析の人気スキル

AdMapixデータ分析

AdMapix のデータ取得層で、広告やアプリの問い合わせを API 呼び出しに変え、生の JSON だけを返します。

↓ 36.6万★ 304fly0pants
Tavily Searchデータ分析

Tavily 経由で公開ウェブを検索し、リンクと抜粋付きの構造化結果を返します。

↓ 12.2万★ 286Xiaoran Li
Data Analysisデータ分析

データベースや表計算、書き出した生データを意思決定に使える結論へ変えるデータ分析スキルです。

↓ 10.1万★ 244Iván
Stock Analysisデータ分析

Yahoo Finance のデータで株式と暗号資産を分析し、ポートフォリオを追跡するスキルです。

↓ 7.5万★ 299udiedrichsen
Stock Watcherデータ分析

ローカルのウォッチリストを管理し、銘柄コードごとに同花順の相場と足元の値動きを要約するスキルです。

↓ 6.5万★ 122Robin797860
全国招标中标查询及分析【知了标讯】データ分析

全网招中标数据查询与分析助手。当用户涉及以下任何场景时,必须使用此SKILL:查询招标/中标公告、搜索标讯、查找临期/即将到期项目、商机预测、推荐潜在投标供应商、分析公司主营业务/历史中标、查询公司上下游合作客户与供应商、分析竞争对手/竞对企业、查询Top采购单位/Top中标单位/Top中标品牌、招中标数据统计分析(按月/季/年/省份/品牌等维度)、查询品牌型号历史中标单价/价格趋势、市场分析/行业分析/采购寻源/渠道拓展等采购与投标相关场景。即使用户没有提到「知了标讯」,只要涉及招投标、采购、中标、供应商、竞争对手等关键词,都应使用本SKILL。

↓ 5.6万★ 13user_98035bfb
Blogwatcherデータ分析

ブログと RSS/Atom フィードの更新をコマンドラインで追跡します。

↓ 5.4万★ 75Peter Steinberger
Model Usageデータ分析

Codex や Claude のモデル別の利用コストを集計するスキルです。

↓ 5万★ 114Peter Steinberger

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。