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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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 stepneed_passcode: true→ proceed to step 3 belowon_inbox: trueandinbox_count > 0→ ready, enter business flowon_inbox: truebutinbox_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)
- 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)
browser-act --session <name> state— find indexes of 4<input maxlength=1 pattern=[0-9]*>elements (usually 4 consecutive)- 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
- Must use
browser-act --session <name> wait stable --timeout 10000- Re-run
check-page-state.py, confirmneed_passcode: falseandon_inbox: true - 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:
Scan inbox:
browser-act --session <name> eval "$(python scripts/scan-inbox-merged.py)"Returns
items[], each containingconversation_id/conversation_url/peer_screen_name/peer_display_name/peer_can_dm/latest_message_preview/latest_message_from_self/unread, etc.Filter pending-reply conversations: from
items, select conversations meeting all conditions:unread === true(has unread) orlatest_message_from_self === false(peer's latest message not yet replied)peer_can_dm === true(recipient allows DM)is_muted !== trueandis_deleted_by_viewer !== true- Optional caller filters: only reply to specific screen_names, exclude already-replied (use external JSONL ledger)
For each pending-reply conversation (strictly serial, random
sleep 8-15seconds between each):a. Open conversation:
browser-act --session <name> navigate https://x.com<conversation_url> browser-act --session <name> wait stable --timeout 15000b
अक्सर पूछे जाने वाले सवाल
क्या इसे मेरा 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
कमेंट
- …
इस 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
xurl
394kयह आपके एजेंट को प्रमाणित xurl टूल से X पर पोस्ट करने, जवाब देने, खोजने और पढ़ने, सीधे संदेश भेजने और मीडिया अपलोड करने में मदद करती है।
connections-optimizer
280kयह आपके social network connections बेहतर बनाता है। यह बताता है किसे follow या unfollow करना है और अपने network को बढ़ाने के लिए personalized messages लिखने में मदद करता है।
content-engine
280kयह अलग-अलग platforms के लिए content बनाता है। X, LinkedIn और YouTube जैसे networks पर अच्छे काम करने वाले posts, scripts और content calendars तैयार करने में मदद करता है।