Skip to content
Back to skills

Tophub Trends

ASecurity

获取并分析 TopHub 热榜数据,提供内容创作灵感。

  • 416 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
content-marketingtypescriptbashnodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill tophub-trends --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tophub Trends?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tophub Trends
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-tophub-trends/badge)](https://www.skillsdirectory.com/skills/aiskillstore-tophub-trends)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tophub-trends
description: 获取并分析 TopHub 热榜数据,提供内容创作灵感。
---

# TopHub Trends Analysis Skill

这个 Skill 用于自动化获取 TopHub 热榜数据,并利用 Claude 分析当前最具传播潜力的热点话题,为内容创作者提供选题建议。

## 功能描述

1.  **Fetch Hot List**: 抓取 TopHub (https://tophub.today/hot) 的实时热榜数据。
2.  **Analyze Trends**: 使用 Claude 模型分析前 30 个热点,识别高流量潜力的話題。
3.  **Generate Report**: 生成包含选题建议的 Markdown 报告。

## 使用方法

这是一个基于 TypeScript 的脚本 Skill。

### 运行脚本

```bash
# 在项目根目录下运行
npx ts-node .claude/skills/tophub-trends/tophub.ts
```

### 输出结果

脚本运行后,会在 `defou-workflow-agent/outputs/trends/` 目录下生成两个文件:

1.  `tophub_hot_[timestamp].json`: 原始热榜数据。
2.  `tophub_analysis_[timestamp].md`: Claude 生成的分析报告。

## 依赖配置

确保 `defou-workflow-agent/.env` 文件中已配置以下环境变量:

-   `ANTHROPIC_API_KEY`: Anthropic API Key
-   `ANTHROPIC_BASE_URL`: (可选) API Base URL
-   `MOCK_MODE`: (可选) 设置为 `true` 可使用模拟数据进行测试

Files in this skill

  • SKILL.md1.2 KB
  • skill-report.json7.6 KB
  • tophub.ts5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…