Agent skill

Twitter Automation

by davepoon in davepoon/buildwithclaude

Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media.

MITAuto-check passedProductivity & Automation

Install Twitter Automation

skills CLI
$ npx skills add davepoon/buildwithclaude --skill twitter-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davepoon/buildwithclaude twitter-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davepoon/buildwithclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/all-skills/skills/twitter-automation .claude/skills/twitter-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
twitter-automation
GitHub stars
3.6k
Used in
7 other repos
Token cost
~2.3k tokens
SKILL.md length
958 words
Files
1
Skills in repo
247
Repo updated
First seen
Licence
MIT

At a glance

Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media.

  • Works in 6 steps: Create and Manage Posts → Search Posts → Look Up Users → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 2 more sections
  • Reaches rube.app

What it does

Twitter Automation is an agent skill from davepoon/buildwithclaude. Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Always search tools first for current schemas.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors. It works with X (Twitter) and Composio. The repository describes itself as: A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors

Example prompts

  • “/twitter-automation”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Create and Manage Posts
  2. Search Posts
  3. Look Up Users
  4. Manage Bookmarks
  5. Manage Lists
  6. Interact with Posts

What it can do on your machine

Read from SKILL.md and the folder at commit 616deb5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    Also links to:

    • composio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Twitter Automation loads about 2.3k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 958 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davepoon/buildwithclaude at commit 616deb5, republished under its MIT licence (© davepoon). 958 words, ~2,251 tokens.

