halt-catch-fire/superpowers

twitter-automation

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

Ver código-fonte
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

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

do mesmo repositório

Mais Skills

Todos os Skills
halt-catch-fire
Comunidade

gpt-image

Generate and edit images with OpenAI GPT-Image-2 via inference.sh CLI. Models: GPT-Image-2. Capabilities: text-to-image, image editing, inpainting, mask-based editing, multi-image reference, batch generation. Use for: product mockups, marketing visuals, image editing, concept art, inpainting, photo manipulation. Triggers: gpt image, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image

instalações
2
GitHub Stars
1
Atualizado
12 de ago.
halt-catch-fire
Comunidade

happyhorse

Generate and edit videos with Alibaba HappyHorse 1.0 models via inference.sh CLI. Models: HappyHorse T2V, I2V, R2V, Video Edit. Capabilities: text-to-video, image-to-video, reference-to-video, video editing with natural language, character preservation, 720P/1080P, up to 15 seconds. Use for: physically realistic video, video editing, character-consistent content, product demos, social media. Triggers: happyhorse, happy horse, alibaba video, happyhorse 1.0, dashscope video, alibaba happyhorse, vi

instalações
2
GitHub Stars
1
Atualizado
12 de ago.
halt-catch-fire
Comunidade

p-image

Generate images with Pruna P-Image models via inference.sh CLI. Models: P-Image, P-Image-LoRA, P-Image-Edit, P-Image-Edit-LoRA. Capabilities: text-to-image, image editing, LoRA styles, multi-image compositing, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna, p-image, pruna image, fast image generation, optimized flux, pruna ai, p image, fast ai image, economic image generation, cheap image generation

instalações
2
GitHub Stars
1
Atualizado
12 de ago.
halt-catch-fire
Comunidade

p-video

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

instalações
2
GitHub Stars
1
Atualizado
12 de ago.