Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Post to X (Twitter) using the official OAuth 1.0a API. Free tier compatible.
Post to X (Twitter) using the official OAuth 1.0a API. Free tier compatible.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Post to X (formerly Twitter) using the official X API with OAuth 1.0a authentication.
This skill provides direct access to X API v2 for posting tweets, managing threads, and monitoring mentions. No proxy or third-party service required โ uses your X API credentials directly. Use when: User says "post to X", "tweet this", "post on Twitter" Need to create threads or media posts Want to check mentions or engage with replies
Store these environment variables (from your X Developer Account): X_API_KEY # Consumer Key (API Key) X_API_SECRET # Consumer Secret X_ACCESS_TOKEN # Access Token X_ACCESS_TOKEN_SECRET # Access Token Secret X_USER_ID # Optional: Your numeric user ID (speeds up mentions)
Free tier supports: โ Posting tweets and threads โ Deleting tweets โ Account info lookup (x me) Requires Basic+ tier: ๐ Search tweets ๐ Fetch mentions ๐ Media uploads
# Post a simple tweet x post "Hello from X API" # Post a thread x thread "First tweet" "Second tweet" "Third tweet" # Check mentions x mentions --limit 10 # Search recent tweets x search "AI agents" --limit 5
Post a single tweet. Options: --reply-to <tweet-id> - Reply to a specific tweet --quote <tweet-id> - Quote tweet --media <file> - Attach image/video Example: x post "Check this out" --media image.jpg
Post a tweet thread. Example: x thread \ "Thread about AI" \ "Here's what I learned" \ "Most important takeaway"
Get recent mentions of your account. Options: --limit <n> - Number of mentions (default: 10, max: 100) --since <tweet-id> - Only mentions after this ID --format json - Output as JSON Note: Requires X_USER_ID env var OR will fetch it automatically (slower).
Search recent tweets. Options: --limit <n> - Number of results (default: 10, max: 100) --format json - Output as JSON
Delete a tweet.
Show current account info (name, username, follower counts, user ID).
X API v2 has rate limits per endpoint: EndpointLimitWindowPOST /2/tweets20015 min (Free tier)GET /2/tweets/search/recent10015 min (Free tier)GET /2/users/:id/mentions10015 min (Free tier) Rate limits vary by access tier. See X API documentation for details.
OAuth 1.0a is handled transparently. Just provide your credentials via environment variables. The skill will sign all requests automatically.
x post "Check out this screenshot" --media screenshot.png
x post "Great point!" --reply-to 1234567890123456789
x thread \ "Just launched x-oauth-api skill" \ "It lets you post to X directly from your agent" \ "No proxies, direct OAuth 1.0a authentication"
# Find interesting tweets x search "agent framework" # Reply to one x post "Have you tried this?" --reply-to 1234567890123456789
"Unauthorized" error Check X API credentials are correct Verify credentials are set in environment Ensure your app has write permissions in X Developer Portal "Rate limit exceeded" Wait 15 minutes for limit to reset Reduce request frequency Check your tier limits at https://developer.twitter.com/en/portal/dashboard "This endpoint requires a paid X API tier" Search and mentions require Basic+ tier on X API Free tier only supports posting, deleting, and account lookup Upgrade at https://developer.twitter.com/en/portal/products Tweet not posting Check tweet is < 280 characters (or < 4000 with X Premium) Verify no special formatting issues Check X API status at https://api.twitterstat.us/
X Developer Account with API access OAuth 1.0a credentials configured Network access to api.twitter.com
Free. X API is free for basic usage. Check your app's rate limits in X Developer Portal.
For X API issues, see: https://developer.twitter.com/en/docs/twitter-api
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.