twitter-openclaw
Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/annettemekuro30/x-twitterWhat This Skill Does
The twitter-openclaw skill empowers your OpenClaw agent with full-scale capabilities to interact with the Twitter/X platform. It bridges the gap between static AI models and real-time social data, enabling your agent to act as a social media manager, research assistant, or community engagement tool. With this skill, your agent can read tweets, follow conversations in real-time, perform complex searches, and manage account-level actions like posting, liking, retweeting, or managing lists.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/annettemekuro30/x-twitter
Ensure you have configured your credentials by setting the TWITTER_BEARER_TOKEN as an environment variable. For write operations, make sure to also export TWITTER_API_KEY and TWITTER_API_SECRET. Use twclaw auth-check to verify your setup.
Use Cases
- Automated Social Intelligence: Automatically summarize hot topics in your niche using the search and trending commands.
- Engagement Management: Program your agent to reply to mentions, bookmark important threads for later review, or curate lists of experts.
- Data Research: Perform sentiment analysis or trend tracking by fetching user profiles and recent tweets into a JSON format for deeper AI processing.
- Content Curation: Monitor specific lists to retweet valuable information automatically or to keep a pulse on industry influencers.
Example Prompts
- "Check for new mentions from the last 10 notifications and summarize the sentiment of each one."
- "Search for the latest tweets about 'Open Source AI' from the last hour, ignore retweets, and provide a list of the top 3 most discussed topics."
- "Follow the account @openclaw_ai, list their last 5 tweets, and bookmark any that contain a link to their documentation."
Tips & Limitations
- Rate Limiting: Twitter APIs have strict rate limits. When using the
--allflag or large-ncounts, be mindful of your account's API tier limits to avoid temporary account suspension. - Authentication: Keep your API keys secure. Never commit them to version control systems.
- Error Handling: If an operation fails, check your API permissions. Some account actions (like direct messages or private list management) may require elevated API access levels beyond the standard bearer token.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-annettemekuro30-x-twitter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, data-collection