skills-shell/superpowers

twitter-automation

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

ソースを見る
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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

Twitter/X Automation

Automate Twitter/X via inference.sh CLI.

Twitter/X Automation
Twitter/X Automation

Quick Start

Requires inference.sh CLI (belt). Install instructions
bash
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

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

Post with Media

bash
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

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

Retweet

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

Send a DM

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

Follow a User

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

Get User Profile

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

Get Tweet Details

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

Delete a Tweet

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

Workflow: Generate AI Image and Post

bash
# 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

bash
# 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

bash
# 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

同じリポジトリから

関連する Skills

すべての Skills
skills-shell
コミュニティ

ai-image-generation

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, st

導入数
27.4万
GitHub Stars
0
更新日
9月2日
skills-shell
コミュニティ

ai-video-generation

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text t

導入数
27.4万
GitHub Stars
0
更新日
9月2日
skills-shell
コミュニティ

ai-avatar-video

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC di

導入数
27.4万
GitHub Stars
0
更新日
9月2日
skills-shell
コミュニティ

agent-browser

Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video

導入数
1866
GitHub Stars
0
更新日
9月2日