← Back to Skills Marketplace
CN Trends Aggregator
by
huoguang16
· GitHub ↗
· v1.0.0
· MIT-0
681
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install cn-trends-aggregator
Description
中文+全球热榜聚合器。一键获取百度热榜、今日头条、V2EX、Hacker News、GitHub 热门新项目。Use when: user asks about trending topics, hot searches, what's popular, today's hot news, tech trends...
README (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 githubto discover trending open-source projects - Pair with cron for daily automated briefings
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cn-trends-aggregator - After installation, invoke the skill by name or use
/cn-trends-aggregator - Provide required inputs per the skill's parameter spec and get structured output
Version History
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).
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 681 downloads so far.
How do I install CN Trends Aggregator?
Run "/install cn-trends-aggregator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CN Trends Aggregator free?
Yes, CN Trends Aggregator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does CN Trends Aggregator support?
CN Trends Aggregator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CN Trends Aggregator?
It is built and maintained by huoguang16 (@huoguang16); the current version is v1.0.0.
More Skills