Automate and manage Twitter/X accounts by posting, scheduling, replying, analyzing, tracking trends, managing followers, and handling media and analytics.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install twitter-operations或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install twitter-operations⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/twitter-operations/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
{ "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 } }
安装 Twitter Operations 后,可以对 AI 说这些话来触发它
Help me get started with Twitter Operations
Explains what Twitter Operations does, walks through the setup, and runs a quick demo based on your current project
Use Twitter Operations to automate and manage Twitter/X accounts by posting, scheduling, repl...
Invokes Twitter Operations with the right parameters and returns the result directly in the conversation
What can I do with Twitter Operations in my marketing & growth workflow?
Lists the top use cases for Twitter Operations, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/twitter-operations/ 目录(个人级,所有项目可用),或 .claude/skills/twitter-operations/(项目级)。重启 AI 客户端后,用 /twitter-operations 主动调用,或让 AI 根据上下文自动发现并使用。
Twitter Operations 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Twitter Operations 可免费安装使用。请查阅仓库了解许可证信息。
Automate and manage Twitter/X accounts by posting, scheduling, replying, analyzing, tracking trends, managing followers, and handling media and analytics.
Twitter Operations 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Twitter Operations
Identifies repetitive steps in your workflow and sets up Twitter Operations to handle them automatically