Yuwen Yang

Gsdata

データ分析v0.1.1
作者:Yuwen Yang更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-03-04gsdata-skill@clawhub_yangyuwen-bri/gsdata-skill
データインサイトWeb スクレイピング競合分析

AlphaMoatによると、2026-09時点でGsdataのダウンロード数は1,057、スター数は0で、AIスキル全体5,078件中5,007位、データ分析では399件中393位です。

インストール数
261
ダウンロード数
1057
スター数
-
総合順位
#5,007
全体の上位 99% · データ分析の上位 99%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗24918--
SkillHub ↗2611057-—

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

このスキルでできること

認証は GSDATA_APP_KEY と GSDATA_APP_SECRET 環境変数で行い、ハードコードしたテストキーは使わない;requests ライブラリが必要(モジュールが見つからない場合は pip install requests を 1 回)。アダプタ:python3 ./gsdata_adapter.py(スキルディレクトリから相対パスで実行;マッピングファイル gsdata_tool_mapping_v1.json を同梱)。8 つのルール:新しいリクエストはまず --dry-run でルート/アクションマッピングを検証;デフォルトは読み取り専用アクション;チャット UI(Telegram 等)で回答する際は巨大な JSON がコンテキストに流れ込むのを防ぐため --param size=5(程度の小さい値)を必ず付ける;ユーザーが明示的に確認しない限り書き込み系アクションを実行しない、書き込み系には --allow-write が必要;まず簡潔な要約を返し使用したルートと主要フィールドを添える;ページネーション上限——API は 1 ページ最大 20 件を厳格に強制(size=100 も 20 にデフォルト),大きなデータセットは --param page=1、page=2 等でループし 1 回の呼び出しで 20 件以上取得しようとしない;gsdata_pubsent_search で複数ページを取得する前に、必ず --param limit=1 のテスト検索で総量を探りレスポンス JSON の numFound を確認し ceil(numFound/20) で総ページを計算——専用の num_found アクションは日付パラメータのバグがあるためこの目的には使わない。クイックコマンド:list-tools、キーワード検索(keywords_include=人工智能)、データ量プローブ、ホットイベント(gsdata_pubsent_hot event_list)、小紅書アカウント検索。書き込み操作(確認+--allow-write 必須):警告ルールの作成/更新/開始/停止、マイランキンググループ追加/削除、アカウント追加/削除。 専用の num_found アクションは日付パラメータに不具合があるため、この件数推定には使用しない。

資料公開日 2026-10-29

できること

  • 世論キーワード検索、ホットイベント照会、プラットフォームランキング照会
  • 小紅書/Weibo/Douyin 等プラットフォームのアカウントデータ照会
  • 警告ルールとランキンググループの書き込み操作(明示的確認が必要)

使う場面

  • ユーザーが世論検索、ホットイベント、プラットフォームランキング、アカウントデータ、小紅書/Weibo/抖音データ照会を求めるときに使用
  • トリガー:"gsdata"、"清博"、"舆情"、"热点"、"榜单"、"关键词检索"

プロンプト例

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

最近 1 週間の「AI」に関する Weibo の世論を調べて
小紅書で AI という名前のアカウントを検索して
「新エネルギー」キーワードの警告ルールを作って

月次の推移

ダウンロード数1057
51680710972026-03 · ダウンロード数 5562026-05 · ダウンロード数 7112026-06 · ダウンロード数 7662026-07 · ダウンロード数 9042026-08 · ダウンロード数 9512026-09 · ダウンロード数 105726-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

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

月ダウンロード数前月比スター数
2026-091057—-
2026-08951+5.2%-
2026-07904+18.0%-
2026-06766+7.7%-
2026-05711—-
2026-03556—-

SKILL.md 原文

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

