据 AlphaMoat 统计,截至 2026-09,Gsdata 累计下载 1,057 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 5,007 位,在「数据分析」分类(399 个)中排名第 393 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 24 | 918 | - | - |
| SkillHub ↗ | 261 | 1,057 | - | — |
各平台的计数口径不同,统计时间不一致。
凭据经 GSDATA_APP_KEY 与 GSDATA_APP_SECRET 环境变量鉴权,禁止使用硬编码测试 key;需要 requests 库(缺模块时 pip install requests 一次)。适配器:python3 ./gsdata_adapter.py(从技能目录以相对路径运行,映射文件 gsdata_tool_mapping_v1.json 一并打包)。八条规则:新请求先跑 --dry-run 验证路由/动作映射;默认只用只读动作;聊天界面(如 Telegram)回答时必须附加 --param size=5 等小数值,防止巨大 JSON 灌入对话上下文;用户未明确确认绝不执行写类动作,写类动作要求 --allow-write;先返回简洁摘要并附路由与所用的关键字段;分页上限——API 严格限制每页最多 20 条(传 size=100 也默认 20),取大数据集要用 --param page=1、page=2 循环,不要试图一次取超过 20 条;抓多页前先用 --param limit=1 测试搜索探测响应 JSON 里的 numFound 字段,按 ceil(numFound/20) 计算总页数——专用的 num_found 动作在日期参数上有 bug,不要用它估算。快速命令:list-tools 发现端点能力、关键词检索(keywords_include=人工智能)、数据量探测、热点事件(gsdata_pubsent_hot event_list)、小红书账号搜索。写操作(需确认+--allow-write):舆情预警规则创建/更新/开启/关闭、我的榜单分组增删、账号增删。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 1,057 | — | - |
| 2026-08 | 951 | +5.2% | - |
| 2026-07 | 904 | +18.0% | - |
| 2026-06 | 766 | +7.7% | - |
| 2026-05 | 711 | — | - |
| 2026-03 | 556 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- 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:
- 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
```
AdMapix 的取数层:把广告与应用相关的查询转成接口调用,只回原始 JSON。
走 Tavily 检索公开网页,返回带链接与摘要的结构化结果。
把数据库、表格与导出的原始数据变成可决策结论的数据分析技能。
用 Yahoo Finance 数据做股票与加密货币分析、组合跟踪的技能。
管理本地自选股清单,并按代码汇总同花顺行情与近期表现的技能。
知了标讯:查询和分析招标、中标、供应商与采购市场信息。
用命令行监控博客与 RSS/Atom 源的更新。
汇总 Codex 或 Claude 按模型计费的使用成本。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。