मुख्य सामग्री पर जाएँ
Skillpedia
सोशल मीडिया6.3k · #14317

x-dm-auto-chat

यह क्या करती है

यह स्किल X डायरेक्ट मैसेज का प्रबंधन करती है, इनबॉक्स स्कैन करने से लेकर जवाब भेजने तक। यह उन लोगों के लिए है जो DM का जवाब एक जैसे लहज़े में देना चाहते हैं और कुछ नई चैट शुरू करना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास कई बिना पढ़े X डायरेक्ट मैसेज हैं जिनका जवाब देना है।
  • ✓जब आप चाहते हैं कि जवाब आपके ब्रांड के तय लहज़े और उद्देश्य के अनुसार हों।
  • ✓जब आप आपकी चुनी हुई कुछ लोगों से X पर नई बातचीत शुरू करना चाहते हैं।

Skill का लिंक

https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-dm-auto-chat/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-dm-auto-chat/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा X इनबॉक्स देखिए, बिना पढ़े मैसेज खोलिए, हर चैट पढ़िए और हमारे ब्रांड के लहज़े से मेल खाते दोस्ताना जवाब भेजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल आपके X मैसेज खोलती है, वे चैट ढूँढती है जिनमें जवाब चाहिए, और इतिहास पढ़ती है। फिर आपके तय पर्सोना में लिखा जवाब भेजती है, और रेट लिमिट व अनुमति फ़िल्टर लागू करती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

X (Twitter) — DM Auto Chat (End-to-End)

Full X DM automation Skill: inbox scan → conversation read → persona-based reply → send; also supports search-and-outreach. The calling Agent generates reply text based on persona; this Skill handles all mechanical operations.

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Encapsulate "refresh DM list → identify pending replies → read context → reply with persona → send" and "search user → enter chat → send first message" into callable end-to-end capabilities.

Prerequisites

  • Browser is open at X site, logged into X account ([aria-label="Account menu"] present)
  • The 4-digit DM passcode for the current account is available (required for E2E encryption)
  • Caller has prepared a "persona description" (used to generate replies), e.g.:
    • "You are BrowserAct outreach team. Tone: friendly, concise, professional. Goal: invite creators to collaborate."
  • Optional: list of target user search queries (for outreach scenario)

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Open DM Entry + Comprehensive State Check

browser-act --session <name> navigate https://x.com/i/chat
browser-act --session <name> wait stable --timeout 15000
browser-act --session <name> eval "$(python scripts/check-page-state.py)"

Return format:

{
  "url": "https://x.com/i/chat/pin/recovery?from=%2Fi%2Fchat",
  "logged_in": true,
  "need_passcode": true,
  "on_inbox": false,
  "on_conversation": false,
  "has_panel": false,
  "has_composer": false,
  "inbox_count": 0
}

Decision matrix:

  • logged_in: false → inform user to log in first; wait; retry this step
  • need_passcode: true → proceed to step 3 below
  • on_inbox: true and inbox_count > 0 → ready, enter business flow
  • on_inbox: true but inbox_count === 0 → account has no DM conversations; outreach scenario can still proceed, pending-reply scenario has nothing to do

3. DM Passcode Unlock (when need_passcode is true)

  1. If caller has provided passcode in advance → use it directly; otherwise ask user for 4-digit DM passcode via AskUserQuestion tool (do not use plain text prompt — must call AskUserQuestion)
  2. browser-act --session <name> state — find indexes of 4 <input maxlength=1 pattern=[0-9]*> elements (usually 4 consecutive)
  3. Enter each digit: browser-act --session <name> input <idx1> "<d1>", <idx2> "<d2>", <idx3> "<d3>", <idx4> "<d4>"
    • Must use browser-act input (CDP real keyboard events), cannot use eval to set value — X ignores non-real keyboard input
  4. browser-act --session <name> wait stable --timeout 10000
  5. Re-run check-page-state.py, confirm need_passcode: false and on_inbox: true
  6. 3 consecutive failures still showing need_passcode: true → inform user passcode may be wrong; terminate

Business Flows

Choose Scenario A, Scenario B, or both. Each scenario is an ordered AI Workflow (not a single JS).

