twitter-operationsAutomate and manage Twitter/X accounts by posting, scheduling, replying, analyzing, tracking trends, managing followers, and handling media and analytics.
Install via ClawdBot CLI:
clawdbot install millymilton/twitter-operations{
"name": "twitter_operations",
"description": "Comprehensive Twitter/X platform automation and management",
"version": "1.0.0",
"category": "social_media",
"enabled": true,
"triggers": ["twitter", "tweet", "x.com", "social media", "twitter api"],
"capabilities": [
"Post tweets and threads",
"Schedule tweets for optimal engagement times",
"Reply to mentions and direct messages",
"Search tweets by keywords, hashtags, or users",
"Monitor trending topics and hashtags",
"Analyze tweet performance and engagement metrics",
"Follow/unfollow users based on criteria",
"Like and retweet content",
"Create and manage Twitter lists",
"Track follower growth and analytics",
"Implement Twitter bot functionality",
"Scrape tweets and user profiles",
"Generate tweet content with optimal hashtags",
"Manage multiple Twitter accounts",
"Monitor brand mentions and sentiment",
"Auto-reply to specific keywords or patterns",
"Archive tweets and user data",
"Create Twitter polls",
"Upload and manage media (images, videos, GIFs)",
"Implement rate limiting and API quota management",
"Handle Twitter authentication (OAuth 1.0a/2.0)",
"Parse and format tweet metadata",
"Export analytics to CSV/JSON",
"Real-time streaming of tweets",
"Detect and respond to specific user interactions",
"Bulk operations (mass follow/unfollow/block)",
"Twitter Spaces monitoring and participation",
"Community management and moderation",
"Hashtag performance tracking",
"Competitor account monitoring"
],
"parameters": {
"api_version": "v2",
"auth_type": "oauth2",
"rate_limit_mode": "conservative",
"max_tweets_per_request": 100,
"default_tweet_count": 10,
"retry_attempts": 3,
"timeout_seconds": 30,
"media_upload_max_size_mb": 5,
"thread_delay_seconds": 2,
"auto_hashtag_limit": 5,
"sentiment_analysis": true,
"enable_streaming": false,
"archive_tweets": true
},
"dependencies": [
"tweepy>=4.14.0",
"python-twitter-v2>=0.9.0",
"requests>=2.31.0",
"requests-oauthlib>=1.3.1",
"python-dotenv>=1.0.0",
"pandas>=2.0.0",
"beautifulsoup4>=4.12.0",
"schedule>=1.2.0",
"textblob>=0.17.1",
"Pillow>=10.0.0"
],
"configuration": {
"credentials_file": "~/.openclaw/twitter_credentials.json",
"cache_dir": "~/.openclaw/cache/twitter",
"log_file": "~/.openclaw/logs/twitter.log",
"archive_dir": "~/.openclaw/archives/twitter"
},
"api_endpoints": {
"tweet": "/2/tweets",
"search": "/2/tweets/search/recent",
"users": "/2/users",
"timeline": "/2/users/:id/tweets",
"likes": "/2/users/:id/likes",
"retweets": "/2/tweets/:id/retweets",
"followers": "/2/users/:id/followers",
"following": "/2/users/:id/following",
"spaces": "/2/spaces",
"lists": "/2/lists",
"media": "/1.1/media/upload"
},
"examples": [
{
"action": "post_tweet",
"description": "Post a simple tweet",
"command": "openclaw twitter post 'Hello from OpenClaw! #automation'"
},
{
"action": "post_thread",
"description": "Post a Twitter thread",
"command": "openclaw twitter thread 'Thread part 1' 'Thread part 2' 'Thread part 3'"
},
{
"action": "search_tweets",
"description": "Search for recent tweets",
"command": "openclaw twitter search '#AI OR #MachineLearning' --count 50"
},
{
"action": "get_trends",
"description": "Get trending topics",
"command": "openclaw twitter trends --location 'United States'"
},
{
"action": "analyze_account",
"description": "Analyze a Twitter account",
"command": "openclaw twitter analyze @username --metrics engagement,growth"
},
{
"action": "schedule_tweet",
"description": "Schedule a tweet for later",
"command": "openclaw twitter schedule 'My scheduled tweet' --time '2026-02-03 10:00'"
},
{
"action": "auto_reply",
"description": "Set up auto-reply for mentions",
"command": "openclaw twitter auto-reply --keywords 'support,help' --message 'Thanks for reaching out!'"
},
{
"action": "monitor_mentions",
"description": "Monitor brand mentions in real-time",
"command": "openclaw twitter monitor @brandname --alert-webhook https://hooks.example.com"
},
{
"action": "export_analytics",
"description": "Export tweet analytics",
"command": "openclaw twitter analytics --days 30 --format csv --output ~/twitter_stats.csv"
},
{
"action": "manage_followers",
"description": "Follow users based on criteria",
"command": "openclaw twitter follow --search '#devops' --min-followers 100 --limit 20"
}
],
"error_handling": {
"rate_limit_exceeded": "Wait and retry with exponential backoff",
"authentication_failed": "Check credentials in configuration file",
"invalid_tweet": "Validate tweet length and media before posting",
"network_error": "Retry with timeout increase",
"api_deprecated": "Update to latest API version"
},
"best_practices": [
"Always respect Twitter's rate limits and terms of service",
"Store API credentials securely in environment variables or encrypted files",
"Implement proper error handling and logging",
"Use webhook notifications for important events",
"Cache frequently accessed data to reduce API calls",
"Validate tweet content before posting",
"Monitor API usage to avoid hitting quotas",
"Implement gradual ramping for automated actions",
"Add delays between bulk operations to appear more human-like",
"Regularly backup important tweet data and analytics"
],
"security": {
"credential_encryption": true,
"api_key_rotation": "recommended",
"oauth_token_refresh": "automatic",
"sensitive_data_filtering": true,
"audit_logging": true
}
}
Generated Mar 1, 2026
Small businesses can use this skill to automate posting, schedule tweets during peak hours, and monitor brand mentions to engage with customers. It helps maintain an active online presence without manual effort, boosting visibility and customer interaction.
Marketing agencies can leverage this skill to run targeted campaigns by searching hashtags, analyzing engagement metrics, and auto-replying to leads. It enables efficient management of multiple client accounts and real-time performance tracking.
Influencers can automate interactions like liking, retweeting, and following users based on criteria to grow their audience. The skill also helps track follower growth and sentiment, allowing for data-driven content strategies.
Startups can monitor competitor accounts, track trending topics, and scrape user profiles to gather market insights. This aids in strategic decision-making and identifying opportunities for innovation and engagement.
Offer this skill as part of a SaaS platform where users pay a monthly fee for automated Twitter management features like scheduling, analytics, and monitoring. Revenue comes from tiered subscriptions based on usage limits and advanced capabilities.
Provide basic automation for free, such as simple tweet posting and search, while charging for premium features like bulk operations, real-time streaming, and advanced analytics. This model attracts a wide user base and upsells power users.
License this skill to marketing agencies as a white-label tool they can rebrand and offer to their clients. Revenue is generated through licensing fees and support contracts, enabling agencies to enhance their service offerings.
💬 Integration Tip
Ensure API credentials are securely stored using environment variables, and implement rate limiting to avoid hitting Twitter's quotas, which helps maintain service reliability and compliance.
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
Browse, search, post, and moderate Reddit. Read-only works without auth; posting/moderation requires OAuth setup.
Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
Search YouTube videos, get channel info, fetch video details and transcripts using YouTube Data API v3 via MCP server or yt-dlp fallback.