twitter-automation: Post, like, retweet and DM on X from the command line

By whytryharder/superpowerswhytryharder/superpowersskills.sh

This skill runs Twitter/X actions through the inference.sh belt CLI. It covers creating and deleting posts, with optional media, plus likes, retweets, direct messages, follows, and profile and post lookups. Each action is a belt app run call that takes a JSON input.

Content creationskills.sh
Total installs
—
skills.sh
Last 7 days
—
vs the week before
Best 100 rank
—
Not in Best 100
GitHub stars
0
Pushed 2026-11-26

What problem this skill solves

Doing Twitter/X actions by hand is slow when the same steps repeat, such as posting content with images or following a set of accounts. With this skill, each action is one belt command with a JSON input that you can run from a shell.

The skill also shows how to take the output of image or video apps and place its URL in the media field of x/post-create, so generated files can be posted without a separate upload step.

Good for

  • Posting text, or text with an image or video, from a shell
  • Running a fixed set of likes, retweets or follows
  • Posting AI-generated images or videos made by other inference.sh apps

Not for

  • Timed or scheduled posting, which the examples do not show
  • Platforms other than Twitter/X

Install this skill

twitter-automation only

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

The whole repository

npx skills add https://github.com/whytryharder/superpowers

How this skill works

  1. 1Log in once with `belt login`.
  2. 2Choose an app such as `x/post-create`, `x/post-like` or `x/dm-send`, using the list from `belt app list`.
  3. 3Pass the action inputs as JSON, for example a `text` field for a post or a `tweet_id` field for a like.
  4. 4For media, run `belt app sample x/post-create --save input.json`, edit the file to add a `media` list of URLs, then run it with `--input input.json`.
  5. 5To post generated media, run an image or video app first and put the URL of its output in the `media` list of `x/post-create`.

Are you the author of this skill? Add its rank to your GitHub repo

Best Skills

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/whytryharder/superpowers/twitter-automation.svg)](https://linkly.ai/skills/s/whytryharder/superpowers/twitter-automation)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md