A high-performance gateway for AI agents to access real-time Twitter/X data including tweets, user profiles, and global trends via structured JSON.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install twtapi
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 twtapi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
TwtAPI is a specialized data connector designed to bridge the gap between AI agents and the Twitter/X ecosystem. By utilizing a hosted public skill gateway, it allows developers to empower their agents with the ability to scrape, search, and analyze live social media data without the complexity of managing OAuth flows or scraping logic. This skill is a cornerstone of the Openclaw Skills library, providing a reliable pipeline for social intelligence.
The skill transforms raw social interactions into clean, structured JSON format, making it ideal for LLM processing. Whether you are building a sentiment analysis bot, a news aggregator, or a market research agent, TwtAPI ensures that your agent remains updated with the latest conversations on the platform while maintaining high delivery standards and developer-friendly integration.
First, install the skill using the Openclaw Skills package manager:
clawhub install twtapi
Set your environment variable to authenticate with the gateway:
export TWTAPI_SKILL_KEY="tsk-your-skill-key"
To verify that your setup is working correctly, run the following command to list available tools:
python3 scripts/twtapi.py tools
The skill returns standardized JSON objects representing various Twitter entities. Below are the primary data structures provided by Openclaw Skills via TwtAPI:
| Data Type | Key Fields | Description |
|---|---|---|
| Tweet | id_str, full_text, created_at, favorite_count |
Core tweet content and engagement metrics. |
| User | rest_id, screen_name, description, followers_count |
Full profile details for a specific Twitter handle. |
| Search | items, next_cursor |
A collection of tweets matching a query with pagination support. |
| Trends | name, query, tweet_volume |
Current top trending topics for a specific region. |
from:handle, lang:en, and date ranges directly in the CLI.TWTAPI_SKILL_BASE_URL for self-hosted or private proxy deployments.~/.openclaw/openclaw.json for persistent agent configuration.Loading
A Python-based AI agent skill that integrates with Juhe.cn to provide real-time flight schedules, airport codes, and pricing data.

A specialized generator that transforms job descriptions into fully configured AI assistants for any professional role.

An automated auditing tool that validates AI agent skill designs against five core architectural principles to ensure high-performance and efficient model interaction.

Botlington identifies AI agent token waste and provides a prioritized remediation plan to reduce operational costs.

A powerful bridge for AI agents to interact with running Emacs instances through the emacsctl CLI and specialized ELisp functions.

An AI-powered real-time sales mentor that provides live coaching cards, objection handling, and deal qualification during active meetings.








































