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- 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
How to use twitter-automation
- 1.Run `belt login` to authenticate with inference.sh
- 2.Use `belt app run x/post-tweet --input '{"text": "Your tweet here"}'` to post a tweet
- 3.For media posts, use `x/post-create` with a media_url parameter
- 4.Use `x/post-like`, `x/post-retweet`, `x/dm-send`, and `x/user-follow` apps for engagement actions
- 5.Chain multiple apps together in workflows (e.g., generate image, then post with media)
- 6.Run `belt app list` to see all available X/Twitter apps
Use cases
- 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
- 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
Yes, you need a valid Twitter/X account with API access enabled and must set up the X.com integration in inference.sh.
The skill provides posting capabilities; scheduling depends on inference.sh's scheduling features. Check the inference.sh documentation for scheduling options.
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`.
Rate limits are determined by Twitter/X API and your inference.sh plan. Monitor API usage to avoid hitting limits.
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.

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
| App | App ID | Description |
|---|---|---|
| Post Tweet | x/post-tweet | Post text tweets |
| Create Post | x/post-create | Post with media |
| Like Post | x/post-like | Like a tweet |
| Retweet | x/post-retweet | Retweet a post |
| Delete Post | x/post-delete | Delete a tweet |
| Get Post | x/post-get | Get tweet by ID |
| Send DM | x/dm-send | Send direct message |
| Follow User | x/user-follow | Follow a user |
| Get User | x/user-get | Get 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
- X.com Integration - Setting up Twitter/X integration
- X.com Integration Example - Complete Twitter workflow
- Apps Overview - Understanding the app ecosystem
Related skills
More from 101-skills/superpowers and the wider catalog.

video-ad-specs
Platform-specific video ad specs and creation templates for TikTok, Instagram, YouTube, Facebook, and LinkedIn.

web-search
Web search and content extraction via Tavily and Exa APIs through inference.sh CLI.

youtube-thumbnail-design
Design high-CTR YouTube thumbnails with AI image generation, safe zones, and psychology-backed composition rules.

agent-browser
Browser automation for AI agents with element refs and video recording via inference.sh

openclaw-stock-skill
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

deep-research
Multi-source research with citation tracking, evidence persistence, and structured report generation.