x-apiPost to X (Twitter) using the official API with OAuth 1.0a. Use when you need to tweet, post updates, or publish content. Bypasses rate limits and bot detection that affect cookie-based approaches like bird CLI.
Install via ClawdBot CLI:
clawdbot install lobstergeneralintelligence/x-apiPost 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)
Generated Mar 1, 2026
Businesses can use this skill to automate posting promotional content, announcements, or event updates to X (Twitter) reliably. It bypasses bot detection that affects cookie-based tools, ensuring posts reach audiences without interruption, which is ideal for time-sensitive marketing efforts.
Media organizations can automate the sharing of breaking news headlines or article links to X. The official API access provides higher reliability and avoids rate limits, ensuring timely dissemination of information to followers without manual intervention.
Companies can post service status alerts, outage notifications, or support tips to X to keep customers informed. This skill ensures posts are delivered consistently, helping maintain transparency and trust during critical incidents.
Individual creators can schedule and post updates, thoughts, or links to their work on X. By using the official API, they avoid being flagged as bots, which is common with free tools, allowing for steady audience engagement and growth.
Event organizers can post real-time updates, reminders, or highlights during conferences or webinars on X. The skill's reliability ensures posts are not blocked, enhancing audience interaction and visibility for the event.
Offer a monthly subscription where businesses pay to automate their X posting using this skill, handling setup and maintenance. Revenue comes from tiered plans based on post volume or additional features like analytics, targeting small to medium enterprises.
Provide a free version with basic posting capabilities and charge for advanced features like higher post limits, scheduling, or integration with other platforms. This model attracts users with the free tier and converts them to paid plans for enhanced functionality.
Use this skill as part of a managed service where an agency handles X posting for clients, including content creation and strategy. Revenue is generated through retainer fees or project-based pricing, leveraging the skill's reliability to deliver consistent results.
š¬ Integration Tip
Ensure API credentials are securely stored using environment variables or encrypted config files to prevent unauthorized access, and test posting in a sandbox environment first to verify setup.
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
Browse, search, post, and moderate Reddit. Read-only works without auth; posting/moderation requires OAuth setup.
Interact with Twitter/X ā read tweets, search, post, like, retweet, and manage your timeline.
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
Search YouTube videos, get channel info, fetch video details and transcripts using YouTube Data API v3 via MCP server or yt-dlp fallback.