PluginBench
Skill
Review
Audit score 70

twitter-automation

101-skills/superpowers

Automate Twitter/X posting, engagement, and user management via inference.sh CLI.

What is twitter-automation?

Automate Twitter/X tasks including posting tweets, liking, retweeting, sending DMs, and following users through the inference.sh CLI. Use this for social media automation, content scheduling, engagement workflows, and audience growth on X/Twitter.

  • Post text tweets and media-rich content
  • Like posts and retweet content
  • Send direct messages to users
  • Follow users and retrieve user profiles
  • Delete tweets and retrieve tweet details
  • Schedule and automate engagement workflows

How to install twitter-automation

npx skills add https://github.com/101-skills/superpowers --skill twitter-automation
Prerequisites
  • inference.sh CLI (belt) installed and configured
  • Twitter/X API credentials and integration set up with inference.sh
  • Valid Twitter/X account with API access enabled
Claude Code
Cursor
Windsurf
Cline

How to use twitter-automation

  1. 1.Run `belt login` to authenticate with inference.sh
  2. 2.Use `belt app run x/post-tweet --input '{"text": "Your tweet here"}'` to post a tweet
  3. 3.For media posts, use `x/post-create` with a media_url parameter
  4. 4.Use `x/post-like`, `x/post-retweet`, `x/dm-send`, and `x/user-follow` apps for engagement actions
  5. 5.Chain multiple apps together in workflows (e.g., generate image, then post with media)
  6. 6.Run `belt app list` to see all available X/Twitter apps

Use cases

Good for
  • Automatically post AI-generated images or videos to Twitter with captions
  • Build engagement bots that like and retweet content from target accounts
  • Send bulk DMs to new followers or engaged users
  • Schedule daily content posts across multiple tweets
  • Retrieve user profile data and tweet metrics for analytics
Who it's for
  • Social media managers automating content distribution
  • Content creators posting AI-generated media
  • Growth hackers building engagement automation
  • Developers building Twitter bots and integrations
  • Marketing teams managing multi-account posting

twitter-automation FAQ

Do I need Twitter API credentials?

Yes, you need a valid Twitter/X account with API access enabled and must set up the X.com integration in inference.sh.

Can I schedule tweets for later?

The skill provides posting capabilities; scheduling depends on inference.sh's scheduling features. Check the inference.sh documentation for scheduling options.

Can I post videos to Twitter?

Yes, use the `x/post-create` app with a media_url parameter pointing to a video URL, or chain it with video generation apps like `google/veo-3-1-fast`.

What rate limits apply?

Rate limits are determined by Twitter/X API and your inference.sh plan. Monitor API usage to avoid hitting limits.

Can I automate DMs and follows?

Yes, use `x/dm-send` to send direct messages and `x/user-follow` to follow users programmatically.

Full instructions (SKILL.md)

Source of truth, from 101-skills/superpowers.


name: twitter-automation description: "Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet" allowed-tools: Bash(belt *)

Install the belt CLI skill: npx skills add belt-sh/cli

Twitter/X Automation

Automate Twitter/X via inference.sh CLI.

Twitter/X Automation

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Post a tweet
belt app run x/post-tweet --input '{"text": "Hello from inference.sh!"}'

Available Apps

AppApp IDDescription
Post Tweetx/post-tweetPost text tweets
Create Postx/post-createPost with media
Like Postx/post-likeLike a tweet
Retweetx/post-retweetRetweet a post
Delete Postx/post-deleteDelete a tweet
Get Postx/post-getGet tweet by ID
Send DMx/dm-sendSend direct message
Follow Userx/user-followFollow a user
Get Userx/user-getGet user profile

Examples

Post a Tweet

belt app run x/post-tweet --input '{"text": "Just shipped a new feature! 🚀"}'

Post with Media

belt app sample x/post-create --save input.json

# Edit input.json:
# {
#   "text": "Check out this AI-generated image!",
#   "media_url": "https://your-image-url.jpg"
# }

belt app run x/post-create --input input.json

Like a Tweet

belt app run x/post-like --input '{"tweet_id": "1234567890"}'

Retweet

belt app run x/post-retweet --input '{"tweet_id": "1234567890"}'

Send a DM

belt app run x/dm-send --input '{
  "recipient_id": "user_id_here",
  "text": "Hey! Thanks for the follow."
}'

Follow a User

belt app run x/user-follow --input '{"username": "elonmusk"}'

Get User Profile

belt app run x/user-get --input '{"username": "OpenAI"}'

Get Tweet Details

belt app run x/post-get --input '{"tweet_id": "1234567890"}'

Delete a Tweet

belt app run x/post-delete --input '{"tweet_id": "1234567890"}'

Workflow: Generate AI Image and Post

# 1. Generate image
belt app run falai/flux-dev-lora --input '{"prompt": "sunset over mountains"}' > image.json

# 2. Post to Twitter with the image URL
belt app run x/post-create --input '{
  "text": "AI-generated art of a sunset 🌅",
  "media_url": "<image-url-from-step-1>"
}'

Workflow: Generate and Post Video

# 1. Generate video
belt app run google/veo-3-1-fast --input '{"prompt": "waves on a beach"}' > video.json

# 2. Post to Twitter
belt app run x/post-create --input '{
  "text": "AI-generated video 🎬",
  "media_url": "<video-url-from-step-1>"
}'

Related Skills

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# Image generation (create images to post)
npx skills add inference-sh/skills@ai-image-generation

# Video generation (create videos to post)
npx skills add inference-sh/skills@ai-video-generation

# AI avatars (create presenter videos)
npx skills add inference-sh/skills@ai-avatar-video

Browse all apps: belt app list

Documentation