From sundial-org-awesome-openclaw-skills-4
Posts tweets to X (Twitter) via the official API with OAuth 1.0a, bypassing bot detection and rate limits of cookie-based approaches.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:x-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Post to X using the official API (OAuth 1.0a).
Post to X using the official API (OAuth 1.0a).
bird tweet gets blocked by bot detection)For reading (timeline, search, mentions), use bird CLI instead — it's free and works well for reads.
Option A: Environment variables
export X_API_KEY="your-api-key"
export X_API_SECRET="your-api-secret"
export X_ACCESS_TOKEN="your-access-token"
export X_ACCESS_SECRET="your-access-token-secret"
Option B: Config file at ~/.clawdbot/secrets/x-api.json
{
"consumerKey": "your-api-key",
"consumerSecret": "your-api-secret",
"accessToken": "your-access-token",
"accessTokenSecret": "your-access-token-secret"
}
npm install -g twitter-api-v2
x-post "Your tweet text here"
Or with full path:
node /path/to/skills/x-api/scripts/x-post.mjs "Your tweet text here"
Supports multi-line tweets:
x-post "Line one
Line two
Line three"
Returns the tweet URL on success.
For reading, searching, and monitoring — use the bird CLI:
bird home # Timeline
bird mentions # Mentions
bird search "query" # Search
bird user-tweets @handle # User's posts
bird read <tweet-url> # Single tweet
402 Credits Depleted: Add credits in X Developer Portal → Dashboard
401 Unauthorized: Regenerate Access Token (ensure Read+Write permissions are set first)
No credentials found: Set env vars or create config file (see Setup above)
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4Integrates with the X (Twitter) API for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting.
Integrates with X/Twitter API for posting tweets and threads, reading timelines, searching content, and analytics. Covers OAuth auth patterns and rate limits.
Integrates with X/Twitter API to post tweets and threads, read timelines and user data, search content, and retrieve analytics. Handles OAuth 1.0a/2.0 authentication and rate limits for programmatic use.