Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Posts tweets, builds threads, and uploads media through the X API using a confirmation-gated Python script.
Use this skill ↓35% 83%+48 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 8 of 23 without it.
3 of 3 safety checks passed
Not used yet
This skill orchestrates OAuth-authenticated, rate-limit-aware X/Twitter API interactions through a deterministic Python script (scripts/x-api-poster.py). The workflow implements a 4-phase pipeline with an explicit confirmation gate (Phase 2) to prevent accidental public posts.
Core principles:
--confirmed)Goal: Confirm credentials, content, and dependencies before any network call.
Step 1: Check credentials
Test credential presence by running a dry-run credential check:
python3 $HOME/.claude/scripts/x-api-poster.py post --dry-run --text "ping"
This confirms all required environment variables are set: X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_SECRET, X_BEARER_TOKEN.
X_BEARER_TOKEN is requiredStep 2: Validate content length
The script enforces a 280-character limit per tweet. Before posting, validate your content length:
For a single tweet:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.