x-algorithm
X (Twitter) algorithm rules & viral strategies for AI agents. Boost engagement, avoid reach death. Works with Cursor, Claude, ChatGPT, Copilot. Vibe-coding ready.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/nextfrontierbuilds/x-algorithmX Algorithm Mastery
Everything you need to know about the X (Twitter) algorithm. Based on X's open-source code, viral post analysis, and real engagement data.
TL;DR - The Golden Rules
- First 2 hours are critical — replies/engagement in this window determine reach
- No external links in main post — X penalizes links that take users off-platform
- Media > Text — videos get 10x engagement, images get 2-3x
- Reply to EVERYTHING — replies are weighted higher than likes/retweets
- Post when audience is awake — 8 AM - 2 PM weekdays optimal
- Controversy drives engagement — but pick battles wisely
- Threads outperform single tweets — for long-form content
How the Algorithm Works
The 4-Step Process
- Candidate Sourcing: Pulls ~1,500 tweets from accounts you follow (~50%) and similar accounts
- Ranking: ML model scores likelihood you'll reply (highest), retweet, like, or report (negative)
- Filtering: Removes blocked/muted, balances in/out-network, limits single author
- Serving: Final mix with ads, 5B times/day, ~1.5 seconds
Engagement Weight Hierarchy
| Action | Weight |
|---|---|
| Replies | Highest |
| Retweets | High |
| Quote Tweets | High (2x regular posts) |
| Likes | Medium |
| Bookmarks | Medium |
| Views | Low |
| Reports | Negative (kills reach) |
Ranking Signals
1. Recency
- Fresh content prioritized
- Peak visibility: first 2-3 hours
2. Engagement Velocity
- Speed matters more than total
- 100 likes in 30 min > 500 likes over 24 hours
3. Account Credibility
- Verified (Premium) gets boost
- Follower-to-following ratio matters
- History of bans/strikes hurts
4. Content Type
- Video: 10x engagement
- Images: 2-3x engagement
- Polls: Drives replies
- Threads: Higher total engagement
5. Link Presence
- Links = REACH PENALTY
- Put links in replies, not main post
- Quote tweeting a link > direct link
What Kills Your Reach
Instant Death
- ❌ External links in main post
- ❌ Getting reported/blocked
- ❌ Posting same content repeatedly
- ❌ Too many hashtags (>2)
Slow Death
- ❌ Posting inconsistently
- ❌ Not replying to comments
- ❌ Off-topic from your niche
- ❌ Corporate/formal tone
Posting Best Practices
Frequency
| Goal | Posts/Day |
|---|---|
| Minimum | 2-3 |
| Growth | 5-10 |
| Maximum | 15-30 |
Timing (audience timezone)
- Best: 8 AM - 2 PM weekdays
- Good: 4 PM - 6 PM weekdays
- Worst: 11 PM - 7 AM
The No-Link Strategy
❌ Bad: "Check out my article [link]"
✅ Good: "Here's what I learned (thread 🧵)"
→ Link in reply or final thread post
Getting Replies (Most Important)
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-nextfrontierbuilds-x-algorithm": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Package Seo
Skill by nextfrontierbuilds
skill-scaffold
AI agent skill scaffolding CLI. Create skills for OpenClaw, Moltbot, Claude, Cursor, ChatGPT, Copilot instantly. Vibe-coding ready. MCP compatible.
ai-pdf-builder
AI-powered PDF generator for legal docs, pitch decks, and reports. SAFEs, NDAs, term sheets, whitepapers. npx ai-pdf-builder. Works with Claude, Cursor, GPT, Copilot.
web-qa-bot
AI-powered automated QA for web apps. Smoke tests, accessibility, visual regression. Works with Cursor, Claude, ChatGPT, Copilot. Vibe-coding ready.
fear-greed
Embeddable Fear & Greed Index for crypto dashboards. Real-time sentiment gauge. Drop-in React/HTML components. Works with AI agents, Claude, Cursor.