Twitter Poster

Post tweets to Twitter/X using Playwright automation with approval workflow

muhammad-anas35 b8a8d74 2 files · 11.6 KB Updated

File contents

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

  1. Create tweet → saved to /Pending_Approval/TWEET_*.md
  2. Human reviews and approves → moves to /Approved/
  3. Script publishes from /Approved/ folder
  4. Takes screenshot proof
  5. Moves to /Done/ with timestamp

First-Time Setup

On first run, the script will:

  1. Open Twitter in browser
  2. Ask you to log in manually
  3. Save session for future use
  4. All future tweets are automatic

Security

  • Session cookies stored locally
  • Never committed to Git
  • All tweets require human approval

muhammad-anas35/AI-Employee-Gold-tier/tree/main/.claude/skills/twitter-poster commit b8a8d7477d

Frequently asked questions

npx skillmds@latest add muhammad-anas35/twitter-poster