技能 twitter-automation
🐦

twitter-automation

安全 ⚙️ 外部命令🌐 網路存取

Automate Twitter/X with the belt CLI tool

也可從以下取得: 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.

支援: Claude Codex Code(CC)
📊 71 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「twitter-automation」。 Post a tweet announcing our new feature launch

預期結果:

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.

正在使用「twitter-automation」。 Like and follow the author of tweet ID 9876543210

預期結果:

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

安全審計

安全
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
已掃描檔案
158
分析行數
6
發現項
1
審計總數

高風險問題 (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.
低風險問題 (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.
審計者: claude

品質評分

38
架構
100
可維護性
87
內容
50
社群
81
安全
91
規範符合性

你能建構什麼

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.

試試這些提示

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.

最佳實務

  • 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

避免

  • 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

常見問題

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.

開發者詳情

檔案結構

📄 SKILL.md