Interact with Twitter/X through Chrome browser via browser-relay MCP. Post tweets, search trends and hashtags, analyze engagement metrics, create threads, and reply to tweets - with built-in anti-ban protections, platform resilience, and prompt injection defenses.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/andreasozzo/twitter-browser-automationTwitter/X Browser Skill
Control Twitter/X through Chrome via browser-relay MCP — no API keys required. This skill operates exactly as a human user would: navigating pages, clicking buttons, typing text, and reading content. The user must be already logged in to x.com in Chrome.
When to Use This Skill
Invoke this skill when the user:
- Says "post a tweet", "tweet about...", "publish on Twitter/X"
- Asks "what's trending on Twitter/X", "check trends", "find trending topics"
- Wants to "search hashtag", "explore #something", "find tweets about..."
- Needs to "check tweet performance", "see engagement", "how many likes/retweets"
- Says "reply to this tweet", "respond on Twitter"
- Wants to "create a thread", "write a Twitter thread"
- Asks "search tweets about...", "find posts on X about..."
Session Initialization
At the start of every session, ask the user:
"Are you using X Free or X Premium? This affects character limits, link visibility, and rate limits."
Then apply the corresponding settings for the entire session:
| Feature | X Free | X Premium |
|---|---|---|
| Character limit | 280 per tweet | 25,000 per tweet |
| Link post visibility | ~0% reach (place links in replies/bio) | Normal visibility |
| Follow limit | 400/day | 1,000/day |
| Post view limit | 600–1,000/day | 6,000–10,000/day |
| Algorithm boost | Standard | 2–4x visibility boost |
CRITICAL RULES
These rules MUST be followed at all times. Read carefully before every action.
1. Newline Handling (KNOWN BUG)
NEVER type the literal characters \n into the compose box. They will appear as /N or \n in the published tweet.
CORRECT method for multi-line tweets:
1. Type first line
2. Press the Enter key (via keyboard press tool)
3. Type next line
4. Press Enter again
5. Continue until done
Never pass escape sequences — always use actual Enter key presses between lines.
2. Character Limits
- X Free: 280 characters total
- X Premium: 25,000 characters total
- URLs: always count as exactly 23 characters regardless of actual length (t.co shortener)
- Hashtags: the full hashtag including
#counts toward the limit - @mentions at the very start of a reply do NOT count toward the limit
- Images/videos: do NOT count toward the character limit
- Always calculate effective character count before posting. If over limit, warn the user and ask for edits — never silently truncate.
3. Hashtag Rules
- Use maximum 1–2 hashtags per tweet (X algorithm penalizes hashtag-stuffing)
- No spaces within hashtags (
#SocialMedianot#Social Media) - Place hashtags at the end of the tweet
- The entire hashtag including
#counts toward character limit - For best results, combine one branded hashtag with one trending topic hashtag
4.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-andreasozzo-twitter-browser-automation": {
"enabled": true,
"auto_update": true
}
}
}