reddit-commenter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Reddit Commenter Skill

Reddit Commenter Skill

Reddit Comment Automation - From Exploration to Posting and Tracking

Reddit评论自动化 - 从探索到发布与追踪

Required Tool: Playwright MCP

所需工具:Playwright MCP

This skill uses Playwright MCP to interact with Reddit.
本Skill使用Playwright MCP与Reddit进行交互。

Main MCP Tools

主要MCP工具

MCP ToolPurpose
browser_navigate
Navigate to Reddit pages
browser_snapshot
Capture page structure (accessibility tree)
browser_click
Click elements (comment box, buttons, etc.)
browser_type
Input text (comment content)
browser_wait_for
Wait for page loading
MCP工具用途
browser_navigate
导航至Reddit页面
browser_snapshot
捕获页面结构(可访问性树)
browser_click
点击元素(评论框、按钮等)
browser_type
输入文本(评论内容)
browser_wait_for
等待页面加载

⚠️ Important Notes When Using Playwright MCP

⚠️ 使用Playwright MCP的重要注意事项

  • Minimize tokens: When calling MCP, don't pass entire conversation context—only concisely summarize the essential information needed for that action
  • Direct navigation: Navigate directly to URLs with
    browser_navigate
    rather than clicking elements (prevents click errors, saves tokens)
  • Concise instructions: Pass only minimal instructions like "Navigate to [URL]", "Click [element]", "Type: [text]"
  • ⚠️ No screenshots: Do NOT use
    browser_take_screenshot
    . Always use only
    browser_snapshot
    for page verification (accessibility tree is sufficient and doesn't save files)

  • 最小化令牌消耗:调用MCP时,不要传递整个对话上下文——仅简洁总结该操作所需的关键信息
  • 直接导航:使用
    browser_navigate
    直接导航至URL,而非点击元素(避免点击错误,节省令牌)
  • 简洁指令:仅传递如“导航至[URL]”、“点击[元素]”、“输入:[文本]”这类极简指令
  • ⚠️ 禁止截图:请勿使用
    browser_take_screenshot
    。始终仅使用
    browser_snapshot
    进行页面验证(可访问性树已足够,且不会保存文件)

Execution Workflow

执行工作流

Step 1: Check Activity Status and Select Subreddit

步骤1:检查活动状态并选择子版块

1. Check today's date file in tracking/reddit/ folder
   → File name: YYYY-MM-DD.md (e.g., 2026-01-12.md)
   → If file doesn't exist, create new one referencing template.md

2. Check activity status table by subreddit:
   - How many comments posted in each subreddit today
   - Check subreddits under daily limit (3)
   - Check last comment time (minimum 5-10 minute intervals)

3. Select next subreddit for commenting:
   - Prioritize subreddits with no activity today or under limit
   - Prioritize subreddits with oldest last activity time

4. Check subreddit specifics in resources/subreddits.md:
   - Core community rules
   - Community nature
   - Good topics to answer
   → Reflect this information when selecting posts
1. 检查tracking/reddit/文件夹中的今日日期文件
   → 文件名:YYYY-MM-DD.md(例如:2026-01-12.md)
   → 若文件不存在,参考template.md创建新文件

2. 按子版块检查活动状态表:
   - 每个子版块今日已发布的评论数量
   - 检查评论数未达每日上限(3条)的子版块
   - 检查上次评论时间(需间隔至少5-10分钟)

3. 选择下一个要评论的子版块:
   - 优先选择今日无活动或评论数未达上限的子版块
   - 优先选择上次活动时间最早的子版块

4. 查看resources/subreddits.md中的子版块详情:
   - 核心社区规则
   - 社区性质
   - 适合回复的话题
   → 选择帖子时需参考这些信息

Step 2: Access Reddit and Explore Posts

步骤2:访问Reddit并探索帖子

1. Access Reddit with Playwright MCP
   → browser_navigate("https://www.reddit.com/r/{selected_subreddit}/new/")
   or
   → browser_navigate("https://www.reddit.com/r/{selected_subreddit}/rising/")

2. Page snapshot
   → browser_snapshot()

3. Criteria for selecting posts to comment on:
   • Posts where you can share insights or provide feedback
   • ⚠️ CRITICAL: Posts you haven't commented on today
     - Check activity log in tracking/reddit/today's-date.md file
     - Extract list of post URLs from today's comments
     - Verify selected post URL is NOT in that list
     - Absolutely NO duplicate comments on same post
   • OK even if not related to your service/field
   • Relevance to "good topics to answer" from Step 1
   • Avoid posts with already hundreds of comments

4. Secure URL of selected post
   → Check and record post link in snapshot
   → Navigate directly to this URL in next Step
1. 使用Playwright MCP访问Reddit
   → browser_navigate("https://www.reddit.com/r/{selected_subreddit}/new/")
   → browser_navigate("https://www.reddit.com/r/{selected_subreddit}/rising/")

2. 页面快照
   → browser_snapshot()

3. 选择要评论的帖子的标准:
   • 你可以分享见解或提供反馈的帖子
   • ⚠️ 关键:今日未评论过的帖子
     - 查看tracking/reddit/今日日期文件中的活动日志
     - 从今日评论中提取帖子URL列表
     - 验证所选帖子URL不在该列表中
     - 绝对禁止在同一帖子下重复评论
   • 即使与你的服务/领域无关也可选择
   • 与步骤1中“适合回复的话题”相关
   • 避免已有数百条评论的帖子

4. 获取所选帖子的URL
   → 在快照中检查并记录帖子链接
   → 下一步直接导航至该URL

Step 3: Deep Analysis of Post Content and Existing Comments

步骤3:深入分析帖子内容及现有评论

⚠️ CRITICAL: Must perform this step before writing comment

0. Navigate directly to post
   → browser_navigate(post URL secured in Step 2)
   → Navigate directly to URL, don't click on post (prevents click errors)
   → browser_snapshot()

1. Read post content accurately:
   - Understand what OP is actually asking
   - Don't react only to keywords—understand full context
   - Distinguish between hypothetical questions and actual problem complaints

2. Understand OP's intent:
   - Seeking specific help? (problem solving)
   - Seeking opinions/discussion? (hypothetical scenario)
   - Information sharing? (experience story)

3. Analyze existing comments:
   - Check how others interpreted
   - Understand how community is receiving this post
   - Check tone and answering style

4. Decide comment direction:
   - Is this post worth answering?
   - From what angle should I answer?
   - Can I naturally answer in my style?

5. ⚠️ CRITICAL: Determine if site/link verification needed:
   - Did OP provide website/app link?
   - Are there expressions like "feedback requested", "honest feedback", "looking for feedback"?
   - Is feedback requested on UX, design, performance that requires actual verification?

   → If YES:
     • Visit actual site with browser_navigate(provided link)
     • Check UI/UX with browser_snapshot()
     • Write feedback based ONLY on what you actually saw
     • Absolutely NO speculative feedback on things you didn't see

   → If NO:
     • Can answer from post content alone
     • General advice or experience sharing

⚠️ Proceed to Step 4 only after clearly verifying analysis results
⚠️ 关键:撰写评论前必须执行此步骤

0. 直接导航至帖子
   → browser_navigate(步骤2中获取的帖子URL)
   → 直接导航至URL,不要点击帖子(避免点击错误)
   → browser_snapshot()

1. 准确阅读帖子内容:
   - 理解发帖人(OP)的实际问题
   - 不要仅对关键词做出反应——要理解完整上下文
   - 区分假设性问题和实际问题投诉

2. 理解发帖人的意图:
   - 寻求特定帮助?(问题解决)
   - 寻求意见/讨论?(假设场景)
   - 分享信息?(经验故事)

3. 分析现有评论:
   - 查看其他人的解读方式
   - 了解社区对该帖子的反应
   - 查看语气和回复风格

4. 确定评论方向:
   - 这个帖子值得回复吗?
   - 应从哪个角度回复?
   - 我能否以自己的风格自然回复?

5. ⚠️ 关键:判断是否需要验证网站/链接:
   - 发帖人是否提供了网站/应用链接?
   - 是否有“请求反馈”、“诚实反馈”、“寻求反馈”这类表述?
   - 是否需要实际验证UX、设计、性能等方面的反馈?

   → 如果是:
     • 使用browser_navigate(提供的链接)访问实际网站
     • 使用browser_snapshot()检查UI/UX
     • 仅基于实际所见撰写反馈
     • 绝对禁止对未看到的内容做出推测性反馈

   → 如果否:
     • 仅根据帖子内容即可回复
     • 提供通用建议或经验分享

⚠️ 只有在明确验证分析结果后,才能进入步骤4

Step 4: Write Comment

步骤4:撰写评论

1. Draft comment based on Step 3 analysis results:
   - Answer matching OP's actual question
   - Practically helpful content
   - Match subreddit tone
   - Focus on 1-2 points (don't try to explain everything)
1. 根据步骤3的分析结果起草评论:
   - 回复需匹配发帖人的实际问题
   - 内容需实用且有帮助
   - 匹配子版块的语气
   - 聚焦1-2个要点(不要试图解释所有内容)

Step 5: Personalization Review (Loop)

步骤5:个性化审核(循环)

1. Check resources/personalization_reddit.md file
   → Sequentially check 16 personalization checklist items based on actual comment style
   → Especially important: #4 personal experience, #13 experience pattern, #15 question intent understanding, #16 site verification

2. Check style patterns:
   • Which pattern (1-8) is it closest to?
   • Does it capture that pattern's characteristics well?
   • Does it look like you wrote it?

3. Review process:
   • All items PASS → Proceed to Step 6
   • Any violation → Revise comment and re-review from Step 5 beginning
Detailed personalization guide: See
resources/personalization_reddit.md
1. 查看resources/personalization_reddit.md文件
   → 根据实际评论风格依次检查16项个性化 checklist 条目
   → 尤其重要:第4项个人经验、第13项经验模式、第15项问题意图理解、第16项网站验证

2. 检查风格模式:
   • 最接近哪种模式(1-8)?
   • 是否很好地体现了该模式的特点?
   • 看起来像是你自己写的吗?

3. 审核流程:
   • 所有条目通过 → 进入步骤6
   • 任何条目未通过 → 修改评论并从步骤5开始重新审核
详细个性化指南:参见
resources/personalization_reddit.md

Step 6: Post Comment

步骤6:发布评论

1. Click comment input box
   → Check comment input element after browser_snapshot()
   → browser_click(comment box ref)

2. Input comment content
   → browser_type(reviewed comment)

3. Click post button
   → browser_click(post button ref)

4. Secure comment URL
   → Copy comment permalink after posting
1. 点击评论输入框
   → 执行browser_snapshot()后检查评论输入元素
   → browser_click(评论框引用)

2. 输入评论内容
   → browser_type(审核后的评论)

3. 点击发布按钮
   → browser_click(发布按钮引用)

4. 获取评论URL
   → 发布后复制评论永久链接

Step 7: Judge Potential Customer (Optional)

步骤7:判断潜在客户(可选)

⚠️ CRITICAL: Judge accurately by referring to Step 3 analysis again

→ Refer to "Lead Selection Criteria" in leads/reddit.md
→ Classify as lead only users with actual problems (not hypothetical questions)

When lead discovered, update leads/reddit.md:
  - Username, subreddit, post URL
  - Post summary, selection reason, relevance
⚠️ 关键:需再次参考步骤3的分析结果做出准确判断

→ 参考leads/reddit.md中的“潜在客户选择标准”
→ 仅将有实际问题的用户归类为潜在客户(排除假设性问题的用户)

发现潜在客户时,更新leads/reddit.md:
  - 用户名、子版块、帖子URL
  - 帖子摘要、选择理由、相关性

Step 8: Update Tracking

步骤8:更新追踪记录

Update tracking/reddit/[today's-date].md file:

1. Activity status table by subreddit:
   - Increment comment count for that subreddit by +1
   - Update last comment time

2. Add to activity log:
   ### [HH:MM] r/subreddit
   - **Post**: [Title](URL)
   - **Topic Summary**: One-line summary of post content
   - **Comment Link**: [Comment URL]
   - **Comment Content**:
Full comment written

3. When potential customer discovered:
- Update 'leads/reddit.md' when potential customer discovered

更新tracking/reddit/[今日日期].md文件:

1. 按子版块统计的活动状态表:
   - 该子版块的评论数+1
   - 更新上次评论时间

2. 添加至活动日志:
   ### [HH:MM] r/subreddit
   - **帖子**:[标题](URL)
   - **话题摘要**:帖子内容的一行摘要
   - **评论链接**:[评论URL]
   - **评论内容**:
完整评论内容

3. 发现潜在客户时:
- 更新leads/reddit.md

File Reference Rules (Token Savings)

文件参考规则(节省令牌)

FileReference Timing
resources/subreddits.md
Step 1 (subreddit selection)
resources/personalization_reddit.md
Step 5 (review)
resources/product.md
Step 7 (potential customer judgment)
leads/reddit.md
Step 7 (lead criteria check)
→ Reference only at relevant Step, don't read in advance

文件参考时机
resources/subreddits.md
步骤1(子版块选择)
resources/personalization_reddit.md
步骤5(审核)
resources/product.md
步骤7(潜在客户判断)
leads/reddit.md
步骤7(潜在客户标准检查)
→ 仅在相关步骤参考,不要提前读取

Cautions

注意事项

  1. Login Required: Check Reddit account login status
  2. Rate Limiting: Too fast activity risks account restrictions
  3. Community Rules: Must follow each subreddit's rules
  4. Spam Prevention: Absolutely NO copy-pasting same content
  5. Review Required: Rewrite if any checklist item violated
  6. ⚠️ Step 3 Required: NEVER write comment without analyzing post content. Judging only by keywords can cause serious errors
  7. ⚠️ Minimize Playwright MCP tokens:
    • Don't pass entire context when calling Playwright MCP
    • Concisely summarize only essential information needed for each MCP call
    • E.g.: Only minimal instructions like "Navigate to [URL]", "Click comment box", "Type: [text]"
    • Prevent errors from excessive input tokens
  8. ⚠️ Post Navigation: Use browser_navigate directly with URL instead of clicking post (prevents click errors)
  1. 需登录:检查Reddit账户的登录状态
  2. 速率限制:活动过快可能导致账户受限
  3. 社区规则:必须遵守每个子版块的规则
  4. 防止垃圾内容:绝对禁止复制粘贴相同内容
  5. 必须审核:若违反任何checklist条目,需重写评论
  6. ⚠️ 必须执行步骤3:绝不要在未分析帖子内容的情况下撰写评论。仅通过关键词判断可能导致严重错误
  7. ⚠️ 最小化Playwright MCP令牌消耗
    • 调用Playwright MCP时不要传递整个上下文
    • 仅简洁总结每个MCP调用所需的关键信息
    • 例如:仅使用“导航至[URL]”、“点击评论框”、“输入:[文本]”这类极简指令
    • 避免因输入令牌过多导致错误
  8. ⚠️ 帖子导航:使用browser_navigate直接访问URL,而非点击帖子(避免点击错误)