Claude Code + X (Twitter) Post Tweets & Media with AI
Use the Upload-Post skill to post tweets, photo tweets, and video tweets to X (Twitter) directly from Claude Code. Automatically thread long text, post single long-form tweets, and manage your X presence from the terminal.
✓ Tweet posted to X with image
Post URL: https://x.com/yourhandle/status/18493...
Install in Seconds
Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.
$ npx skills add Upload-Post/upload-post-skill What You Can Post to X (Twitter)
Features for X (Twitter)
Everything you need to publish and automate X (Twitter) content from your terminal.
Text Posts & Tweets
Publish text tweets to X directly from Claude Code. Compose tweets up to 280 characters, or use long text mode to bypass the character limit with auto-threading or single long-form posts.
Photo Tweets
Attach up to 4 images to a single tweet. Supports JPEG, PNG, GIF, and WebP formats. Upload-Post handles media upload, processing, and attachment to your tweet automatically.
Video Tweets
Post videos to X with captions. Supports MP4 format up to 512 MB and 140 seconds. Upload-Post manages the chunked upload process and waits for X's async video processing to complete.
Auto-Threading for Long Text
When your text exceeds 280 characters, Upload-Post automatically splits it into a numbered thread. Each tweet is broken at natural sentence boundaries to maintain readability across the thread.
Long Text as Single Post
Set x_long_text_as_post to true to publish text beyond 280 characters as a single long-form post instead of a thread. Ideal for announcements, articles, and detailed updates on X Premium accounts.
Analytics & Tracking
Monitor impressions, retweets, likes, and replies for every tweet published through Upload-Post. Track engagement trends across your X content from the Upload-Post dashboard.
How It Works
Install the Skill
Run the install command in your terminal. The skill is added to Claude Code instantly.
Connect X (Twitter)
Link your X (Twitter) account on the Upload-Post dashboard and create a profile with your API key.
Publish from Claude Code
Tell your AI agent to post content to X (Twitter). It handles formatting, uploading, and publishing automatically.
Start Posting to X (Twitter) from Claude Code
Join thousands of developers automating their social media workflow with AI. Free plan available.