wangdefou-dev/defou-workflow-agent/tophub-trends
Claude Code and agent skill by wangdefou-dev/defou-workflow-agent
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
获取并分析 TopHub 热榜数据,提供内容创作灵感。自动抓取实时热点并使用 AI 分析高流量潜力话题。
Install
npx vskill@latest install wangdefou-dev/defou-workflow-agent/tophub-trendsSKILL.md
TopHub Trends Analysis Skill
概述
这个 Skill 用于自动化获取 TopHub 热榜数据,并利用 Claude 分析当前最具传播潜力的热点话题,为内容创作者提供选题建议。
核心功能
- 实时热榜抓取:从 TopHub 获取全网最新热点
- AI 智能分析:使用 Claude 分析前 30 个热点的传播潜力
- 选题建议:识别高流量潜力话题并提供创作方向
- 数据存档:保存原始数据和分析报告
使用场景
- 每日选题灵感获取
- 热点追踪和分析
- 内容规划参考
- 趋势研究
工作流程
详细步骤
- 抓取热榜:从 TopHub (https://tophub.today/hot) 获取实时数据
- 数据筛选:提取前 30 个热点话题
- AI 分析:使用 Claude 评估每个话题的传播潜力
- 生成报告:输出包含选题建议的 Markdown 报告
- 保存文件:同时保存原始 JSON 和分析报告
使用方法
运行脚本
在项目根目录下运行:
或者添加到 package.json 的 scripts 中:
然后运行:
输出结果
文件位置
脚本运行后,会在 defou-workflow-agent/outputs/trends/ 目录下生成两个文件:
文件内容
1. 原始数据 (JSON)
2. 分析报告 (Markdown)
前置条件
- 已安装 Node.js 环境
- 已配置
.env文件: ANTHROPIC_API_KEY:Anthropic API KeyANTHROPIC_BASE_URL:(可选)API Base URLMOCK_MODE:(可选)设置为true使用模拟数据测试- 网络连接正常(需要访问 TopHub)
配置选项
在 .env 文件中配置:
示例
运行输出
分析报告示例
注意事项
- 时效性:热榜数据实时变化,建议定期运行
- API 配额:每次运行会调用 Claude API,注意配额
- 网络要求:需要稳定的网络连接访问 TopHub
- 数据准确性:AI 分析仅供参考,最终选题需人工判断
故障排除
问题:抓取失败
可能原因:
- TopHub 网站访问受限
- 网络连接问题
- 网站结构变化
解决方案:
- 检查网络连接
- 使用
MOCK_MODE=true测试 - 更新爬虫代码适配新结构
问题:AI 分析质量不佳
可能原因:
- Prompt 需要优化
- 热点数据质量问题
解决方案:
- 调整分析 Prompt
- 增加数据筛选条件
- 使用更强大的模型
高级用法
定时任务
使用 cron 定时运行:
自定义分析维度
修改脚本中的分析 Prompt,添加自定义维度:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationWarning, 66 of 100Marginal. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/tophub-trends/SKILL.md
Popularity
- Repository stars
- 99
- Repository forks
- 19
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wangdefou-dev/defou-workflow-agent/tophub-trends)