Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Posts tweets to Twitter/X via the official API v2 using OAuth 1.0a authentication. Supports single tweets, threads, replies, and quote tweets. Character weight is validated before posting, accounting for CJK characters and URL length normalization.
Validates character weight accurately before submission, including CJK double-counting and fixed URL weights, so tweets don't fail at the API level.
When to use it
- Posting product announcements without opening a browser
- Publishing cron-scheduled content from a database or Notion
- Sending multi-tweet threads from a script
- Replying to a specific tweet as part of an automated workflow
- Quote-tweeting with generated commentary
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Post a thread covering our three biggest product updates this quarter
- 1Drafts three tweet texts, one per update
- 2Validates each tweet's weighted character count against the 280-character limit
- 3Runs node scripts/tweet.js --thread with all three texts
- 4Parses JSON output to confirm each tweet was posted and captures the returned URLs
Thread of three tweets posted to Twitter/X with IDs and URLs confirmed in the response
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.