twitter-automation

作者: qu-skills

通过inference.sh CLI实现Twitter/X的自动化发帖、互动和用户管理。应用:x/post-tweet、x/post-create(支持媒体)、x/post-like、x/post-retweet、x/dm-send、x/user-follow。功能:发布推文、安排内容、点赞推文、转发、发送私信、关注用户、获取个人资料。用途:社交媒体自动化、内容排期、互动机器人、受众增长、X API。触发词:twitter api、x api、推文自动化、发布到twitter、twitter机器人、社交媒体自动化、x...

npx skills add https://github.com/qu-skills/skills --skill twitter-automation

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

来自 qu-skills 的更多技能

ai-video-generation
qu-skills
通过 inference.sh CLI,使用 Google Veo、Seedance 2.0、HappyHorse、Wan、Grok 及 40 多个模型生成 AI 视频。模型包括:Veo 3.1、Veo 3、Seedance 2.0、HappyHorse 1.0、Wan 2.5、Grok Imagine Video、OmniHuman、Fabric、HunyuanVideo。功能涵盖:文本转视频、图像转视频、参考转视频、视频编辑、唇形同步、虚拟形象动画、视频增强、拟音音效。适用于:社交媒体视频、营销内容、解说视频、产品演示、AI 虚拟形象。触发词:视频生成、AI 视频……
videocreativemedia
remotion-render
qu-skills
通过inference.sh从React/Remotion组件代码渲染视频。传入TSX代码,获取MP4文件。支持所有Remotion API:useCurrentFrame、useVideoConfig、spring、interpolate、AbsoluteFill、Sequence。可配置分辨率、帧率、时长、编码器。用途:程序化视频生成、动画图形、动态设计、数据驱动视频、React动画转视频。触发词:remotion、从代码渲染视频、tsx转视频、react视频、程序化视频、remotion渲染、代码转视频、动画...
developmentvideocreative
ai-image-generation
qu-skills
通过 inference.sh CLI 使用 GPT-Image-2、FLUX、Gemini、Grok、Seedream、Reve 及 50 多个模型生成 AI 图像。模型包括:GPT-Image-2、FLUX Dev LoRA、FLUX.2 Klein LoRA、Gemini 3 Pro Image、Grok Imagine、Seedream 4.5、Reve、ImagineArt。功能:文本转图像、图像转图像、修复、LoRA、图像编辑、放大、文本渲染。用途:AI 艺术、产品模型、概念艺术、社交媒体图形、营销视觉、插图。触发词:flux、图像生成、AI 图像、文本转...
creativemediaimage
ai-avatar-video
qu-skills
通过inference.sh CLI创建AI虚拟形象和说话头像视频。推荐:P-Video-Avatar(最快、最便宜、内置TTS)。其他选项:OmniHuman、Fabric、PixVerse。音频:Inworld TTS-2(支持100多种语言、角色情感控制)、ElevenLabs、Kokoro。功能:音频驱动虚拟形象、文本转虚拟形象、唇形同步视频、说话头像生成、虚拟主持人、UGC内容。用途:AI主持人、解说视频、虚拟网红、配音、营销视频、UGC广告、游戏虚拟形象……
videocreativemedia
agent-browser
qu-skills
通过inference.sh为AI代理提供浏览器自动化功能。可导航网页、使用@e引用与元素交互、截图、录制视频。能力包括:网页抓取、表单填写、点击、输入、拖放、文件上传、JavaScript执行。适用于:网页自动化、数据提取、测试、代理浏览、研究。触发词:浏览器、网页自动化、抓取、导航、点击、填写表单、截图、浏览网页、playwright、无头浏览器、网页代理、上网、录制视频
browser-automationweb-scrapingtesting
web-search
qu-skills
通过inference.sh CLI使用Tavily和Exa进行网络搜索与内容提取。应用:Tavily搜索、Tavily提取、Exa搜索、Exa回答、Exa提取。功能:AI驱动搜索、内容提取、直接回答、研究。用途:研究、RAG管道、事实核查、内容聚合、智能体。触发词:网络搜索、tavily、exa、搜索API、内容提取、研究、互联网搜索、AI搜索、搜索助手、网页抓取、rag、perplexity替代方案
researchweb-scrapingapi
agent-tools
qu-skills
通过inference.sh CLI运行250多个AI应用——图像生成、视频创作、大语言模型、搜索、3D、Twitter自动化。模型包括:FLUX、Veo、Gemini、Grok、Claude、Seedance、OmniHuman、Tavily、Exa、OpenRouter等。适用于运行AI应用、生成图像/视频、调用大语言模型、网络搜索或自动化Twitter操作。触发词:inference.sh、infsh、ai model、run ai、serverless ai、ai api、flux、veo、claude api、image generation、video generation、openrouter、tavily、exa search、twitter api、grok
developmentapicreative
python-executor
qu-skills
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh). Pre-installed: NumPy, Pandas, Matplotlib, requests, BeautifulSoup, Selenium, Playwright, MoviePy, Pillow, OpenCV, trimesh, and 100+ more libraries. Use for: data processing, web scraping, image manipulation, video creation, 3D model processing, PDF generation, API calls, automation scripts. Triggers: python, execute code, run script, web scraping, data analysis, image processing, video editing, 3D...
developmentdata-analysisweb-scraping