3.7 KB・ClawHub v0.1.1
---
name: gsdata
version: 1.0.0
author: yangyuwen-bri
license: MIT
description: |
  Use GSData open platform via local adapter script for account/content/rank/pubsent/nlp queries.
  Use when user asks for 舆情检索、热点事件、平台榜单、账号数据、小红书/微博/抖音等数据查询。
  Triggers: "gsdata", "清博", "舆情", "热点", "榜单", "关键词检索".
env:
すべて表示(全 106 行)
  - GSDATA_APP_KEY
  - GSDATA_APP_SECRET
---

# GSData Skill

This skill allows you to query the GSData open platform for public sentiment (舆情), rankings (榜单), and account data. 

**Prerequisites:**
This skill requires the `requests` library. If a module cannot be found, you may need to run `pip install requests` once.

**Credentials:**
Authentication is handled via the `GSDATA_APP_KEY` and `GSDATA_APP_SECRET` environment variables. Do not attempt to use hardcoded test keys. 

## Adapter Usage
Use the bundled python script to interact with the API:

`python3 ./gsdata_adapter.py`

*Note: The script and its mapping `gsdata_tool_mapping_v1.json` are bundled in this skill's directory. Always run the script via relative path (`./gsdata_adapter.py`) from this directory.*

## Rules
1. For a new request, run `--dry-run` first to verify route/action mapping.
2. Default to read-only actions.
3. **CRITICAL FOR CONVERSATIONS**: If you are answering a user in a chat interface (like Telegram), you MUST append `--param size=5` (or a similarly small number) to prevent dumping enormous JSON payloads into the chat context.
4. Never run write-like actions unless user explicitly confirms.
5. For write-like actions, require `--allow-write`.
6. Return a concise summary first; included route + key fields used.
7. **PAGINATION LIMIT**: The API strictly enforces a maximum of 20 items per page (e.g., passing `size=100` defaults to 20). To fetch large datasets, use a loop with `--param page=1`, `--param page=2`, etc. Do NOT attempt to fetch more than 20 items in a single call.
8. **TOTAL COUNT ESTIMATION**: Before scraping multiple pages for `gsdata_pubsent_search`, ALWAYS probe the total volume first by running a test search with `--param limit=1` and checking the `numFound` field in the response JSON. Calculate total pages as `ceil(numFound / 20)`. (Note: The dedicated `num_found` action has a bug with date parameters and should NOT be used for this purpose).

## Quick Commands

**1. Discover endpoint capabilities:**
```bash
python3 ./gsdata_adapter.py list-tools
```

**2. Keyword search (with size limit):**
```bash
python3 ./gsdata_adapter.py invoke \
  --tool gsdata_pubsent_search \
  --action search \
  --param keywords_include=人工智能 \
  --param size=5 
```

**3. Probe data volume estimation (returns `numFound`):**
```bash
python3 ./gsdata_adapter.py invoke \
  --tool gsdata_pubsent_search \
  --action search \
  --param keywords_include=人工智能 \
  --param date_start=2026-03-01 \
  --param date_end=2026-03-04 \
  --param media_type=weibo \
  --param limit=1
```

**4. Hot events:**
```bash
python3 ./gsdata_adapter.py invoke \
  --tool gsdata_pubsent_hot \
  --action event_list \
  --params '{"type":"1"}'
```

**5. Xiaohongshu account search:**
```bash
python3 ./gsdata_adapter.py invoke \
  --tool gsdata_account \
  --action search \
  --platform xiaohongshu \
  --param xiaohongshu_name=AI \
  --param size=2
```



## Write Actions (Explicit Confirmation Required)

Examples:
- `gsdata_pubsent_warning create_rule/update_rule/open_rule/close_rule`
- `gsdata_myrank_group group_add/group_del`
- `gsdata_myrank_account acct_add/acct_del/acct_add_by_url`

When approved, append `--allow-write`:

```bash
python3 ./gsdata_adapter.py invoke \
  --tool gsdata_pubsent_warning \
  --action create_rule \
  --params '{"name":"demo"}' \
  --allow-write
```

データ分析の人気スキル

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