An end-to-end AI agent skill designed to scan X (Twitter) DM inboxes, read conversation histories, and generate persona-based replies or conduct user outreach campaigns automatically via browser automation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install x-dm-auto-chat
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install x-dm-auto-chat using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The X (Twitter) DM Auto Chat skill is a robust automation component built to streamline private message interactions on X. By merging API metadata with DOM parsing, the skill allows an AI agent to handle the entire lifecycle of direct messaging—from refreshing the inbox and identifying pending replies to reading conversation threads, applying predefined personas, and securely transmitting text-only responses through Chrome DevTools Protocol (CDP) real keyboard events.
This workflow brings programmatic execution to manual browser tasks, making it a powerful addition to your collection of Openclaw Skills. It ensures full alignment with user authentication states, handling built-in features like E2E passcode unlocking, DM permission filtering (such as distinguishing between Allowed and InboxClosed statuses), and rate control to safely emulate human cadence without risking anti-abuse or spam detection flags.
Ensure your X account is logged into the browser with the account menu visible on x.com before initiating. Provide your persona description and the 4-digit DM passcode (if E2E encryption is enabled) to the calling agent.
Execute the skill within your agent's ecosystem to verify tool readiness:
browser-act browser list
python scripts/check-page-state.py
The skill interfaces with underlying Python execution scripts to ingest and output structured JSON payloads. Below is the main taxonomy for scanned inbox metadata items:
| Field Name | Type | Description |
|---|---|---|
conversation_id |
String | Unique colon-separated identifier for the chat channel. |
peer_screen_name |
String | The X handle of the target conversation participant. |
unread |
Boolean | Flags whether there are unread messages requiring attention. |
peer_can_dm_reason |
String | Evaluation status, such as 'Allowed' or 'InboxClosed'. |
All execution tracking, breakpoints, and history logs are maintained externally by the caller using standard JSONL lines to ensure session recovery.
Loading
An automated assistant tool to list Huawei Cloud OBS buckets, query capacity metrics, and calculate download traffic and request count trends with month-over-month comparisons.

A dedicated pipeline to build vertical video ads styled as iMessage conversations with synthesized message sounds.

An expert AI music coach providing personalized piano instruction, theory teaching, practice planning, and comprehensive exam preparation.

An AI-powered utility that converts natural language, code comments, and configuration files into structured Mermaid diagrams.

An AI-driven industrial intelligence agent that builds structured, eight-stage investment attraction action guides based on industry and enterprise data.

Connects your AI agent to Topical's continuous intelligence infrastructure to fetch scheduled updates, trends, and competitive intelligence.








































