reddit-competitor-analysis-api-skill
Skill này làm gì
Skill lấy chi tiết bài đăng và bình luận từ kết quả tìm kiếm Reddit theo các từ khóa bạn chọn. Skill dành cho người làm marketing và nhà nghiên cứu muốn biết người dùng nói gì về một thương hiệu hoặc đối thủ.
Khi nào nên dùng
- ✓Khi bạn muốn xem người dùng Reddit nói gì về một đối thủ.
- ✓Khi bạn cần theo dõi cảm xúc đối với thương hiệu trong các bình luận Reddit.
- ✓Khi bạn nghiên cứu một thị trường bằng cách đọc các thảo luận phổ biến trên Reddit.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/reddit-competitor-analysis-api-skill/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm các bài đăng và bình luận trên Reddit nhắc đến Notion trong tháng trước, kèm toàn bộ nội dung và bình luận.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gửi từ khóa và bộ lọc đến một mẫu của BrowserAct. Mẫu tìm kiếm trên Reddit, đọc các bài đăng khớp và bình luận của chúng, rồi trả về chi tiết dưới dạng có cấu trúc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Reddit Competitor Analysis API Skill
📖 Introduction
This skill uses the BrowserAct Reddit Competitor Analysis API template to provide users with a one-stop Reddit data collection service. It can extract full post details and comments from Reddit search results. Just input search keywords and filtering conditions to directly get clean and usable Reddit data.
✨ Features
- No hallucinations, ensuring stable and precise data extraction: Pre-set workflows avoid AI generative hallucinations.
- No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
- No IP access restrictions or geofencing: No need to handle regional IP limitations.
- Faster execution: Compared to pure AI-driven browser automation solutions, task execution is faster.
- Extremely high cost-effectiveness: Significantly reduces data acquisition costs compared to highly token-consuming AI solutions.
🔑 API Key Guide
Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take any other actions; you should request and wait for the user to provide it collaboratively.
The Agent must inform the user at this time:
"Since you have not configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key first."
🛠️ Input Parameters
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
Keywords (Search keywords)
- Type:
string - Description: Search keywords for Reddit posts.
- Example:
openclaw
- Type:
Publication_date (Publication date)
- Type:
string - Description: Filter posts by publication date range.
- Options:
All time,Past year,Past month,Past week,Today,Past hour - Default:
Past week
- Type:
Post_sort_by (Search sort)
- Type:
string - Description: Sort Reddit post search results by selected criteria.
- Options:
Relevance,Hot,Top,New,Comment count - Default:
Relevance
- Type:
Comment_sort_by (Comment sort)
- Type:
string - Description: Sort extracted comments by.
- Options:
Best,Top,New,Controversial,Q&A - Default:
Best
- Type:
Data_limit (Comments per post)
- Type:
number - Description: Maximum number of comments to extract per post.
- Default:
10
- Type:
🚀 Usage (Recommended)
The Agent should execute the following independent script to achieve "one-line command to get results". Note that the script path ./scripts/... is relative to this skill's directory:
# Example invocation
python3 -u ./scripts/reddit_competitor_analysis_api.py "keywords" "publication_date" "post_sort_by" "comment_sort_by" data_limit
⏳ Task Status Monitoring
Since this task involves automated browser operations, it may take a long time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running) while running.
Agent Must Know:
- While waiting for the script to return results, please keep an eye on the terminal output.
- As long as the terminal is still outputting new status logs, it means the task is running normally. Please do not mistakenly judge it as a deadlock or unresponsiveness.
- Only if the status remains unchanged for a long time or the script stops outputting and no result is returned, you can consider triggering the retry mechanism.
🔧 OpenClaw Adaptation Guide
Since BrowserAct tasks may take a long time to run (5-20 minutes), when the Agent executes in the OpenClaw environment, it needs to:
Run in background mode (using JSON parameters for
exectool):command:"python3 -u ./scripts/reddit_competitor_analysis_api.py ..."background:truetimeout:1800
Or increase yieldMs:
command:"python3 -u ./scripts/reddit_competitor_analysis_api.py ..."yieldMs:600000timeout:1800
Use process poll to monitor:
action:"poll"sessionId:"xxx"timeout:300000
📊 Data Output Description
After successful execution, the script will directly parse and print the results from the API response. The results include:
post_title: Full post titlepublish_time: Post publicatio
Câu hỏi thường gặp
Bạn có thể lọc theo những gì?
Bạn đặt từ khóa tìm kiếm và điều kiện lọc, chẳng hạn như chủ đề và thời gian.
Có bao gồm bình luận không?
Có. Mô tả cho biết cả chi tiết bài đăng lẫn bình luận đều được trích xuất.
Bạn có cần khóa không?
Có, cần khóa API của BrowserAct trong thiết lập BROWSERACT_API_KEY.
Chi tiết
Mô tả gốc của tác giả
This skill helps users extract structured data from Reddit posts and comments via BrowserAct API. Agent should proactively apply this skill when users express needs like analyzing competitor mentions on Reddit, tracking brand sentiment in Reddit comments, extracting Reddit discussions for market research, finding popular Reddit posts by keywords, monitoring community feedback on specific topics, gathering user reviews from Reddit threads, searching for Reddit posts within a specific date range, sorting Reddit discussions by relevance or hotness, compiling nested Reddit comments for deep analys
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14311
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
xurl
394kGiúp agent của bạn đăng, trả lời, tìm kiếm và đọc trên X, gửi tin nhắn riêng và tải lên phương tiện, bằng công cụ xurl đã xác thực.
connections-optimizer
280kCải thiện các kết nối trên mạng xã hội của bạn. Gợi ý ai nên theo dõi hoặc bỏ theo dõi và giúp soạn tin nhắn cá nhân hóa để mở rộng mạng lưới.
content-engine
280kTạo nội dung cho nhiều nền tảng khác nhau. Giúp soạn bài đăng, kịch bản và lịch nội dung phù hợp với các mạng như X, LinkedIn và YouTube.