Twitter/X Data (opentwitter) for Openclaw

A powerful API-driven skill for AI agents to query Twitter/X user data, search tweets, and track follower events.

infra403
v0.1.0
Feb 26, 2026
0
8.5k
1

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install opentwitter-2

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 opentwitter-2 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/X Data (opentwitter)?

The opentwitter skill enables seamless access to the Twitter/X platform via the 6551 REST API. By integrating this into Openclaw Skills, developers can empower their AI agents with the ability to retrieve comprehensive user profiles, search for specific keywords or hashtags, and monitor engagement metrics. This skill provides a robust bridge between the real-time social web and automated coding agents or research tools, allowing for sophisticated social media analysis within your local environment.

Twitter/X Data (opentwitter) Use Cases

  • Monitoring Key Opinion Leaders (KOLs) for market sentiment and crypto trends.
  • Tracking brand mentions and specific hashtags to gauge public interest.
  • Identifying new followers or unfollowers to manage social presence dynamically.
  • Recovering historical context through specialized deleted tweet retrieval.
  • Filtering high-engagement content using specific thresholds for likes, replies, and retweets.

How Twitter/X Data (opentwitter) Works

  1. The skill is initialized by providing a valid 6551 API Bearer token through the TWITTER_TOKEN environment variable.
  2. When a command is triggered, the AI agent constructs a POST request to the relevant 6551 endpoint.
  3. The request is sent with the necessary Authorization headers and a JSON payload containing parameters like username or keywords.
  4. The 6551 platform returns structured data reflecting real-time Twitter/X states.
  5. Openclaw Skills parses this response, making the data available for further analysis or automated workflows.

Twitter/X Data (opentwitter) Setup

To get started with this skill in your Openclaw Skills collection, you must first obtain an API token.

  1. Visit 6551.io/mcp to generate your Bearer token.
  2. Configure your environment variable:
export TWITTER_TOKEN="your_token_here"
  1. Ensure curl is installed on your system. On macOS, you can use:
brew install curl

Twitter/X Data (opentwitter) Data Schema & Taxonomy

The skill returns highly structured JSON objects for consistency. Below are the primary data models:

Object Key Fields
Twitter User userId, screenName, name, followersCount, verified
Tweet id, text, createdAt, retweetCount, favoriteCount, hashtags
Follower Event username, isFollow (boolean indicating follow/unfollow)
KOL Discovery username, list of Key Opinion Leader followers

Twitter/X Data (opentwitter) Advanced Features

  • KOL Follower Analysis: Determine the influence of a user by identifying which Key Opinion Leaders follow them.
  • Deleted Tweet Retrieval: Access historical data by querying tweets that have been removed from the live platform.
  • Multi-Parameter Search: Combine minLikes, sinceDate, and lang filters to perform deep data mining.
  • Flexible Product Views: Switch between 'Top' and 'Latest' views to prioritize either engagement or chronological relevance in search results.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*