Agent skill

Hot Trend Collector

by jiushiwon in jiushiwon/wg-skills

热点抓取工具,支持知乎、微博、百度指数等平台热点数据采集与 REST API 服务. An agent skill from jiushiwon/wg-skills.

Apache-2.0Auto-check passedBackend & APIs

Install Hot Trend Collector

skills CLI
$ npx skills add jiushiwon/wg-skills --skill hot-trend-collector -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jiushiwon/wg-skills hot-trend-collector --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jiushiwon/wg-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vibeCoding/backend/python/hot-trend-collector .claude/skills/hot-trend-collector && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hot-trend-collector
GitHub stars
114
Token cost
~494 tokens
SKILL.md length
93 words
Files
6 (incl. scripts, assets)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

热点抓取工具,支持知乎、微博、百度指数等平台热点数据采集与 REST API 服务. An agent skill from jiushiwon/wg-skills.

  • Works in 4 steps: 安装依赖 → 启动服务 → API 接口 → …
  • Tasks that involve REST APIs
  • SKILL.md covers 使用场景, 功能特性, 项目结构 and 使用方法, plus 3 more sections
  • Runs Python scripts from its folder; calls pip and python

What it does

Hot Trend Collector is an agent skill from jiushiwon/wg-skills. 热点抓取工具,支持知乎、微博、百度指数等平台热点数据采集与 REST API 服务

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and assets (for example `assets/sample_data.json`, `scripts/collector.py` and `scripts/collectors/__init__.py`).

It sits in Backend & APIs, covering REST APIs. It works with Python. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve REST APIs

Example prompts

  • “/hot-trend-collector”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 安装依赖
  2. 启动服务
  3. API 接口
  4. 定时任务

What it can do on your machine

Read from SKILL.md and the folder at commit 3569fb8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hot Trend Collector loads about 494 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~494

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jiushiwon/wg-skills at commit 3569fb8, republished under its Apache-2.0 licence (© jiushiwon). 93 words, ~494 tokens.

Download SKILL.mdSave it as .claude/skills/hot-trend-collector/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
hot-trend-collector
description
热点抓取工具,支持知乎、微博、百度指数等平台热点数据采集与 REST API 服务

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. 安装依赖
bash
pip install requests beautifulsoup4 aiohttp schedule
2. 启动服务
bash
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 中配置:

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

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

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

扩展新的热点源

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

python
# scripts/collectors/new_source.py
import requests

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

然后在 collector.py 中注册:

python
from collectors import new_source

注意事项

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

© jiushiwon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, assets) in vibeCoding/backend/python/hot-trend-collector of jiushiwon/wg-skills.

  • SKILL.md
  • assets/sample_data.json
  • scripts/collector.py
  • scripts/collectors/__init__.py
  • scripts/collectors/weibo.py
  • scripts/collectors/zhihu.py

Open the folder on GitHubat commit 3569fb8

Compare with similar skills

Hot Trend Collector next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hot Trend Collector compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hot Trend Collector this skilljiushiwon/wg-skills114—~494Automated safety check: PassApache-2.0
Zhihu Searchitwanger/toBeBetterJavaer18k—~1.5kAutomated safety check: PassNone
Fastcrudbenavlabs/fastcrud1.6k—~5kAutomated safety check: PassMIT
Cloudflare Email Servicehodgef/apiker1272 repos~2kAutomated safety check: PassMIT
Build X402 Clientcoinbase/cdp-sdk203—~3kAutomated safety check: PassMIT
Dinobase Connector Builderkappa90/dinobase263—~1.9kAutomated safety check: PassCustom licence

Similar skills

  • Zhihu Search

    itwanger/toBeBetterJavaer

    Search Zhihu for content using the searchv3 API. An agent skill from itwanger/toBeBetterJavaer.

    18k GitHub stars~1.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Fastcrud

    benavlabs/fastcrud

    A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…

    1.6k GitHub stars~5k tokensUpdated today
    Backend & APIsAuto-check passed
  • Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing).

    127 GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Build X402 Client

    coinbase/cdp-sdk

    Write code that pays for an HTTP API returning 402 Payment Required, using the x402 protocol and a CDP-managed wallet.

    203 GitHub stars~3k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Writes a new Dinobase YAML connector for a REST API that has no verified dlt source, covering auth, pagination, read and write endpoints and incremental loading.

    263 GitHub stars~1.9k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Nxv

    utensils/nxv

    Find any version of any Nix package across nixpkgs git history using the nxv CLI or HTTP API.

    136 GitHub stars~7.9k tokensUpdated 2 mo ago
    Backend & APIsAuto-check: notes

