sickn33/agentic-awesome-skills

twitter-automation

Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Always search tools first for current schemas.

First seen Feb 16, 2026

Installation

$ npx skills add sickn33/agentic-awesome-skills --skill twitter-automation

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from sickn33/agentic-awesome-skills · top by installs.

npx skills add sickn33/agentic-awesome-skills

Browse all from sickn33/agentic-awesome-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 46.2K
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 9,298 B
  • docs SUMMARY.md 169 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 131 installs

SKILL.md

Twitter/X Automation via Rube MCP

Automate Twitter/X operations through Composio's Twitter toolkit via Rube MCP.

Prerequisites

  • Rube MCP must be connected (RUBESEARCHTOOLS available)
  • Active Twitter connection via RUBEMANAGECONNECTIONS with toolkit twitter
  • Always call RUBESEARCHTOOLS first to get current tool schemas

Setup

Get 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.

  1. Verify Rube MCP is available by confirming RUBESEARCHTOOLS responds
  2. Call RUBEMANAGECONNECTIONS with toolkit twitter
  3. If connection is not ACTIVE, follow the returned auth link to complete Twitter OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create and Manage Posts

When to use: User wants to create, delete, or look up tweets/posts

Tool sequence:

  1. TWITTERUSERLOOKUP_ME - Get authenticated user info [Prerequisite]
  2. TWITTERUPLOADMEDIA / TWITTERUPLOADLARGE_MEDIA - Upload media [Optional]
  3. TWITTERCREATIONOFAPOST - Create a new post [Required]
  4. TWITTERPOSTLOOKUPBYPOST_ID - Look up a specific post [Optional]
  5. TWITTERPOSTDELETEBYPOST_ID - Delete a post [Optional]

Key parameters:

  • text: Post text content (max 280 weighted characters)
  • media__media_ids: Array of media ID strings for attachments
  • reply__inreplytotweetid: Tweet ID to reply to
  • quotetweetid: Tweet ID to quote
  • id: Post ID for lookup/delete

Pitfalls:

  • Post text is limited to 280 weighted characters; some characters count as more than one
  • Posting is NOT idempotent; retrying on timeout will create duplicate posts
  • Media IDs must be numeric strings, not integers
  • UPLOADLARGEMEDIA is for videos/GIFs; UPLOAD_MEDIA for images
  • Always call USERLOOKUPME first to get the authenticated user's ID

2. Search Posts

When to use: User wants to find tweets matching specific criteria

Tool sequence:

  1. TWITTERRECENTSEARCH - Search recent tweets (last 7 days) [Required]
  2. TWITTERFULLARCHIVE_SEARCH - Search full archive (Academic access) [Optional]
  3. TWITTERRECENTSEARCH_COUNTS - Get tweet count matching query [Optional]

Key parameters:

  • query: Search query using Twitter search operators
  • max_results: Results per page (10-100)
  • next_token: Pagination token
  • starttime/endtime: ISO 8601 time range
  • tweet__fields: Comma-separated fields to include
  • expansions: Related objects to expand

Pitfalls:

  • RECENTSEARCH covers only the last 7 days; use FULLARCHIVE_SEARCH for older tweets
  • FULLARCHIVESEARCH requires Academic Research or Enterprise access
  • Query operators: from:username, to:username, is:retweet, has:media, -is:retweet
  • Empty results return meta.result_count: 0 with no data field
  • Rate limits vary by endpoint and access level; check response headers

3. Look Up Users

When to use: User wants to find or inspect Twitter user profiles

Tool sequence:

  1. TWITTERUSERLOOKUP_ME - Get authenticated user [Optional]
  2. TWITTERUSERLOOKUPBYUSERNAME - Look up by username [Optional]
  3. TWITTERUSERLOOKUPBYID - Look up by user ID [Optional]
  4. TWITTERUSERLOOKUPBYIDS - Batch look up multiple users [Optional]

Key parameters:

  • username: Twitter handle without @ prefix
  • id: Numeric user ID string
  • ids: Comma-separated user IDs for batch lookup
  • user__fields: Fields to return (description, public_metrics, etc.)

Pitfalls:

  • Usernames are case-insensitive but must not include the @ prefix
  • User IDs are numeric strings, not integers
  • Suspended or deleted accounts return errors, not empty results
  • LOOKUPBYIDS accepts max 100 IDs per request

4. Manage Bookmarks

When to use: User wants to save, view, or remove bookmarked tweets

Tool sequence:

  1. TWITTERUSERLOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTERBOOKMARKSBY_USER - List bookmarked posts [Required]
  3. TWITTERADDPOSTTOBOOKMARKS - Bookmark a post [Optional]
  4. TWITTERREMOVEABOOKMARKEDPOST - Remove bookmark [Optional]

