Twitter Poster Skill
Automatically post tweets to Twitter/X using browser automation.
Features
- Browser-based posting (no API credentials needed)
- Approval workflow for all tweets
- Session persistence (login once)
- Screenshot proof of posting
- Support for text, images, and threads
Usage
Create a tweet
python .claude/skills/twitter-poster/scripts/twitter_poster.py --create "Your tweet content here"
Publish approved tweets
python .claude/skills/twitter-poster/scripts/twitter_poster.py --publish
Test setup
python .claude/skills/twitter-poster/scripts/twitter_poster.py --test
Workflow
- Create tweet → saved to
/Pending_Approval/TWEET_*.md - Human reviews and approves → moves to
/Approved/ - Script publishes from
/Approved/folder - Takes screenshot proof
- Moves to
/Done/with timestamp
First-Time Setup
On first run, the script will:
- Open Twitter in browser
- Ask you to log in manually
- Save session for future use
- All future tweets are automatic
Security
- Session cookies stored locally
- Never committed to Git
- All tweets require human approval