X Algorithm
by @nextfrontierbuilds
X (Twitter) algorithm rules & viral strategies for AI agents. Boost engagement, avoid reach death. Works with Cursor, Claude, ChatGPT, Copilot. Vibe-coding ready.
clawhub install x-algorithmπ About This Skill
name: x-algorithm description: X (Twitter) algorithm rules & viral strategies for AI agents. Boost engagement, avoid reach death. Works with Cursor, Claude, ChatGPT, Copilot. Vibe-coding ready. version: 1.0.3 author: NextFrontierBuilds keywords: [x, twitter, algorithm, viral, engagement, social-media, growth, content-strategy, ai-agent, ai-coding, claude, cursor, copilot, github-copilot, chatgpt, openclaw, moltbot, vibe-coding, automation, ai-tools, developer-tools, devtools, typescript, llm]
X 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
1. First 2 hours are critical β replies/engagement in this window determine reach 2. No external links in main post β X penalizes links that take users off-platform 3. Media > Text β videos get 10x engagement, images get 2-3x 4. Reply to EVERYTHING β replies are weighted higher than likes/retweets 5. Post when audience is awake β 8 AM - 2 PM weekdays optimal 6. Controversy drives engagement β but pick battles wisely 7. Threads outperform single tweets β for long-form content
How the Algorithm Works
The 4-Step Process
1. Candidate Sourcing: Pulls ~1,500 tweets from accounts you follow (~50%) and similar accounts 2. Ranking: ML model scores likelihood you'll reply (highest), retweet, like, or report (negative) 3. Filtering: Removes blocked/muted, balances in/out-network, limits single author 4. 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
2. Engagement Velocity
3. Account Credibility
4. Content Type
5. Link Presence
What Kills Your Reach
Instant Death
Slow Death
Posting Best Practices
Frequency
| Goal | Posts/Day | |------|-----------| | Minimum | 2-3 | | Growth | 5-10 | | Maximum | 15-30 |Timing (audience timezone)
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)
X Article Best Practices
Hook Patterns That Work
Insecurity/FOMO: > "everyone's talking about X... and you're sitting there wondering if you missed the window"
Big Opportunity: > "this is the biggest opportunity of our lifetime"
RIP Pattern: > "RIP [profession]. This AI tool will [action] in seconds."
Article Structure
1. HOOK (insecurity or opportunity)
2. WHAT IT IS (with social proof)
3. WHY MOST WON'T DO IT (address objections)
4. THE [X]-MINUTE GUIDE (step-by-step)
5. YOUR FIRST [N] WINS (immediate value)
6. THE COST (value comparison)
7. THE WINDOW (urgency)
8. CTA
Style Tips
Quick Checklist
Before posting:
Growth Hacks
Reply Guy Strategy
Turn on notifications for big accounts β be first with thoughtful reply β their audience discovers youThread Takeover
Find viral post in your area β quote tweet with "Let me explain why..." β add genuine valuePersonality Posts
Every 5-10 posts, share something personal. Builds connection β higher engagement.Sources
Installation
clawdhub install NextFrontierBuilds/x-algorithm
Built by @NextXFrontier