Twitter Web AutoPoster for Openclaw

A specialized automation skill that enables AI agents to scrape trends, draft tweets, and publish posts directly to Twitter/X using browser-based interactions.

kelcey2023
v0.1.0
Mar 3, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install twitter-web-autopost

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install twitter-web-autopost using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Twitter Web AutoPoster?

The Twitter Web AutoPoster is a robust automation framework designed for AI agents to interact with the web version of Twitter/X. By utilizing browser tools instead of restricted APIs, this skill allows for natural engagement with the platform, including navigating to the compose page, handling login prompts, and executing the posting workflow. It is a vital component of the Openclaw Skills ecosystem, offering a bridge between LLM-generated content and live social media publishing.

This skill is particularly effective for users who want to maintain an active presence on X without the overhead of manual posting. It supports both manual confirmation and fully autonomous modes, where the agent can research trending topics, synthesize relevant commentary, and post updates entirely on its own while adhering to platform rate limits and safety guidelines.

Twitter Web AutoPoster Use Cases

  • Automatically publishing a specific draft provided by the user to their X account.
  • Researching current trending topics on Twitter and generating reactive posts to drive engagement.
  • Posting periodic summaries or status updates derived from other data sources or research tasks.
  • Managing social media workflows through Openclaw Skills without requiring X API developer tokens.

How Twitter Web AutoPoster Works

  1. Content Generation: The agent receives a prompt or research task and generates several draft options (under 240-280 characters) optimized for X.
  2. Session Initiation: The browser tool is triggered to open x.com using a persistent profile to maintain active login states.
  3. Authentication Check: The agent verifies if the user is logged in; if not, it pauses and prompts the user to complete the login manually for security.
  4. Input Targeting: Using interactive snapshots, the agent locates the tweet composition box (via aria-labels or placeholders) and fills in the text.
  5. Execution: The agent identifies the Post button and simulates a click to publish the content.
  6. Verification: The agent monitors the URL and DOM for a successful state change and extracts the permanent URL of the new post.
  7. Reporting: A final summary is provided to the user, including the tweet content and the direct link to the post.

Twitter Web AutoPoster Setup

To get started with this skill in the Openclaw Skills collection, ensure your environment meets these requirements:

  1. Ensure the OpenClaw Gateway has the browser tool enabled.
  2. Log in to your X account in the browser environment once to save the session profile.
  3. Trigger the skill by using a command in your AI agent interface:
# Example command to trigger the skill
"Draft and post a tweet about the latest Openclaw Skills update to my X account."

Twitter Web AutoPoster Data Schema & Taxonomy

Component Description
browser_profile Uses the openclaw profile to persist cookies and sessions.
compose_url Targets https://x.com/compose/post or /tweet for direct entry.
content_limit Enforces a character count to ensure compatibility with X's UI.
post_metadata Captures the resulting tweet ID and status URL for verification.
selector_logic Dynamic identification of role='textbox' and role='button' elements.

Twitter Web AutoPoster Advanced Features

  • Trend Integration: Automatically scrapes the X trending tab to ensure posts are relevant to current global conversations.
  • Media Support: Utilizes the browser upload tool to attach images or videos to tweets before publishing.
  • Multi-Agent Orchestration: Can be paired with research agents to create a fully automated news-posting pipeline within Openclaw Skills.
  • Smart Retry Logic: Includes automated detection of network errors or UI occlusions with limited retries to avoid triggering platform anti-bot measures.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*