Skills twitter-automation
🐦

twitter-automation

Safe ⚙️ External commands🌐 Network access

Automate Twitter/X with the belt CLI tool

Also available from: sickn33,halt-catch-fire,inference-sh-9,inference-sh-skills,inference-sh,infsh-skills,inference-shell,qu-skills,inference-sh-8,inference-skills,inferen-sh,skillssh,toolshell,tul-sh

Managing Twitter/X manually takes hours each day. This skill automates posting, engagement, and user interactions through a simple CLI interface that connects to the X API.

Supports: Claude Codex Code(CC)
📊 71 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "twitter-automation". Post a tweet announcing our new feature launch

Expected outcome:

Successfully posted: "Excited to announce our new feature! Check it out at example.com/features". Tweet ID: 1234567890. The tweet is now visible on your profile and will appear in followers' timelines.

Using "twitter-automation". Like and follow the author of tweet ID 9876543210

Expected outcome:

Liked tweet ID 9876543210. Followed user @example_user. Engagement actions completed successfully.

Security Audit

Safe
v1 • 5/30/2026

Security evaluation confirms this is legitimate Twitter/X automation skill documentation. Static analyzer flagged 46 potential issues, but manual review determined all findings are false positives or documented CLI usage patterns. The skill documents belt CLI invocations with hardcoded arguments only. No command injection vectors exist. The 'weak cryptographic algorithm' flags were misidentified table elements and app name fragments. No actual security vulnerabilities present.

1
Files scanned
158
Lines analyzed
6
findings
1
Total audits

High Risk Issues (2)

False Positive: Misidentified Cryptographic Pattern (SKILL.md:3)
Static analyzer flagged 'x/post-create' as weak crypto algorithm. This is an app ID in the skill description, not cryptographic code. No actual crypto implementation exists in this skill.
False Positive: Misidentified Cryptographic Pattern (SKILL.md:29)
Static analyzer flagged table header row as weak crypto. This is markdown table formatting, not code. No actual crypto implementation exists in this skill.
Low Risk Issues (2)
External Command Examples (False Positive)
Static analyzer flagged 37 instances of external commands. These are documented belt CLI invocations in SKILL.md, not executable code. All arguments are hardcoded strings with no user input injection.
Hardcoded URLs (Informational)
7 URLs to inference.sh documentation are hardcoded. These are legitimate documentation links, not security concerns.
Audited by: claude

Quality Score

38
Architecture
100
Maintainability
87
Content
50
Community
81
Security
91
Spec Compliance

What You Can Build

Schedule social media content

Marketing teams can schedule tweets with images by generating content with AI and posting through the CLI. Works well for product announcements and campaign posts.

Automate engagement workflows

Community managers can automate liking and retweeting specific content, or send welcome DMs to new followers based on their username.

Build content pipelines

Creators can combine AI image and video generation skills with Twitter posting to create automated content pipelines that generate and publish social media posts.

Try These Prompts

Post a simple tweet
Use the twitter-automation skill to post a tweet saying "{tweet_text}" to my Twitter account.
Post tweet with image
Use the twitter-automation skill to post a tweet with image. The text should be "{tweet_text}" and the media URL is {image_url}.
Engage with a tweet
Use the twitter-automation skill to like the tweet at {tweet_url} and then follow its author.
AI content pipeline
Generate an image using AI with the prompt "{image_prompt}", then post it to Twitter with the caption "{caption}" using the twitter-automation skill.

Best Practices

  • Always authenticate with belt login before running any Twitter commands
  • Test commands with sample data using belt app sample before full automation
  • Monitor X API rate limits and implement delays between bulk operations

Avoid

  • Do not post the same content repeatedly without variation to avoid spam detection
  • Do not attempt actions beyond your API permissions level
  • Do not store API credentials in skill documentation or comments

Frequently Asked Questions

How do I set up the twitter-automation skill?
Install the belt CLI with npx skills add belt-sh/cli, run belt login to authenticate with inference.sh, and set up your X API credentials in the inference.sh dashboard.
What X API permissions do I need?
You need read and write permissions to post, like, retweet, and send DMs. User follow requires write permissions. Profile reading requires read permissions.
Can I schedule tweets for later?
This skill posts tweets immediately. For scheduling, combine it with a task scheduler or cron job, or use external scheduling tools with the belt CLI.
What happens if my tweet fails?
The belt CLI will return an error message with the failure reason. Common issues include rate limit exceeded, invalid media URL, or insufficient API permissions.
How do I add images or videos to my tweets?
Use the x/post-create app and include a media_url field pointing to a publicly accessible image or video URL. The AI image generation skill can create images you can use.
Is this skill safe to use with my main Twitter account?
Yes, but use caution with automation frequency. Twitter may flag accounts for excessive automated activity. Start with small volumes and monitor your account status.

Developer Details

File structure

📄 SKILL.md