search-reddit

Review·Scanned 2/17/2026

Provides a CLI tool that searches Reddit using OpenAI's web_search and enriches threads with Reddit JSON. Contains explicit shell commands to run (node scripts/search.js), reads OPENAI_API_KEY and path.join(process.env.HOME || '', '.clawdbot', 'clawdbot.json'), and makes network calls to api.openai.com and https://www.reddit.com.

from clawhub.ai·vfccf8f4·20.7 KB·0 installs
Scanned from 1.0.0 at fccf8f4 · Transparency log ↗
$ vett add clawhub.ai/arkaydeus/search-redditReview findings below

Search Reddit — Real-time Reddit Search for Clawdbot

Search Reddit in real-time using OpenAI's web_search tool. Results are enriched with engagement stats and top comment excerpts.

Installation

clawdhub install search-reddit

Or manually:

cd ~/clawd/skills && git clone https://github.com/mvanhorn/clawdbot-skill-search-reddit search-reddit

Setup

Get your API key from https://platform.openai.com, then:

clawdbot config set skills.entries.search-reddit.apiKey "sk-YOUR-KEY"

Or set environment variable:

export OPENAI_API_KEY="sk-YOUR-KEY"

You can also set a shared key:

clawdbot config set skills.entries.openai.apiKey "sk-YOUR-KEY"

Usage

Basic Search

node scripts/search.js "Claude Code tips"

Time Filter

node scripts/search.js --days 7 "breaking news"    # Last 7 days
node scripts/search.js --days 1 "trending today"   # Last 24 hours

Subreddit Filters

node scripts/search.js --subreddits machinelearning,openai "agents"
node scripts/search.js --exclude bots "real discussions"

Output Formats

node scripts/search.js --compact "topic"      # Minimal output
node scripts/search.js --links-only "topic"   # Just URLs
node scripts/search.js --json "topic"         # JSON results

Chat Examples

Just tell your Clawdbot:

  • "Search Reddit for what people are saying about Claude"
  • "Find posts in r/OpenAI from the last week"
  • "Get Reddit links about Kimi K2.5"

How It Works

Uses OpenAI's Responses API with the web_search tool:

  • Endpoint: /v1/responses
  • Model: gpt-5.2 (default)
  • Features: Date filtering, subreddit filtering, enrichment via Reddit JSON

Output Example

🔍 Searching Reddit: "Kimi K2.5" (last 7 days)...

**Kimi K2.5 impressions?**
r/MachineLearning • 2026-01-22
https://www.reddit.com/r/MachineLearning/comments/xxxxxx/...
Score: 231 • Comments: 82 • Upvote ratio: 0.92
Top comments:
- user1 (120): Interesting that...
- user2 (88): I tested it and...

📎 Links (3):
   https://www.reddit.com/r/MachineLearning/comments/xxxxxx/...

License

MIT