Download SKILL.mdSave it as .claude/skills/twitter-automation/SKILL.md (or your agent's skills folder).
name
twitter-automation
description
Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Always search tools first for current schemas.
requires.mcp
rube
category
social-media

Twitter/X Automation via Rube MCP

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

Toolkit docs: composio.dev/toolkits/twitter

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Twitter connection via RUBE_MANAGE_CONNECTIONS with toolkit twitter
  • Always call RUBE_SEARCH_TOOLS 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 RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS 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. TWITTER_USER_LOOKUP_ME - Get authenticated user info [Prerequisite]
  2. TWITTER_UPLOAD_MEDIA / TWITTER_UPLOAD_LARGE_MEDIA - Upload media [Optional]
  3. TWITTER_CREATION_OF_A_POST - Create a new post [Required]
  4. TWITTER_POST_LOOKUP_BY_POST_ID - Look up a specific post [Optional]
  5. 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 attachments
  • reply__in_reply_to_tweet_id: Tweet ID to reply to
  • quote_tweet_id: 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
  • UPLOAD_LARGE_MEDIA is for videos/GIFs; UPLOAD_MEDIA for images
  • Always call USER_LOOKUP_ME 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. TWITTER_RECENT_SEARCH - Search recent tweets (last 7 days) [Required]
  2. TWITTER_FULL_ARCHIVE_SEARCH - Search full archive (Academic access) [Optional]
  3. TWITTER_RECENT_SEARCH_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
  • start_time/end_time: ISO 8601 time range
  • tweet__fields: Comma-separated fields to include
  • expansions: Related objects to expand

Pitfalls:

  • RECENT_SEARCH covers only the last 7 days; use FULL_ARCHIVE_SEARCH for older tweets
  • FULL_ARCHIVE_SEARCH 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. TWITTER_USER_LOOKUP_ME - Get authenticated user [Optional]
  2. TWITTER_USER_LOOKUP_BY_USERNAME - Look up by username [Optional]
  3. TWITTER_USER_LOOKUP_BY_ID - Look up by user ID [Optional]
  4. TWITTER_USER_LOOKUP_BY_IDS - 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
  • LOOKUP_BY_IDS accepts max 100 IDs per request
4. Manage Bookmarks

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

Tool sequence:

  1. TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTER_BOOKMARKS_BY_USER - List bookmarked posts [Required]
  3. TWITTER_ADD_POST_TO_BOOKMARKS - Bookmark a post [Optional]
  4. TWITTER_REMOVE_A_BOOKMARKED_POST - Remove bookmark [Optional]

Key parameters:

  • id: User ID (from USER_LOOKUP_ME) 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 pagination_token, not next_token
Show full SKILL.md (390 more words)Show less
5. Manage Lists

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

Tool sequence:

  1. TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTER_GET_A_USER_S_OWNED_LISTS - List owned lists [Optional]
  3. TWITTER_GET_A_USER_S_LIST_MEMBERSHIPS - List memberships [Optional]
  4. TWITTER_GET_A_USER_S_PINNED_LISTS - Get pinned lists [Optional]
  5. TWITTER_GET_USER_S_FOLLOWED_LISTS - Get followed lists [Optional]
  6. TWITTER_LIST_LOOKUP_BY_LIST_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. TWITTER_USER_LOOKUP_ME - Get authenticated user ID [Prerequisite]
  2. TWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_ID - Get liked posts [Optional]
  3. TWITTER_UNLIKE_POST - 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 USER_LOOKUP_ME
  • 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

TaskTool SlugKey Params
Create postTWITTER_CREATION_OF_A_POSTtext
Delete postTWITTER_POST_DELETE_BY_POST_IDid
Look up postTWITTER_POST_LOOKUP_BY_POST_IDid
Recent searchTWITTER_RECENT_SEARCHquery
Archive searchTWITTER_FULL_ARCHIVE_SEARCHquery
Search countsTWITTER_RECENT_SEARCH_COUNTSquery
My profileTWITTER_USER_LOOKUP_ME(none)
User by nameTWITTER_USER_LOOKUP_BY_USERNAMEusername
User by IDTWITTER_USER_LOOKUP_BY_IDid
Users by IDsTWITTER_USER_LOOKUP_BY_IDSids
Upload mediaTWITTER_UPLOAD_MEDIAmedia
Upload videoTWITTER_UPLOAD_LARGE_MEDIAmedia
List bookmarksTWITTER_BOOKMARKS_BY_USERid
Add bookmarkTWITTER_ADD_POST_TO_BOOKMARKStweet_id
Remove bookmarkTWITTER_REMOVE_A_BOOKMARKED_POSTtweet_id
Unlike postTWITTER_UNLIKE_POSTtweet_id
Liked postsTWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_IDid
Owned listsTWITTER_GET_A_USER_S_OWNED_LISTSid
List membershipsTWITTER_GET_A_USER_S_LIST_MEMBERSHIPSid
Pinned listsTWITTER_GET_A_USER_S_PINNED_LISTSid
Followed listsTWITTER_GET_USER_S_FOLLOWED_LISTSid
List detailsTWITTER_LIST_LOOKUP_BY_LIST_IDlist_id

Powered by Composio

© davepoon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/all-skills/skills/twitter-automation of davepoon/buildwithclaude.

Open the folder on GitHubat commit 616deb5

Used in 7 other repositories

We found 17 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in davepoon/buildwithclaude, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Twitter Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Twitter Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Twitter Automation this skilldavepoon/buildwithclaude3.6k7 repos~2.3kAutomated safety check: PassMIT
X Researchalsk1992/CloddsBot3k—~700Automated safety check: PassMIT
Composioyc-software/qm15k—~1.6kAutomated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Abuselpdb AutomationComposioHQ/awesome-claude-skills77k3 repos~738Automated safety check: PassNone
Accredible Certificates AutomationComposioHQ/awesome-claude-skills77k3 repos~790Automated safety check: PassNone

Similar skills

  • X Research

    alsk1992/CloddsBot

    X/Twitter research via Composio — search, threads, profiles, watchlists

    3k GitHub stars~700 tokensUpdated 7 days ago
    Productivity & AutomationAuto-check passed
  • Composio

    yc-software/qm

    Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet.

    15k GitHub stars~1.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Abuselpdb Automation

    ComposioHQ/awesome-claude-skills

    Automate Abuselpdb tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~738 tokens
    Productivity & AutomationAuto-check passed
  • Accredible Certificates Automation

    ComposioHQ/awesome-claude-skills

    Automate Accredible Certificates tasks via Rube MCP (Composio).

    77k GitHub starsUsed in 3 repos~790 tokens
    Productivity & AutomationAuto-check passed
  • Composio Cloud Tools

    quarqlabs/argus

    Routes requests to external SaaS apps such as GitHub, Gmail, Google Calendar, Slack, Notion and Linear through cloud tools, with safeguards on irreversible actions.

    279 GitHub stars~543 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed

More from davepoon/buildwithclaude

All 247 skills in this repo
  • iOS Hig Design Guide

    davepoon/buildwithclaude

    Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data.

    3.6k GitHub stars~735 tokensUpdated yesterday
    Auto-check passed
  • Video Downloader

    davepoon/buildwithclaude

    Download YouTube videos with customizable quality and format options.

    3.6k GitHub starsUsed in 1 repo~871 tokens
    Auto-check passed
  • Qwen Vision

    davepoon/buildwithclaude

    A skill your agent uses when the user asks to "analyze video", "watch this video", "what happens in this video", "describe this clip", "review this footage", "classify these videos", "compare…

    3.6k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Atlas Cloud Media

    davepoon/buildwithclaude

    Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling.

    3.6k GitHub stars~852 tokensUpdated yesterday
    Auto-check passed
  • Browser Extension Launch

    davepoon/buildwithclaude

    面向没有编程经验的用户,把想法做成可试用的浏览器插件,并完成检查、商店材料、审核提交和上线验证;也用于继续已有插件、排错和发布新版。用户说“帮我做个插件”“把插件上架”“继续我的插件”时使用。普通网站开发、仅查询插件知识不触发。

    3.6k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Slack Gif Creator

    davepoon/buildwithclaude

    Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.

    3.6k GitHub starsUsed in 12 repos~4.3k tokens
    Auto-check passed

Questions about Twitter Automation

What does Twitter Automation do?

Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media. Twitter Automation is an agent skill from davepoon/buildwithclaude. Automate Twitter/X tasks via Rube MCP (Composio): posts, search, users, bookmarks, lists, media.

When should I use Twitter Automation?

Twitter Automation fits situations like: tasks that involve App automation through connectors.

How do I install Twitter Automation in Claude Code?

Run `npx skills add davepoon/buildwithclaude --skill twitter-automation -a claude-code`. Or copy the skill folder (plugins/all-skills/skills/twitter-automation in davepoon/buildwithclaude) into .claude/skills/twitter-automation in your project. Claude Code loads it when a task matches its description.

How do I install Twitter Automation in Codex?

Run `npx skills add davepoon/buildwithclaude --skill twitter-automation -a codex`. Or copy the skill folder (plugins/all-skills/skills/twitter-automation in davepoon/buildwithclaude) into .agents/skills/twitter-automation in your project. Codex loads it when a task matches its description.

Can I use Twitter Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davepoon/buildwithclaude --skill twitter-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/twitter-automation, .gemini/skills/twitter-automation, .github/skills/twitter-automation and .opencode/skills/twitter-automation in your project.

What does Twitter Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: Twitter Automation is instructions for the agent only.

Does Twitter Automation access the network?

SKILL.md names 2 domains. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. As links in the text: composio.dev. This is read from the text; nothing was executed.

Is Twitter Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Twitter Automation use?

Twitter Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Twitter Automation use?

About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Twitter Automation?

Skills that share tags, products or a category with Twitter Automation: X Research (alsk1992/CloddsBot, 3k stars), Composio (yc-software/qm, 15k stars), Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars) and Abuselpdb Automation (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Twitter Automation?

davepoon (a GitHub user) maintains it in davepoon/buildwithclaude, which has 3,610 GitHub stars. The repository holds 247 skills in this directory. The repository was last updated on October 9, 2026.

Source: davepoon/buildwithclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.