More from jiushiwon/wg-skills

All 12 skills in this repo
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    114 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed
  • Workflow Diagram Skill

    jiushiwon/wg-skills

    A skill your agent uses when 用户想用一句话生成流程图、工作流图解、开发流程图、AI 流程图或任何步骤型图解,支持多风格输出(flat icon / 暖白手账风 / dark / cute),并提供现成模板一键出图。

    114 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Uniapp App Generate Skill

    jiushiwon/wg-skills

    This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

    114 GitHub stars~5k tokensUpdated 4 days ago
    Auto-check: notes
  • Fastapi Init Skill

    jiushiwon/wg-skills

    FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI…

    114 GitHub stars~1.8k tokensUpdated 4 days ago
    Auto-check: notes
  • Ffmpeg Skill

    jiushiwon/wg-skills

    FFmpeg 多媒体处理技能 — 将自然语言描述转为正确的 ffmpeg 命令,覆盖视频剪辑、转码、水印、合成、提取、生成等操作。内置一键安装脚本(Windows/Mac/Linux)。触发词:ffmpeg、视频剪辑、视频裁剪、视频转码、视频压缩、去水印、加水印、视频拼接、视频合成、提取音频、视频转…

    114 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed
  • Frontend Request Skill

    jiushiwon/wg-skills

    A skill your agent uses when designing or reviewing the request layer of a frontend project (web / uni-app / mini-program), including request.ts wrappers, interceptors, deduplication, mocks, error…

    114 GitHub stars~3.6k tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Hot Trend Collector

What does Hot Trend Collector do?

热点抓取工具,支持知乎、微博、百度指数等平台热点数据采集与 REST API 服务. An agent skill from jiushiwon/wg-skills. Hot Trend Collector is an agent skill from jiushiwon/wg-skills.

When should I use Hot Trend Collector?

Hot Trend Collector fits situations like: tasks that involve REST APIs.

How do I install Hot Trend Collector in Claude Code?

Run `npx skills add jiushiwon/wg-skills --skill hot-trend-collector -a claude-code`. Or copy the skill folder (vibeCoding/backend/python/hot-trend-collector in jiushiwon/wg-skills) into .claude/skills/hot-trend-collector in your project. Claude Code loads it when a task matches its description.

How do I install Hot Trend Collector in Codex?

Run `npx skills add jiushiwon/wg-skills --skill hot-trend-collector -a codex`. Or copy the skill folder (vibeCoding/backend/python/hot-trend-collector in jiushiwon/wg-skills) into .agents/skills/hot-trend-collector in your project. Codex loads it when a task matches its description.

Can I use Hot Trend Collector in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jiushiwon/wg-skills --skill hot-trend-collector -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hot-trend-collector, .gemini/skills/hot-trend-collector, .github/skills/hot-trend-collector and .opencode/skills/hot-trend-collector in your project.

What does Hot Trend Collector need to run?

Going by SKILL.md and its folder, Hot Trend Collector needs Python for the scripts in its folder and the command-line tools its instructions call (pip and python). Our summary lists: Python 3.

Does Hot Trend Collector access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Hot Trend Collector safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hot Trend Collector use?

Hot Trend Collector is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hot Trend Collector use?

About 494 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hot Trend Collector?

Skills that share tags, products or a category with Hot Trend Collector: Zhihu Search (itwanger/toBeBetterJavaer, 18k stars), Fastcrud (benavlabs/fastcrud, 1.6k stars), Cloudflare Email Service (hodgef/apiker, 127 stars) and Build X402 Client (coinbase/cdp-sdk, 203 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hot Trend Collector?

jiushiwon (a GitHub user) maintains it in jiushiwon/wg-skills, which has 114 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: jiushiwon/wg-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.