← 返回 Skills 市场
huoguang16

CN Trends Aggregator

作者 huoguang16 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
681
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install cn-trends-aggregator
功能描述
中文+全球热榜聚合器。一键获取百度热榜、今日头条、V2EX、Hacker News、GitHub 热门新项目。Use when: user asks about trending topics, hot searches, what's popular, today's hot news, tech trends...
使用说明 (SKILL.md)

CN Hot Trends — 中文+全球热榜聚合

Quick Start

python3 scripts/fetch_trends.py --proxy http://127.0.0.1:7897 --format markdown

Data Sources

Source ID Content Auth
百度热榜 baidu 实时热搜,7M+ 热度值 No
今日头条 toutiao 头条热榜 No
V2EX v2ex 技术社区热帖 + 回复数 No
Hacker News hn 全球科技热帖 + 分数 No
GitHub github 近 7 天热门新项目 No

Usage

# All sources, markdown output
python3 scripts/fetch_trends.py --format markdown

# Specific sources, JSON output
python3 scripts/fetch_trends.py --sources baidu,v2ex --format json --limit 5

# With proxy (needed for V2EX, HN, GitHub)
python3 scripts/fetch_trends.py --proxy http://127.0.0.1:7897

# Plain text
python3 scripts/fetch_trends.py --format text --limit 10

Options

Flag Default Description
--sources baidu,toutiao,v2ex,hn,github Comma-separated source IDs
--limit 10 Items per source
--format json Output: json, text, markdown
--proxy none HTTP proxy URL

Output Formats

  • json: Structured data, good for further processing
  • text: Human-readable plain text
  • markdown: Formatted tables, good for chat/email output

Tips

  • Baidu and Toutiao work without proxy; V2EX/HN/GitHub need proxy in some regions
  • Combine with AI analysis: fetch trends → summarize → identify patterns
  • Use --sources github to discover trending open-source projects
  • Pair with cron for daily automated briefings
安全使用建议
This skill appears to do exactly what it claims: fetch trending items from the listed sources and format them. Before installing or running it: (1) be aware the included Python script uses the curl binary via subprocess — ensure curl is available or update the metadata to declare it; (2) the script makes network requests to public APIs/pages (Hacker News, GitHub, V2EX, Baidu, Toutiao); don't pass an untrusted proxy URL since that proxy would see the requests and responses; (3) GitHub calls are unauthenticated and may be rate-limited — if you expect heavy use, consider adding a token and updating the code/metadata; (4) review the script yourself if you have any concern about outbound network access. If you want a small improvement: replace curl subprocess calls with Python HTTP (requests/urllib) or update the skill metadata to list curl as a required binary.
功能分析
Type: OpenClaw Skill Name: cn-trends-aggregator Version: 1.0.0 The skill is a legitimate trend aggregator that fetches hot topics from Baidu, Toutiao, V2EX, Hacker News, and GitHub. The implementation in `scripts/fetch_trends.py` is well-structured and uses `subprocess.run` with a list of arguments to safely execute `curl` for network requests, which effectively prevents shell and argument injection. The instructions in `SKILL.md` are clear, align with the stated purpose, and do not contain any malicious prompt injection or unauthorized data access attempts.
能力评估
Purpose & Capability
The name/description (aggregating Baidu, Toutiao, V2EX, Hacker News, GitHub trends) align with the provided Python script which implements fetchers for those sites. One inconsistency: the script uses the curl command-line tool (via subprocess) to perform HTTP requests, but the skill metadata declares no required binaries.
Instruction Scope
SKILL.md only instructs running the included Python script with optional flags (sources, limit, format, proxy). The runtime instructions match the script's behavior and do not ask the agent to read unrelated files, access hidden endpoints, or exfiltrate secrets. Network calls are expected for the stated functionality.
Install Mechanism
There is no install spec (instruction-only skill + bundled script), so nothing is downloaded or written during install. This is the lower-risk model and consistent with the skill's purpose.
Credentials
The skill requires no credentials or environment variables and the script does not read secrets. Note: it calls the public GitHub Search API unauthenticated (subject to rate limits) and supports an arbitrary --proxy value; supplying an untrusted proxy could expose fetched traffic to that proxy.
Persistence & Privilege
The skill is not marked always:true and does not request elevated or persistent system privileges. Autonomous invocation is allowed by default (platform normal) but there is no evidence the skill abuses that.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cn-trends-aggregator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cn-trends-aggregator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of CN Hot Trends, a Chinese & global trending topics aggregator. - Aggregates hot topics from Baidu, Toutiao, V2EX, Hacker News, and GitHub. - Provides flexible command-line options for source selection, output format (JSON, text, markdown), limit, and proxy usage. - Supports daily briefings and hot trend discovery, including tech and open-source project highlights. - Proxy support included for sources that require it (V2EX, HN, GitHub).
元数据
Slug cn-trends-aggregator
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

CN Trends Aggregator 是什么?

中文+全球热榜聚合器。一键获取百度热榜、今日头条、V2EX、Hacker News、GitHub 热门新项目。Use when: user asks about trending topics, hot searches, what's popular, today's hot news, tech trends... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 681 次。

如何安装 CN Trends Aggregator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cn-trends-aggregator」即可一键安装,无需额外配置。

CN Trends Aggregator 是免费的吗?

是的,CN Trends Aggregator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

CN Trends Aggregator 支持哪些平台?

CN Trends Aggregator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 CN Trends Aggregator?

由 huoguang16(@huoguang16)开发并维护,当前版本 v1.0.0。

💬 留言讨论