Scenario A: Scan unread DMs → Persona-based reply

Flow: Scan inbox → Filter unread & latest peer messages → Per-conversation: read context → Generate reply with persona → Send → Next

Steps:

  1. Scan inbox:

    browser-act --session <name> eval "$(python scripts/scan-inbox-merged.py)"
    

    Returns items[], each containing conversation_id / conversation_url / peer_screen_name / peer_display_name / peer_can_dm / latest_message_preview / latest_message_from_self / unread, etc.

  2. Filter pending-reply conversations: from items, select conversations meeting all conditions:

    • unread === true (has unread) or latest_message_from_self === false (peer's latest message not yet replied)
    • peer_can_dm === true (recipient allows DM)
    • is_muted !== true and is_deleted_by_viewer !== true
    • Optional caller filters: only reply to specific screen_names, exclude already-replied (use external JSONL ledger)
  3. For each pending-reply conversation (strictly serial, random sleep 8-15 seconds between each):

    a. Open conversation:

    browser-act --session <name> navigate https://x.com<conversation_url>
    browser-act --session <name> wait stable --timeout 15000
    

    b

अक्सर पूछे जाने वाले सवाल

क्या इसे मेरा X पासकोड चाहिए?

हाँ, विवरण के अनुसार एन्क्रिप्टेड मैसेज के लिए अकाउंट का 4-अंकों वाला DM पासकोड चाहिए।

क्या यह उन लोगों को मैसेज कर सकती है जिन्होंने मुझसे संपर्क नहीं किया?

यह नई बातचीत शुरू कर सकती है, और इसमें अनुमति फ़िल्टर है, इसलिए आप तय करते हैं कि किससे संपर्क हो।

जवाब कौन लिखता है?

आपका एजेंट दिए गए पर्सोना के आधार पर जवाब का टेक्स्ट लिखता है, और स्किल भेजने के चरण संभालती है।

जानकारी

लेखक का मूल विवरण

X (Twitter) DM automated chat end-to-end Skill: scan DM inbox to identify pending-reply conversations, read message history, generate persona-based replies and send; also supports searching users and starting new conversations. Built-in E2E passcode unlock, DM permission filtering, and rate control. Use when user mentions X auto-reply DMs, Twitter DM automated chat, auto-handle unread DMs, reply to X private messages with persona, X DM outreach campaign, batch send DMs to Twitter users, auto-process pending DM replies, Twitter DM bot, automated Twitter outreach, X direct message automation.

repo: browser-act/skills

लोकप्रियता

GitHub स्टार
6.3k
रैंकिंग में स्थान
#14317
लाइसेंस
MIT
अपडेट की गई
24/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

browser-act-skill-forge

6.3k

आपके एजेंट को एक वेबसाइट एक बार देखकर स्क्रिप्ट के साथ दोबारा इस्तेमाल होने वाली स्किल सहेजने में मदद करती है, ताकि बाद में उस साइट से डेटा तेज़ी से मिले।

प्रोडक्टिविटीऑटोमेशन

browser-act

6.3k

आपके एजेंट को ब्राउज़र ऑटोमेशन टूल चलाने में मदद करती है, ताकि पेज खुलें, रेंडर हुई सामग्री पढ़ी जाए, फ़ॉर्म भरे जाएँ, स्क्रीनशॉट लिए जाएँ और लॉगिन सेशन सँभाले जाएँ।

प्रोडक्टिविटीऑटोमेशन

1688-product-detail

6.3k

आपके एजेंट को 1688.com थोक पेज से उत्पाद का विवरण निकालने में मदद करती है, जैसे कीमत के स्तर, वेरिएंट, विक्रेता के आँकड़े और विशेषताएँ।

डेटावेब स्क्रैपिंग

airbnb-listing-detail

6.3k

आपके एजेंट को उसकी ID से Airbnb लिस्टिंग का सार्वजनिक विवरण लाने में मदद करती है, जैसे तस्वीरें, सुविधाएँ, रेटिंग और घर के नियम।

डेटावेब स्क्रैपिंग

मिलती-जुलती skills