mcpField
R
reddit-commenter

reddit-commenter

github.com/rokpiyマーケティング・グロース58541 回インストール32 週間前に更新
リポジトリ

reddit-commenter について

Playwright MCPを使うRedditコメントの調査、作成、投稿、活動記録を案内するスキルです。投稿前の内容分析と個別化チェックを含み、Redditでの交流や見込み顧客の把握に使えます。

主な機能

  1. 01サブレディット別の活動・頻度管理
  2. 02投稿と既存コメントの事前分析
  3. 03コメント確認用の個別化チェックリスト
  4. 04Playwright MCPによるコメント投稿
  5. 05任意の見込み顧客判定と記録

活用シーン

  1. 01選んだサブレディットから返信対象を探す
  2. 02投稿内容とコミュニティの雰囲気に合わせてコメントを作成する
  3. 03日ごとの投稿数と間隔を記録する
  4. 04条件に合うユーザーを見込み顧客として記録する

MCP 対応

Redditページの移動、確認、コメント入力、投稿にPlaywright MCPを使用します。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/rokpiy/auto-commenter --skill reddit-commenter

インストール後、Claude Code で/reddit-commenterを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

BATCH.md
resources/
personalization_reddit.md
product.md
subreddits.md

詳細

Reddit コメント投稿者スキル

Reddit コメントの自動化 — 投稿の探索から投稿、追跡まで


必須ツール:Playwright MCP

このスキルでは、Reddit を操作するために Playwright MCP を使用します。

主な MCP ツール
MCP ツール目的
browser_navigateReddit のページに移動する
browser_snapshotページ構造(アクセシビリティツリー)を取得する
browser_click要素をクリックする(コメント欄、ボタンなど)
browser_typeテキストを入力する(コメントの内容)
browser_wait_forページの読み込みを待つ
⚠️ Playwright MCP 使用時の重要な注意事項
  • トークンを最小限に抑える:MCP の呼び出し時に会話のコンテキスト全体を渡さず、その操作に必要な情報だけを簡潔に要約してください
  • 直接移動する:要素をクリックするのではなく、browser_navigate で URL に直接移動してください(クリックエラーを防ぎ、トークンを節約できます)
  • 指示は簡潔に:「[URL] に移動」「[要素] をクリック」「入力:[テキスト]」のような最小限の指示だけを渡してください
  • ⚠️ スクリーンショットは禁止:browser_take_screenshot は使用しないでください。ページの確認には必ず browser_snapshot のみを使用してください(アクセシビリティツリーで十分であり、ファイルも保存されません)

実行ワークフロー

ステップ 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
ステップ 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
ステップ 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
ステップ 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)
ステップ 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

パーソナライズの詳細ガイド:resources/personalization_reddit.md を参照してください

ステップ 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
ステップ 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
ステップ 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**:

コメント全文を書く


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

ファイル参照ルール(トークン節約)

ファイル参照するタイミング
resources/subreddits.mdステップ 1(サブレディットの選択)
resources/personalization_reddit.mdステップ 5(確認)
resources/product.mdステップ 7(見込み顧客かどうかの判断)
leads/reddit.mdステップ 7(リード基準の確認)

→ 該当するステップでのみ参照し、事前に読まないでください


注意事項

  1. ログインが必要:Reddit アカウントのログイン状況を確認してください
  2. レート制限:操作が速すぎると、アカウントが制限されるおそれがあります
  3. コミュニティのルール:各サブレディットのルールを必ず守ってください
  4. スパム防止:同じ内容をコピー&ペーストすることは絶対にしないでください
  5. 確認が必要:チェックリスト項目に違反している場合は、書き直してください
  6. ⚠️ ステップ 3 は必須:投稿内容を分析せずにコメントを書いてはいけません。キーワードだけで判断すると、重大な誤りにつながるおそれがあります
  7. ⚠️ Playwright MCP のトークンを最小限に抑える:
    • Playwright MCP の呼び出し時にコンテキスト全体を渡さないでください
    • 各 MCP 呼び出しに必要な情報だけを簡潔に要約してください
    • 例:「[URL] に移動」「コメント欄をクリック」「入力:[テキスト]」のような最小限の指示だけにしてください
    • 入力トークンの過剰な使用によるエラーを防いでください
  8. ⚠️ 投稿への移動:投稿をクリックするのではなく、browser_navigate で URL に直接移動してください(クリックエラーを防げます)

コメント