x-api
Installation
SKILL.md
X API Skill
Overview
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:
- Always validate credentials and content before any network call
- The confirm gate is mechanically enforced by the script (refuses write ops without
--confirmed) - Credentials flow from environment variables only; the operator never configures auth mode
- Rate limits are surfaced immediately if remaining capacity drops below 10
Instructions
Phase 1: VALIDATE
Goal: Confirm credentials, content, and dependencies before any network call.