Clawbird X/Twitter Integration for Openclaw

Clawbird is a powerful X/Twitter integration for AI agents, providing full access to post, reply, search, and manage social interactions via the official API v2.

xonder
v1.0.3
Feb 16, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install clawbird

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 clawbird 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 Clawbird X/Twitter Integration?

Clawbird is a robust Openclaw Skills plugin designed to bridge the gap between AI agents and X (formerly Twitter). By leveraging the official X API v2, it enables developers to build agents that can autonomously or semi-autonomously engage with social media. This skill supports everything from posting high-engagement threads to researching real-time trends via advanced search operators.

Security and transparency are core to this integration. Clawbird utilizes OAuth 1.0a for secure user-context operations and provides detailed interaction logs and cost estimations for every action. It is built with zero transitive dependencies beyond essential SDKs, ensuring a lean and auditable codebase for professional environments.

Clawbird X/Twitter Integration Use Cases

  • Automating social media presence by posting scheduled tweets or multi-tweet threads.
  • Building customer support agents that monitor mentions and reply to user inquiries in real-time.
  • Conducting market research using advanced search operators to track hashtags and brand mentions.
  • Managing direct message workflows for lead generation or automated user engagement.
  • Liking and following relevant industry accounts to boost account visibility within Openclaw Skills ecosystem.

How Clawbird X/Twitter Integration Works

  1. The agent authenticates with X using OAuth 1.0a credentials provided through environment variables or configuration.
  2. The agent selects a specific tool (e.g., x_post_tweet or x_search_tweets) based on the user's intent within the Openclaw Skills framework.
  3. Clawbird sends a signed HTTP request to the official api.x.com endpoints.
  4. The integration records the action in a local session log (clawbird-interactions.jsonl) to prevent duplicate actions.
  5. The skill returns a JSON response containing the result, the permanent URL (if applicable), and an estimated API cost.

Clawbird X/Twitter Integration Setup

To install this integration, use npm to add the package to your environment. You will also need to configure your X API credentials as environment variables.

npm install -g @xonder/clawbird

Ensure the following environment variables are set to enable this Openclaw Skills plugin:

  • X_API_KEY
  • X_API_SECRET
  • X_ACCESS_TOKEN
  • X_ACCESS_SECRET
  • X_BEARER_TOKEN (optional, for read-only search)

Clawbird X/Twitter Integration Data Schema & Taxonomy

Clawbird maintains a clean data structure for its operations and provides comprehensive metadata for every interaction.

Data Type Description
Session Log clawbird-interactions.jsonl tracks posts, likes, follows, and DMs in the working directory.
Cost Tracking Each tool returns an estimatedCost field based on current API usage rates.
API Response All tools return structured JSON containing IDs, URLs, and relevant object metadata.

Example Search Result Schema:

  • id: Unique tweet identifier
  • text: Content of the tweet
  • metrics: Engagement counts (likes, retweets, etc.)
  • author: Nested user profile information retrieved via Openclaw Skills.

Clawbird X/Twitter Integration Advanced Features

  • Multi-tweet thread creation with automated reply-chaining via x_post_thread.
  • Support for advanced X search operators (e.g., from:, -is:retweet, lang:) for precise data retrieval.
  • Automated session-scoped interaction logging to ensure agents don't perform duplicate write actions.
  • Real-time API cost estimation and cumulative session spend tracking via x_get_cost_summary.
  • Direct message management including threaded conversation retrieval and outbound messaging.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*