技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 1 · 2.9k · 13 current installs · 13 all-time installs
⭐ 1
安装量(当前) 13
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:arkaydeus/search-reddit
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill largely does what it says (search Reddit and enrich results), but the package/registry metadata omits that it requires an OpenAI API key and the script reads your Clawdbot config (~/.clawdbot/clawdbot.json) to find keys — this mismatch and undeclared config access are concerning and should be clarified before install.
目的
The name/description (real-time Reddit search + enrichment) aligns with the included script, which calls OpenAI's Responses API web_search and fetches Reddit JSON to compute engagement and top comments. However, registry metadata lists no required environment variables while the SKILL.md and script require an OpenAI API key — an inconsistency between declared requirements and actual needs.
说明范围
SKILL.md instructs the agent to use OpenAI web_search, then enrich returned Reddit thread URLs by fetching Reddit JSON. The runtime instructions and the code remain focused on the stated goal and do not request unrelated filesystem or network targets beyond reading the clawdbot config and calling OpenAI/reddit endpoints.
安装机制
There is no install spec (instruction-only) and no remote download during install. A local Node script is included; executing it requires node but nothing in the install flow pulls arbitrary remote archives. This is a lower install-risk posture.
证书
The skill requires an OpenAI API key (OPENAI_API_KEY) per SKILL.md and the script, but the registry metadata declares no required env vars/primary credential — that's a mismatch. The script also attempts to read ~/.clawdbot/clawdbot.json for stored keys, which is reasonable for convenience but is not declared in the registry and grants the skill read access to a local config file (potentially containing other keys). No other unrelated credenti…
持久
The skill is not set always:true, does not request elevated or persistent platform-wide privileges, and does not modify other skills' config. Its only persistent behavior is reading the user's clawdbot config file for an API key, which is expected for convenience but should be documented.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Search Reddit」。简介:Search Reddit in real time using OpenAI web_search with enrichment (engagement …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/arkaydeus/search-reddit/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
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.
---
# 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:
```bash
clawdbot config set skills.entries.search-reddit.apiKey "sk-YOUR-KEY"
```
Or use environment variable:
```bash
export OPENAI_API_KEY="sk-YOUR-KEY"
```
You can also set a shared key:
```bash
clawdbot config set skills.entries.openai.apiKey "sk-YOUR-KEY"
```
## Commands
### Basic Search
```bash
node {baseDir}/scripts/search.js "Claude Code tips"
```
### Filter by Time
```bash
node {baseDir}/scripts/search.js --days 7 "AI news"
```
### Filter by Subreddit
```bash
node {baseDir}/scripts/search.js --subreddits machinelearning,openai "agents"
node {baseDir}/scripts/search.js --exclude bots "real discussions"
```
### Output Options
```bash
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_utc` and 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)