Skip to content
twitter-automation logo

Twitter/X Automation

twitter-automation

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

inferen-sh/skills97Kinstalls760starsAutomation

SKILL.md

Full skill instructions

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 store

Documentation

More Automation skills

Daily schedule and task summary combining calendar events and pending to-dos for a specified date.

17.5K 451.2K
View

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
playwright-cli logo
Automation

playwright-cli

Browser automation with 40+ commands for navigation, interaction, form filling, and web testing.

13.8K 175.3K
View

Launch Chromium with real-device fingerprints for multi-account operations, web scraping, and AI agent automation.

883 111.7K
View
firecrawl logo
Automation

firecrawl

Web scraping, search, crawling, and browser automation with LLM-optimized markdown output.

644 102.7K
View
browser-use logo
Automation

browser-use

Fast, persistent browser automation with session continuity across sequential agent commands.

117.2K 96.7K
View
agents-sdk logo
Automation

agents-sdk

Build stateful AI agents on Cloudflare Workers with persistent state, RPC methods, scheduling, and workflow orchestration.

3K 88K
View
turborepo logo
Automation

turborepo

Monorepo build system with intelligent task caching, parallel execution, and dependency graph orchestration.

31.2K 78.6K
View

Agents & automation AI tools

K
Agents & automation

Komos AI

A tool to turn screen demos into automated workflows.

Freemium
View
Microsoft Power Automate logo
Agents & automation

Microsoft Power Automate

Automate Your Business Processes Effortlessly with Microsoft Power Automate

Free
View
Agentgpt logo
Agents & automation

Agentgpt

Deploy autonomous AI Agents effortlessly in your browser.

Free
View
Cheat Layer logo
Agents & automation

Cheat Layer

Automate Your Business with Cheat Layer's Cutting-Edge AI

Paid
View
Magical AI logo
Agents & automation

Magical AI

Get sh*t done faster with AI-powered writing and task automation.

Free
View
MagicFlow logo
Agents & automation

MagicFlow

Create AI workflows with drag-and-drop simplicity.

Free
View
PixieBrix logo
Agents & automation

PixieBrix

Extend your apps, accelerate work

Paid
View