Key parameters:

  • id: User ID (from USERLOOKUPME) for listing bookmarks
  • tweet_id: Tweet ID to bookmark or unbookmark
  • max_results: Results per page
  • pagination_token: Token for next page

Pitfalls:

  • Bookmarks require the authenticated user's ID, not username
  • Bookmarks are private; only the authenticated user can see their own
  • Pagination uses paginationtoken, not nexttoken

5. Manage Lists

When to use: User wants to view or manage Twitter lists

Tool sequence:

  1. TWITTERUSERLOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTERGETAUSERSOWNEDLISTS - List owned lists [Optional]
  3. TWITTERGETAUSERSLISTMEMBERSHIPS - List memberships [Optional]
  4. TWITTERGETAUSERSPINNEDLISTS - Get pinned lists [Optional]
  5. TWITTERGETUSERSFOLLOWED_LISTS - Get followed lists [Optional]
  6. TWITTERLISTLOOKUPBYLIST_ID - Get list details [Optional]

Key parameters:

  • id: User ID for listing owned/member/followed lists
  • list_id: List ID for specific list lookup
  • max_results: Results per page (1-100)

Pitfalls:

  • List IDs and User IDs are numeric strings
  • Lists endpoints require the user's numeric ID, not username

6. Interact with Posts

When to use: User wants to like, unlike, or view liked posts

Tool sequence:

  1. TWITTERUSERLOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTERRETURNSPOSTOBJECTSLIKEDBYTHEPROVIDEDUSER_ID - Get liked posts [Optional]
  3. TWITTERUNLIKEPOST - Unlike a post [Optional]

Key parameters:

  • id: User ID for listing liked posts
  • tweet_id: Tweet ID to unlike

Pitfalls:

  • Like/unlike endpoints require user ID from USERLOOKUPME
  • Liked posts pagination may be slow for users with many likes

Common Patterns

Search Query Syntax

Operators:

  • from:username - Posts by user
  • to:username - Replies to user
  • @username - Mentions user
  • #hashtag - Contains hashtag
  • "exact phrase" - Exact match
  • has:media - Contains media
  • has:links - Contains links
  • is:retweet / -is:retweet - Include/exclude retweets
  • is:reply / -is:reply - Include/exclude replies
  • lang:en - Language filter

Combinators:

  • Space for AND
  • OR for either condition
  • - prefix for NOT
  • Parentheses for grouping

Media Upload Flow

1. 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

Known Pitfalls

Character Limits:

  • Standard posts: 280 weighted characters
  • Some Unicode characters count as more than 1
  • URLs are shortened and count as fixed length (23 characters)

Rate Limits:

  • Vary significantly by access tier (Free, Basic, Pro, Enterprise)
  • Free tier: very limited (e.g., 1,500 posts/month)
  • Check x-rate-limit-remaining header in responses

Idempotency:

  • Post creation is NOT idempotent; duplicate posts will be created on retry
  • Implement deduplication logic for automated posting

Quick Reference

Task Tool Slug Key Params
Create post TWITTERCREATIONOFAPOST text
Delete post TWITTERPOSTDELETEBYPOST_ID id
Look up post TWITTERPOSTLOOKUPBYPOST_ID id
Recent search TWITTERRECENTSEARCH query
Archive search TWITTERFULLARCHIVE_SEARCH query
Search counts TWITTERRECENTSEARCH_COUNTS query
My profile TWITTERUSERLOOKUP_ME (none)
User by name TWITTERUSERLOOKUPBYUSERNAME username
User by ID TWITTERUSERLOOKUPBYID id
Users by IDs TWITTERUSERLOOKUPBYIDS ids
Upload media TWITTERUPLOADMEDIA media
Upload video TWITTERUPLOADLARGE_MEDIA media
List bookmarks TWITTERBOOKMARKSBY_USER id
Add bookmark TWITTERADDPOSTTOBOOKMARKS tweet_id
Remove bookmark TWITTERREMOVEABOOKMARKEDPOST tweet_id
Unlike post TWITTERUNLIKEPOST tweet_id
Liked posts TWITTERRETURNSPOSTOBJECTSLIKEDBYTHEPROVIDEDUSER_ID id
Owned lists TWITTERGETAUSERSOWNEDLISTS id
List memberships TWITTERGETAUSERSLISTMEMBERSHIPS id
Pinned lists TWITTERGETAUSERSPINNEDLISTS id
Followed lists TWITTERGETUSERSFOLLOWED_LISTS id
List details TWITTERLISTLOOKUPBYLIST_ID list_id

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.