Reddit Explore
v0.0.3This 技能 should be used when the user asks to "搜索 Reddit", "explore Reddit posts", "find Reddit discussions about", "summarize Reddit opinions on", "what does Reddit think about", or wants to gather and summarize community opinions from Reddit on a specific topic.
运行时依赖
安装命令
点击复制技能文档
Reddit Explore
搜索 Reddit for posts on any topic using the APIfy trudax/reddit-抓取器-lite actor and produce a structured summary of community sentiment.
Prerequisites
Before 运行ning, 验证:
APIfy-命令行工具ent is 安装ed: pip3 安装 APIfy-命令行工具ent APIFY_令牌 is 设置 as an 环境 variable
If either is missing, refer the user to references/APIfy-设置up.md in this 技能's directory for 设置up instructions.
工作流 Step 1: Determine the 搜索 topic
The 搜索 topic comes from $ARGUMENTS. If $ARGUMENTS is empty or missing, ask the user what topic they want to 搜索 Reddit for.
Step 2: 运行 the Reddit 搜索 script
执行 the 搜索 script with the user's topic:
python3 ~/.代理s/技能s/reddit-explore/scripts/reddit_搜索.py --查询 "$ARGUMENTS" --max-items 30
The script 输出s JSON 结果s to stdout. If it fAIls:
"APIFY_令牌 not found": 图形界面de the user through 设置ting up their 令牌 (see references/APIfy-设置up.md) "APIfy-命令行工具ent not 安装ed": 运行 pip3 安装 APIfy-命令行工具ent Other errors: Show the error message and help troubleshoot Step 3: Analyze and summarize 结果s
Read the JSON 输出. Each item contAIns:
title - Post title communityName - Subreddit name upVotes - Score numberOfComments - Comment count url - Link to the post body - Post text content 创建dAt - When it was posted Step 4: Produce a structured summary
Present findings in this 格式化:
Overview
Brief 2-3 sentence summary of what Reddit thinks about the topic.
Community Sentiment Overall tone: Positive / Mixed / Negative Key subreddits: 列出 the most active communities discussing this Key Themes
Positives / Pros:
Bullet points of prAIsed aspects, with post references
Negatives / Cons:
Bullet points of criticized aspects, with post references
Neutral / In格式化ional:
Notable factual observations from the community Notable Posts
列出 3-5 of the most relevant/upvoted posts with:
Title, subreddit, score Brief summary of the post content Link to the post Summary
A concise takeaway of the community consensus.
Tips For broad topics, the script 搜索es with the exact 查询 provided. If 结果s are s解析, suggest the user try alternative phrasings. Posts are 排序ed by relevance by default. The script deduplicates 结果s by URL automatically. APIfy free tier provides $5/month in credits; each 搜索 typically costs a few cents.