返回顶部
r

reddit-research

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
546
下载量
0
收藏
概述
安装方式
版本历史

reddit-research

# Reddit Research General-purpose Reddit research agent. Search, read, monitor — all from the terminal. No API key needed. ## Why? Reddit is the largest collection of authentic human opinions on the internet. Unlike SEO-optimized blog posts or sponsored content, Reddit threads contain real experiences, tested solutions, and unfiltered takes. **Zero auth. Zero cost. Zero dependencies.** ## Data Providers | Provider | Flag | Best For | Limitation | |----------|------|----------|------------| | **Reddit** (default) | `--provider reddit` | Real-time data, feeds, threads | ~60 req/min | | **PullPush** | `--provider pullpush` | Historical/deleted posts, global comment search | Sometimes down | | **Arctic Shift** | `--provider arctic-shift` | Archived data, deep history | Requires `--sub` or `--author` | **Default is Reddit** (real-time). Switch to PullPush or Arctic Shift when you need historical data or deleted content. ## Setup Node.js 18+ required (for native `fetch`). No `npm install` needed. ```bash cd <skill-dir>/scripts ``` ## CLI Tool ### Search ```bash npx tsx reddit.ts search "<query>" [options] ``` **Options:** - `--sub <subreddit>` — restrict to a subreddit - `--sort relevance|top|new|hot|comments` — sort order (default: relevance) - `--time hour|day|week|month|year|all` — time filter (default: week) - `--limit N` — max results (default: 15) - `--provider reddit|pullpush|arctic-shift` — data source - `--author <username>` — filter by author (Arctic Shift only) - `--compact` — one-line format - `--save` — save results to file - `--json` — raw JSON output - `--markdown` — markdown formatted output **Examples:** ```bash npx tsx reddit.ts search "pumpfun scam" --sort top --time month npx tsx reddit.ts search "best VPN" --sub privacy --sort top --time year npx tsx reddit.ts search "openclaw" --provider pullpush --limit 20 npx tsx reddit.ts search "agent" --provider arctic-shift --sub openclaw ``` ### Comment Search Search through comments using PullPush or Arctic Shift: ```bash npx tsx reddit.ts comments "<query>" [--sub <subreddit>] [--provider pullpush|arctic-shift] [--limit N] ``` ```bash npx tsx reddit.ts comments "solana scam" --provider pullpush --limit 10 npx tsx reddit.ts comments "openclaw" --provider arctic-shift --sub openclaw ``` ### Subreddit Feeds ```bash npx tsx reddit.ts hot <subreddit> [--limit N] [--time day|week] npx tsx reddit.ts new <subreddit> [--limit N] npx tsx reddit.ts rising <subreddit> [--limit N] npx tsx reddit.ts top <subreddit> [--time day|week|month|year|all] [--limit N] npx tsx reddit.ts controversial <subreddit> [--time day|week] [--limit N] ``` ### Multi-Subreddit Feed ```bash npx tsx reddit.ts multi <sub1+sub2+sub3> [--sort hot|new|top] [--time day|week] [--limit N] ``` ### Read Thread ```bash npx tsx reddit.ts thread <url> [--sort top|best|new|controversial] [--limit N] [--depth N] ``` ### User Profile ```bash npx tsx reddit.ts user <username> [--posts|--comments] [--sort new|top|hot] [--limit N] ``` ### Subreddit Info ```bash npx tsx reddit.ts subreddit <name> ``` ### Find Subreddits ```bash npx tsx reddit.ts find-subs "<query>" [--limit N] ``` ### Popular Subreddits ```bash npx tsx reddit.ts popular [--limit N] ``` ### Cross-Posts / Duplicates ```bash npx tsx reddit.ts duplicates <post_id> ``` ### Wiki ```bash npx tsx reddit.ts wiki <subreddit> [page] ``` ### Watchlist ```bash npx tsx reddit.ts watchlist # Show all npx tsx reddit.ts watchlist add <sub> [note] # Add subreddit npx tsx reddit.ts watchlist remove <sub> # Remove npx tsx reddit.ts watchlist check # Check hot posts from all ``` ### Cache ```bash npx tsx reddit.ts cache stats # Cache statistics npx tsx reddit.ts cache clear # Clear all cached data ``` ## Research Loop (Agentic) When doing deep research, follow this loop: ### 1. Decompose the Question Turn the research question into 3-5 search queries: - **Direct query**: Core keywords - **Subreddit-specific**: Search within the most relevant sub - **Solution-focused**: Add "solved", "fix", "how to" - **Experience-focused**: Add "experience", "review", "worth it" - **Negative signal**: "scam", "avoid", "warning" - **Historical**: Use `--provider pullpush` for deleted/old content ### 2. Search and Triage Run each query. For each result set: - High score + lots of comments = worth reading the thread - Low score but specific = might have niche info - Cross-posted = narrative spreading ### 3. Read Key Threads ```bash npx tsx reddit.ts thread <url> --sort top --limit 30 ``` ### 4. Cross-Reference ```bash npx tsx reddit.ts duplicates <post_id> ``` ### 5. Comment Deep Dive Search through comments when posts don't surface the answer: ```bash npx tsx reddit.ts comments "specific error message" --provider pullpush --limit 20 ``` ### 6. Synthesize Group findings by theme: ``` ### [Finding/Theme] [Summary] - u/username in r/subreddit (⬆️ N): "[key quote]" [Link](url) - u/username2 in r/subreddit2 (⬆️ N): "[another take]" [Link](url) ``` ## Heartbeat Integration On heartbeat, run `watchlist check` to see if watched subreddits have notable activity. Flag only if genuinely interesting/actionable. ## Rate Limits - **Reddit JSON**: ~60 req/min, User-Agent required, auto-retry with backoff - **PullPush**: Generous, no official limit, sometimes down - **Arctic Shift**: Generous, no official limit - **Cache**: 15min TTL prevents redundant hits ## File Structure ``` skills/reddit-research/ ├── SKILL.md # This file ├── README.md ├── package.json # Zero dependencies ├── assets/ │ └── banner.svg ├── scripts/ │ ├── reddit.ts # CLI entry point │ └── lib/ │ ├── api.ts # Reddit + PullPush + Arctic Shift wrapper │ ├── cache.ts # File-based cache │ └── format.ts # Terminal + markdown formatters ├── data/ │ ├── watchlist.json # Watched subreddits │ └── cache/ # Auto-managed └── references/ └── reddit-json-api.md # API endpoint reference ``` ## Requirements - Node.js 18+ (for native `fetch`) - No API key needed - No npm install needed — zero dependencies

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 reddit-search-but-free-1776280468 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 reddit-search-but-free-1776280468 技能

通过命令行安装

skillhub install reddit-search-but-free-1776280468

下载 Zip 包

⬇ 下载 reddit-research v1.0.0

文件大小: 19.82 KB | 发布时间: 2026-4-16 17:36

v1.0.0 最新 2026-4-16 17:36
Initial release of a full-featured, zero-auth Reddit research tool.

- Search Reddit posts and comments, including deleted/historical content via three data providers (Reddit, PullPush, Arctic Shift)
- Monitor subreddits, view feeds (hot, new, top, controversial, rising), and set up a subreddit watchlist
- Analyze user profiles, find cross-posts/duplicates, and access subreddit wiki/content
- Terminal-based CLI, requires only Node.js 18+, with no installation or API keys needed
- Includes comment search, multi-subreddit feeds, file-based caching, and agentic "research loop" guidance

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部