hot-trend-collector

hot-trend-collector is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 28 tokens per session (861 once invoked), scanned A, original, Apache-2.0.

A service that collects trending topics from platforms such as Zhihu, Weibo, Baidu Index, and WeChat Index, and provides them through a REST API. REST APIs are web endpoints that software can call to read or change data.

In plain words
What is it for?
Use it to collect trends on a schedule or on demand, add topics manually, list and filter them, delete them, and expose the results to another application.
Why use it?
It removes the need to gather current topics manually from several sources and gives applications one place to retrieve and manage them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to collect trends on a schedule or on demand, add topics manually, list and filter them, delete them, and expose the results to another application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/hot-trend-collector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jiushiwon/wg-skills --skill hot-trend-collector
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hot-trend-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/hot-trend-collector/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/hot-trend-collector)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/hot-trend-collector"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/hot-trend-collector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hot-trend-collector

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/hot-trend-collector"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/hot-trend-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00861
Opus 5 $0.00014 $0.00430
Sonnet 5 $0.00006 $0.00172
Haiku 4.5 $0.00003 $0.00086

Measured 6d ago against content hash ddc2770a5ef8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

hot-trend-collector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/collector.py, scripts/collectors/__init__.py, scripts/collectors/weibo.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vibeCoding/backend/python/hot-trend-collector/SKILL.md · 126 lines

What it actually says

Hot Trend Collector

热点抓取工具,提供多平台热点数据采集能力,并暴露 REST API 供前端调用。

使用场景

  • 自媒体运营平台需要热点数据作为创作素材
  • 需要定时抓取热点并存储
  • 需要手动添加热点作为补充

功能特性

支持的热点来源

来源 类型 说明
知乎热榜 API/爬虫 获取知乎实时热榜
微博热搜 爬虫 获取微博热搜榜
百度指数 爬虫 获取搜索热度
微信指数 爬虫 获取公众号热度
手动输入 人工 支持手动添加热点

核心功能

  1. 热点抓取 - 定时/手动抓取多平台热点
  2. 热点管理 - 列表展示、筛选、删除
  3. REST API - 提供热点数据的增删改查接口

项目结构

hot-trend-collector/
├── SKILL.md
├── scripts/
│   ├── collector.py          # 抓取脚本入口
│   ├── collectors/           # 各平台抓取器
│   │   ├── __init__.py
│   │   ├── zhihu.py         # 知乎热榜
│   │   ├── weibo.py         # 微博热搜
│   │   ├── baidu.py         # 百度指数
│   │   └── wechat.py        # 微信指数
│   └── scheduler.py         # 定时任务
├── references/
│   └── api.md               # API 文档
└── assets/
    └── sample_data.json     # 示例数据

使用方法

1. 安装依赖

pip install requests beautifulsoup4 aiohttp schedule

2. 启动服务

python scripts/collector.py

服务默认在 http://localhost:8000 启动。

3. API 接口

方法 路径 说明
GET /api/trends 获取热点列表
POST /api/trends 手动添加热点
DELETE /api/trends/{id} 删除热点
POST /api/trends/collect 触发抓取
GET /api/trends/sources 获取支持的来源

4. 定时任务

启动时会自动开启定时任务,每小时抓取一次热点。

配置说明

scripts/config.py 中配置:

# 抓取间隔(小时)
COLLECT_INTERVAL = 1

# 是否启用定时任务
ENABLE_SCHEDULER = True

# 数据存储文件
DATA_FILE = "data/trends.json"

扩展新的热点源

scripts/collectors/ 目录下创建新的抓取器:

# scripts/collectors/new_source.py
import requests

def fetch_trends():
    """获取新平台热点"""
    # 实现抓取逻辑
    return [
        {"title": "热点标题", "url": "链接", "heat": 100, "source": "new_source"}
    ]

然后在 collector.py 中注册:

from collectors import new_source

注意事项

  • 遵守各平台的 Robots.txt 规则
  • 合理设置抓取频率,避免对目标网站造成压力
  • 微博等平台可能需要 Cookie,建议登录后抓取
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 126 lines · 28 tokens per session scan A ddc2770a5ef8

Subscribe to this mod's changes

hot-trend-collector is a skill published in the GitHub repository jiushiwon/wg-skills (102 stars, last pushed 2d ago), licensed Apache-2.0. It adds 28 tokens to every session and 861 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens