Skip to content
Back to skills

Fetch Reddit

ASecurity

从 Reddit 公开 JSON API 获取热门帖子和搜索结果。用于监控社区讨论、用户反馈、痛点。当 Watch intent 涉及社区讨论、用户反馈时使用。无需 API key。

  • 98 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
data-aipythonbashapi

Works with

  • api

Security analysis

A100/100

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

Scanned May 27, 2026

npx -y skills add zhiyuzi/Signex --skill fetch-reddit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fetch Reddit?

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

Security grade badge for Fetch Reddit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zhiyuzi-fetch-reddit/badge)](https://www.skillsdirectory.com/skills/zhiyuzi-fetch-reddit)

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: fetch-reddit
description: 从 Reddit 公开 JSON API 获取热门帖子和搜索结果。用于监控社区讨论、用户反馈、痛点。当 Watch intent 涉及社区讨论、用户反馈时使用。无需 API key。
---

# fetch-reddit

从 stdin 读取 JSON 参数,获取 Reddit 帖子:

列表模式:
```bash
echo '{"subreddits": ["SaaS", "startups", "programming"], "sort": "hot", "limit": 25}' | uv run python .claude/skills/fetch-reddit/scripts/fetch.py
```

搜索模式:
```bash
echo '{"search": "AI coding tools", "subreddit": "programming", "sort": "relevance", "time": "week", "limit": 25}' | uv run python .claude/skills/fetch-reddit/scripts/fetch.py
```

参数(列表模式):
- `subreddits`: subreddit 名称数组
- `sort`: 排序方式(hot, new, top,默认 hot)
- `limit`: 每个 subreddit 获取数量(默认 25)

参数(搜索模式):
- `search`: 搜索关键词
- `subreddit`: 在哪个 subreddit 搜索
- `sort`: 排序(relevance, hot, top, new,默认 relevance)
- `time`: 时间范围(hour, day, week, month, year, all,默认 week)
- `limit`: 返回数量(默认 25)

无需 API key。使用 Reddit 公开 JSON API(100 QPM 限制)。

脚本输出 JSON 到 stdout。每个 item 有 title, url, selftext, score, num_comments, author, subreddit, upvote_ratio。

Files in this skill

  • SKILL.md1.3 KB
  • scripts/fetch.py5.8 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.