Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Always search tools first for current schemas.
Add this skill
npx mdskills install sickn33/twitter-automationComprehensive Twitter automation with clear workflows, detailed pitfalls, and excellent reference tables
Automate Twitter/X operations through Composio's Twitter toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit twitterRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit twitterWhen to use: User wants to create, delete, or look up tweets/posts
Tool sequence:
TWITTER_USER_LOOKUP_ME - Get authenticated user info [Prerequisite]TWITTER_UPLOAD_MEDIA / TWITTER_UPLOAD_LARGE_MEDIA - Upload media [Optional]TWITTER_CREATION_OF_A_POST - Create a new post [Required]TWITTER_POST_LOOKUP_BY_POST_ID - Look up a specific post [Optional]TWITTER_POST_DELETE_BY_POST_ID - Delete a post [Optional]Key parameters:
text: Post text content (max 280 weighted characters)media__media_ids: Array of media ID strings for attachmentsreply__in_reply_to_tweet_id: Tweet ID to reply toquote_tweet_id: Tweet ID to quoteid: Post ID for lookup/deletePitfalls:
When to use: User wants to find tweets matching specific criteria
Tool sequence:
TWITTER_RECENT_SEARCH - Search recent tweets (last 7 days) [Required]TWITTER_FULL_ARCHIVE_SEARCH - Search full archive (Academic access) [Optional]TWITTER_RECENT_SEARCH_COUNTS - Get tweet count matching query [Optional]Key parameters:
query: Search query using Twitter search operatorsmax_results: Results per page (10-100)next_token: Pagination tokenstart_time/end_time: ISO 8601 time rangetweet__fields: Comma-separated fields to includeexpansions: Related objects to expandPitfalls:
from:username, to:username, is:retweet, has:media, -is:retweetmeta.result_count: 0 with no data fieldWhen to use: User wants to find or inspect Twitter user profiles
Tool sequence:
TWITTER_USER_LOOKUP_ME - Get authenticated user [Optional]TWITTER_USER_LOOKUP_BY_USERNAME - Look up by username [Optional]TWITTER_USER_LOOKUP_BY_ID - Look up by user ID [Optional]TWITTER_USER_LOOKUP_BY_IDS - Batch look up multiple users [Optional]Key parameters:
username: Twitter handle without @ prefixid: Numeric user ID stringids: Comma-separated user IDs for batch lookupuser__fields: Fields to return (description, public_metrics, etc.)Pitfalls:
When to use: User wants to save, view, or remove bookmarked tweets
Tool sequence:
TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]TWITTER_BOOKMARKS_BY_USER - List bookmarked posts [Required]TWITTER_ADD_POST_TO_BOOKMARKS - Bookmark a post [Optional]TWITTER_REMOVE_A_BOOKMARKED_POST - Remove bookmark [Optional]Key parameters:
id: User ID (from USER_LOOKUP_ME) for listing bookmarkstweet_id: Tweet ID to bookmark or unbookmarkmax_results: Results per pagepagination_token: Token for next pagePitfalls:
pagination_token, not next_tokenWhen to use: User wants to view or manage Twitter lists
Tool sequence:
TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]TWITTER_GET_A_USER_S_OWNED_LISTS - List owned lists [Optional]TWITTER_GET_A_USER_S_LIST_MEMBERSHIPS - List memberships [Optional]TWITTER_GET_A_USER_S_PINNED_LISTS - Get pinned lists [Optional]TWITTER_GET_USER_S_FOLLOWED_LISTS - Get followed lists [Optional]TWITTER_LIST_LOOKUP_BY_LIST_ID - Get list details [Optional]Key parameters:
id: User ID for listing owned/member/followed listslist_id: List ID for specific list lookupmax_results: Results per page (1-100)Pitfalls:
When to use: User wants to like, unlike, or view liked posts
Tool sequence:
TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]TWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_ID - Get liked posts [Optional]TWITTER_UNLIKE_POST - Unlike a post [Optional]Key parameters:
id: User ID for listing liked poststweet_id: Tweet ID to unlikePitfalls:
Operators:
from:username - Posts by userto:username - Replies to user@username - Mentions user#hashtag - Contains hashtag"exact phrase" - Exact matchhas:media - Contains mediahas:links - Contains linksis:retweet / -is:retweet - Include/exclude retweetsis:reply / -is:reply - Include/exclude replieslang:en - Language filterCombinators:
OR for either condition- prefix for NOT1. Upload media with TWITTER_UPLOAD_MEDIA (images) or TWITTER_UPLOAD_LARGE_MEDIA (video/GIF)
2. Get media_id from response
3. Pass media_id as string in media__media_ids array to TWITTER_CREATION_OF_A_POST
Character Limits:
Rate Limits:
x-rate-limit-remaining header in responsesIdempotency:
| Task | Tool Slug | Key Params |
|---|---|---|
| Create post | TWITTER_CREATION_OF_A_POST | text |
| Delete post | TWITTER_POST_DELETE_BY_POST_ID | id |
| Look up post | TWITTER_POST_LOOKUP_BY_POST_ID | id |
| Recent search | TWITTER_RECENT_SEARCH | query |
| Archive search | TWITTER_FULL_ARCHIVE_SEARCH | query |
| Search counts | TWITTER_RECENT_SEARCH_COUNTS | query |
| My profile | TWITTER_USER_LOOKUP_ME | (none) |
| User by name | TWITTER_USER_LOOKUP_BY_USERNAME | username |
| User by ID | TWITTER_USER_LOOKUP_BY_ID | id |
| Users by IDs | TWITTER_USER_LOOKUP_BY_IDS | ids |
| Upload media | TWITTER_UPLOAD_MEDIA | media |
| Upload video | TWITTER_UPLOAD_LARGE_MEDIA | media |
| List bookmarks | TWITTER_BOOKMARKS_BY_USER | id |
| Add bookmark | TWITTER_ADD_POST_TO_BOOKMARKS | tweet_id |
| Remove bookmark | TWITTER_REMOVE_A_BOOKMARKED_POST | tweet_id |
| Unlike post | TWITTER_UNLIKE_POST | tweet_id |
| Liked posts | TWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_ID | id |
| Owned lists | TWITTER_GET_A_USER_S_OWNED_LISTS | id |
| List memberships | TWITTER_GET_A_USER_S_LIST_MEMBERSHIPS | id |
| Pinned lists | TWITTER_GET_A_USER_S_PINNED_LISTS | id |
| Followed lists | TWITTER_GET_USER_S_FOLLOWED_LISTS | id |
| List details | TWITTER_LIST_LOOKUP_BY_LIST_ID | list_id |
Install via CLI
npx mdskills install sickn33/twitter-automationTwitter Automation is a free, open-source AI agent skill. Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Always search tools first for current schemas.
Install Twitter Automation with a single command:
npx mdskills install sickn33/twitter-automationThis downloads the skill files into your project and your AI agent picks them up automatically.
Twitter Automation works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.