소스 정보
- 저장소
- muzhicaomingwang/ai-ideas
- 최근 소스 활동
- 2026년 1월 7일 16:00
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 3
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/muzhicaomingwang/ai-ideas --skill research-by-reddit명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | research-by-reddit |
| description | 基于 Reddit API 进行深度调研并生成研究报告。支持搜索、获取帖子、评论分析、情感分析等功能 |
| allowed-tools | ["Bash(python:*)","Read","Write"] |
| model | sonnet |
基于 Reddit API (PRAW) 进行市场调研、用户反馈收集、技术方案研究等任务。
需要设置以下环境变量(在 .env 文件中):
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USER_AGENT=your_app_name/1.0
OPENROUTER_API_KEY=your_openrouter_key # 用于 AI 分析
搜索 Reddit 全站或特定 subreddit 的内容。
python scripts/search_reddit.py --query "关键词" [选项]
参数:
--query: 搜索关键词(必需)--subreddit: 限定搜索的 subreddit(可选,不指定则全站搜索)--limit: 返回结果数量(默认 25,最大 100)--time_filter: 时间范围 [all, year, month, week, day, hour](默认 all)--sort: 排序方式 [relevance, hot, top, new, comments](默认 relevance)--output: 输出文件路径(可选,默认输出到 stdout)示例:
# 搜索 AI 相关讨论
python scripts/search_reddit.py --query "AI productivity tools" --limit 50 --time_filter month
# 在特定 subreddit 搜索
python scripts/search_reddit.py --query "团建" --subreddit "China_irl" --limit 30
获取指定 subreddit 的热门/最新帖子及评论。
python scripts/fetch_posts.py --subreddit "subreddit名称" [选项]
参数:
--subreddit: 目标 subreddit(必需)--sort: 排序方式 [hot, new, top, rising, controversial](默认 hot)--limit: 帖子数量(默认 25)--time_filter: 时间范围,仅对 top/controversial 有效(默认 week)--include_comments: 是否包含评论(默认 false)--comment_limit: 每个帖子的评论数量(默认 10)--output: 输出文件路径示例:
# 获取 startup subreddit 热门帖子
python scripts/fetch_posts.py --subreddit "startups" --sort hot --limit 20
# 获取帖子及评论
python scripts/fetch_posts.py --subreddit "smallbusiness" --include_comments --comment_limit 20
对收集的 Reddit 数据进行 AI 分析,生成研究报告。
python scripts/analyze_reddit.py --input "数据文件" --analysis_type "分析类型" [选项]
参数:
--input: 输入数据文件(JSON 格式,来自 search 或 fetch)--analysis_type: 分析类型 [sentiment, topic, summary, competitive, pain_points]--model: AI 模型(默认 gemini,可选 claude, gpt-4)--output: 输出报告路径--format: 输出格式 [json, markdown](默认 markdown)分析类型说明:
sentiment: 情感分析,识别正面/负面/中性观点topic: 主题聚类,识别讨论热点summary: 内容摘要,提取关键信息competitive: 竞品分析,识别提及的竞品及评价pain_points: 痛点分析,识别用户抱怨和需求示例:
# 情感分析
python scripts/analyze_reddit.py --input data/search_results.json --analysis_type sentiment
# 生成 Markdown 报告
python scripts/analyze_reddit.py --input data/posts.json --analysis_type pain_points --format markdown --output reports/pain_points.md
定义调研目标
数据收集
# 1. 搜索相关讨论
python scripts/search_reddit.py --query "your topic" --limit 100 --output data/search.json
# 2. 获取热门帖子
python scripts/fetch_posts.py --subreddit "relevant_sub" --include_comments --output data/posts.json
数据分析
# 3. 运行 AI 分析
python scripts/analyze_reddit.py --input data/search.json --analysis_type pain_points --output reports/analysis.md
报告生成
# 了解目标用户对某类产品的看法
python scripts/search_reddit.py --query "team building software" --limit 100 --time_filter year
python scripts/analyze_reddit.py --input results.json --analysis_type competitive
# 收集特定产品的用户反馈
python scripts/search_reddit.py --query "Notion alternative" --subreddit "productivity" --limit 50
python scripts/analyze_reddit.py --input results.json --analysis_type pain_points
# 了解技术选型讨论
python scripts/fetch_posts.py --subreddit "programming" --sort top --time_filter month --include_comments
python scripts/analyze_reddit.py --input posts.json --analysis_type topic
{
"query": "搜索词",
"timestamp": "2024-01-15T10:30:00Z",
"total_results": 50,
"results": [
{
"id": "post_id",
"title": "帖子标题",
"author": "用户名",
"subreddit": "subreddit名",
"score": 1234,
"num_comments": 56,
"created_utc": 1705312200,
"url": "https://reddit.com/...",
"selftext": "帖子内容...",
"comments": [...]
}
# Reddit 调研报告:[主题]
## 概述
- 数据来源:[subreddit 列表]
- 时间范围:[开始] - [结束]
- 样本量:[N] 条帖子
## 关键发现
1. ...
2. ...
## 详细分析
### 主题分布
...
### 情感倾向
...
## 结论与建议
...
cd .claude/skills/research-by-reddit/scripts
pip install -r requirements.txt
认证失败
搜索结果为空
AI 分析失败