search-reddit
Search Reddit in real time using OpenAI web_search with enrichment (engagement + top comments). Use when you need recent Reddit threads, subreddit-filtered results, or quick link lists.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- search-reddit
- description
- Search Reddit in real time using OpenAI web_search with enrichment (engagement + top comments). Use when you need recent Reddit threads, subreddit-filtered results, or quick link lists.
02 资源文件 4
- 参考文档_meta.json281 B
- 参考文档package.json387 B
- 参考文档README.md2.1 KB
- 脚本scripts/search.js16.1 KB
03 SKILL.md 正文
Search Reddit
Real-time Reddit search powered by OpenAI web_search with post enrichment (score, comments, and top comment excerpts).
Setup
Set your OpenAI API key:
clawdbot config set skills.entries.search-reddit.apiKey "sk-YOUR-KEY"
Or use 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"
Commands
Basic Search
node {baseDir}/scripts/search.js "Claude Code tips"
Filter by Time
node {baseDir}/scripts/search.js --days 7 "AI news"
Filter by Subreddit
node {baseDir}/scripts/search.js --subreddits machinelearning,openai "agents"
node {baseDir}/scripts/search.js --exclude bots "real discussions"
Output Options
node {baseDir}/scripts/search.js --json "topic" # JSON results
node {baseDir}/scripts/search.js --compact "topic" # Minimal output
node {baseDir}/scripts/search.js --links-only "topic" # Only Reddit links
Example Usage in Chat
User: "Search Reddit for what people are saying about Claude Code" Action: Run search with query "Claude Code"
User: "Find posts in r/OpenAI from the last week" Action: Run search with --subreddits openai --days 7
User: "Get Reddit links about Kimi K2.5" Action: Run search with --links-only "Kimi K2.5"
How It Works
Uses OpenAI Responses API (/v1/responses) with the web_search tool:
- Allowed domain:
reddit.com - Enriches each thread by fetching Reddit JSON (
/r/.../comments/.../.json) - Updates the date from
created_utcand filters to last N days - Computes engagement and top comment excerpts
Environment Variables
OPENAI_API_KEY- OpenAI API key (required)SEARCH_REDDIT_MODEL- Model override (default: gpt-5.2)SEARCH_REDDIT_DAYS- Default days to search (default: 30)
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.