x-post
Post to X using the CLI tool at ~/.claude/skills/x-post/x-post.py.
Setup
Requires Python packages: pip install xdk requests_oauthlib
Credentials file at ~/.claude/skills/x-post/x.key (JSON):
{
"api_key": "...",
"api_secret": "...",
"access_token": "...",
"access_token_secret": "..."
}
Commands
Post text:
python ~/.claude/skills/x-post/x-post.py post "Your tweet text"
Post with image:
python ~/.claude/skills/x-post/x-post.py post "Your tweet text" --media /path/to/image.jpg
Post with video:
python ~/.claude/skills/x-post/x-post.py post "Your tweet text" --media /path/to/video.mp4
Check profile:
python ~/.claude/skills/x-post/x-post.py me
Rules
- Always show the user the exact tweet text before posting and get confirmation
- Never post without explicit user approval
- Video uploads use chunked upload (INIT/APPEND/FINALIZE) and may take a minute for processing
- The script auto-detects media type from file extension
More from rameerez/claude-code-startup-skills
customer-empathy
Deep-dive into customer empathy and user journey thinking. Use when designing onboarding, improving UX, planning features, or trying to understand how to delight users faster.
78transcribe-video
Generate subtitles (SRT/VTT) and plain text transcripts from video or audio files using AWS Transcribe. Use when creating captions, extracting spoken content, generating transcripts for notes, or making video content searchable.
73compress-images
Compress images for web/SEO performance using cwebp. Use when optimizing images for faster page loads, reducing file sizes, or converting JPG/PNG to WebP format.
57download-video
Download videos from social media URLs (X/Twitter, YouTube, Instagram, TikTok, etc.) using yt-dlp. Use when saving a video locally, extracting content for transcription, or archiving video references.
51