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
1How It Works & Mechanism
The implementation mechanism relies on a 'whitelisted CLI template set' rather than local code: the frontmatter restricts host shell execution permissions solely to belt (the inference.sh CLI). The SKILL.md body consists entirely of command templates in the format of 'belt app run x/… --input …', where the agent populates the user's requirements into the --input JSON, and the host Bash executes it on its behalf.
allowed-tools: Bash(belt *)
Capability boundary = 'Available Apps' catalog: 8 platform apps under x/* (post tweet, media post, like, retweet, delete post, get post, send DM, follow user, get user) constitute all performable actions. The actual X API implementation (OAuth, network requests, rate limiting) is handled on the inference.sh platform side; this skill only sees app-ids and JSON parameters.
| Post Tweet | `x/post-tweet` | Post text tweets |
Invocation is automatically triggered by the model: the description embeds a broad vocabulary of Triggers (twitter api / tweet automation / post to twitter / x automation / tweet scheduler …). This skill does not declare any 'manual-only' flags such as disable-model-invocation, meaning it can be automatically invoked whenever related phrases appear in the conversation.
Triggers: twitter api, x api, tweet automation, post to twitter
'Generate → Publish' workflows are implemented through two-step chaining: first, run an image/video generation app to obtain an output URL (demonstrated using shell redirection > image.json to write to disk), then pass the URL as media_url to x/post-create to publish a media post.
belt app run falai/flux-dev-lora --input '{"prompt": "sunset over mountains"}' > image.json
Interconnected ecosystem bootstrapping: the Related Skills section uses `npx skills add inference-sh/skills@<skill>` to guide the installation of underlying or sibling skills (full infsh-cli, ai-image-generation, ai-video-generation, ai-avatar-video), directly embedding package installation instructions into the prompt provided to the model.
npx skills add inference-sh/skills@ai-video-generation
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | belt(inference.sh CLI) |
| package | belt-sh/cli(belt CLI 的 skill 包,npx skills add 安装) |
| package | inference-sh/skills 相关技能包(npx skills add inference-sh/skills@…) |
| network | inference.sh 平台(x/* app 执行与文档) |
| network | 安装说明托管(cli-install.md) |
| network | 横幅示例图(cloud.inference.sh 静态文件) |
4Recommended Governance & Evidence
- 网络端点: Declares external network access: platform belt CLI → inference.sh platform (x/* apps invoke the X API platform-side) ['inference.sh', '
- 本地工作目录: File I/O and artifact output: local side effects in example commands: `> image.json` / `> video.json` shell redirection, and `belt app sample x/p
- SKILL.md: Declares invocation of host CLI interpreter or external runtime environment
5Second-Pass Verification
- [discrepancy] description 声称支持 schedule content / content scheduling / tweet scheduler — grep 全文:schedul* 仅出现在第 3 行 description 字符串内;Available Apps 表 9 个 app 与全部示例均无任何定时/调度命令。真正调度需宿主外部定时机制,本 skill 无法兑现该宣称。
- [ok] post/like/retweet/DM/follow/get/delete 能力与 app 表一一对应 — Apps 表含 x/post-tweet、x/post-create、x/post-like、x/post-retweet、x/post-delete、x/post-get、x/dm-send、x/user-follow、x/user-get,各能力均有对应示例。
- [ok] 执行面仅 belt CLI(allowed-tools: Bash(belt *)) — frontmatter 白名单存在且为唯一授权;全文无其他可执行代码/脚本文件。
- [ok] 无直连网络调用与凭证文本 — curl/wget/fetch/api_key/bearer/token/secret 扫描零命中(token 一词仅出现在外部文档语境之外——本文件无)。登录态由 belt login 管理('belt login' 第 19 行)。
- [ok] 网络端点仅文档/横幅/安装说明 — 出现的 URL 只有 inference.sh/docs(文档)、raw.githubusercontent.com(cli-install.md)、cloud.inference.sh(横幅图);x/* app 的真实 API 端点在 belt 与平台侧,源码内不可见。
- [ok] 本地文件写入面 — 仅示例命令的 shell 重定向(> image.json、> video.json)与 belt app sample --save input.json,属用户/agent 执行示例时的行为,非 skill 代码主动写文件。
- [ok] license/stars/commit 元数据 — 两 fork 本地 HEAD == pin becc25649700(2026-08-03);GitHub API:101-skills/superpowers stars=0、pushed_at 2026-08-31T22:58:53Z、license=None;树内无 LICENSE 文件;plugin.json 声明 MIT 且 repository 指向 inference-sh/skills。
- [unlocatable] installs 安装量 — GitHub API 无安装量字段,skills.sh 生态未提供公开计数,置 null。
6Verdict & Scenarios
21d96a6cedba3a4e…