
X Algorithm Optimizer
- 117 installs
- 31 repo stars
- Updated August 2, 2026
- shipshitdev/library
Tune posts, hooks, timing, and engagement loops on X so brands and creators improve reach, replies, and follower growth without guessing the algorithm.
About
X algorithm optimizer skill for creators and faceless brands growing on Twitter. Advises on hooks, threads, timing, engagement, and iteration loops aligned with 2026 ranking behavior so content earns impressions and followers sustainably.
- Hook and thread structure for reach
- Posting cadence and timing heuristics
- Engagement and reply-engine tactics
- Algorithm-safe formatting patterns
- Measure-and-iterate content loops
X Algorithm Optimizer by the numbers
- 117 all-time installs (skills.sh)
- Ranked #1,100 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/shipshitdev/library --skill x-algorithm-optimizerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 117 |
|---|---|
| repo stars | ★ 31 |
| Last updated | August 2, 2026 |
| Repository | shipshitdev/library ↗ |
What it does
Tune posts, hooks, timing, and engagement loops on X so brands and creators improve reach, replies, and follower growth without guessing the algorithm.
Files
X Algorithm Optimizer
Optimize content for X's algorithm based on actual engagement signal prediction (from xai-org/x-algorithm).
Core Insight: X's algorithm uses Grok-based transformers to predict 15 user-specific engagement signals. It optimizes for user relevance, not broad popularity.
The 15 Engagement Signals
X's algorithm predicts these signals per-user:
Positive Signals (Maximize)
| Signal | Weight | Optimization Strategy |
|---|---|---|
| Favorites | High | Relatable insights, contrarian takes, save-worthy content |
| Replies | Very High | Questions, open loops, controversial hooks |
| Reposts | Very High | Frameworks, data, templates, quotable insights |
| Quotes | High | Hot takes people want to add to |
| Shares | High | Actionable value, resources, tools |
| Profile Clicks | High | Credibility signals, mysterious bio hooks |
| Video Views | Medium | Hook in first 3s, text overlay, no slow intros |
| Photo Expansions | Medium | Intriguing cropped previews, charts, screenshots |
| Dwell Time | Very High | Long-form hooks, formatting, open loops |
| Follows | Very High | Consistent niche value, credibility proof |
Negative Signals (Minimize)
| Signal | Trigger | Avoidance Strategy |
|---|---|---|
| Not Interested | Irrelevant content | Stay on-niche, clear topic signals |
| Blocks | Aggressive/spam behavior | No mass mentions, no DM spam |
| Mutes | Posting frequency overload | Space out content, quality > quantity |
| Reports | Policy violations | Clean content, no engagement bait |
Hook Formulas (Maximize Dwell Time)
Dwell time is critical. Stop the scroll with these patterns:
The Contrarian Hook
Most people think [common belief].
They're wrong.
Here's why:The Credibility Hook
I've [impressive credential].
Here's what I learned:The Data Hook
[Surprising statistic].
That's [comparison that makes it shocking].The Story Hook
In [year], I was [relatable situation].
[Unexpected outcome] changed everything.The Question Hook
Why do [successful people] always [behavior]?
I studied [number] of them. Here's the pattern:The Scarcity Hook
[Number]% of people will never know this.
[Valuable insight]:Reply Triggers (Maximize Replies)
Replies signal high engagement value to the algorithm.
Open-Ended Questions
- "What would you add to this?"
- "Unpopular opinion: [take]. Agree or disagree?"
- "What's stopping you from [desired outcome]?"
Controversial Takes (Use Sparingly)
- Challenge industry assumptions
- Disagree with popular figures (respectfully)
- Reframe common advice
Engagement Prompts
- "Reply '[keyword]' if you want [resource]"
- "Tag someone who needs to see this"
- "What's your biggest challenge with [topic]?"
Open Loops
End tweets without full resolution:
- "The real reason? I'll share in the thread below."
- "But that's not the interesting part..."
- "Here's what nobody talks about:"
Repost Patterns (Maximize Reposts)
Content people save and share:
Frameworks
The [Name] Framework for [Outcome]:
1. [Step with benefit]
2. [Step with benefit]
3. [Step with benefit]
Steal this.Templates
Here's the exact [template/script/email] I used to [outcome]:
[Template]
Copy and use it.Data/Stats
I analyzed [number] [things].
Here's what the data shows:
[Insight 1]
[Insight 2]
[Insight 3]
Bookmark this.Resource Lists
[Number] [tools/resources/tips] that [benefit]:
1. [Name] - [1-line description]
2. [Name] - [1-line description]
...
Save for later.Thread Architecture
Threads cascade engagement across tweets.
Structure
Tweet 1 (Hook): Stop the scroll, promise value
Tweet 2-6 (Body): Deliver value, one point per tweet
Tweet 7 (CTA): Follow, engage, or take actionThread Rules
1. Each tweet must stand alone (algorithm scores individually) 2. Use "Thread" or number notation (1/7) 3. End each tweet with curiosity for the next 4. Put best content in tweets 2-3 (highest visibility) 5. Include bookmarkable value (images, lists, frameworks)
Thread Hook Formula
I [credibility signal].
Here's [what I learned / my framework / the breakdown]:
(Thread)Signal-Specific Optimization
Maximize Favorites
- Relatable struggles + insights
- "Finally someone said it" content
- Save-worthy resources
- Contrarian takes with evidence
Maximize Profile Clicks
- Hint at more value in bio
- Demonstrate niche expertise
- Create curiosity about background
- Strong credibility signals in content
Maximize Dwell Time
- Long-form formatting (line breaks)
- Numbered lists
- Multiple scroll-stopping sections
- Strategic use of images/video
Minimize Negative Signals
- Stay consistent with niche
- Don't post more than 3-5x/day
- Avoid engagement bait ("Like if you agree")
- No mass tagging or DM spam
Algorithm Mechanics
Author Diversity
The algorithm attenuates repeated creators in feeds. Implications:
- Getting retweeted by diverse accounts > one mega account
- Build relationships with different communities
- Cross-pollination beats concentrated reach
User-Specific Relevance
Content is scored per-user, not globally. Implications:
- Target your specific audience's interests
- Build engagement patterns with your followers
- Consistency matters more than virality
No Hand-Engineered Features
The model is pure ML prediction. Implications:
- Gaming specific metrics doesn't work long-term
- Focus on genuine engagement quality
- Create content people actually want to engage with
Timing Guidance
| Audience Type | Best Times | Why |
|---|---|---|
| B2B/Tech | 8-10am, 12-1pm EST | Work hours, lunch breaks |
| B2C/Lifestyle | 7-9am, 7-10pm EST | Before/after work |
| Global | Varies | Test and measure |
Note: Timing matters less than content quality. A great tweet at 2am beats a mediocre tweet at peak time.
Quick Optimization Checklist
- [ ] Hook stops the scroll in first line
- [ ] Content delivers specific value
- [ ] At least one engagement trigger (question, CTA)
- [ ] Formatted for dwell time (line breaks, lists)
- [ ] On-niche to avoid "not interested" signals
- [ ] No engagement bait or spam patterns
- [ ] Clear credibility signals where relevant
Integration
| Skill | When to Use |
|---|---|
content-creator | Generate tweet/thread content |
copywriter | Brand voice consistency |
prompt-engineering | Content generation prompts |
youtube-video-analyst | Apply hook patterns from video |
---
For detailed signal tactics and examples: references/engagement-signals.md
{
"name": "x-algorithm-optimizer",
"version": "1.0.0",
"description": "Optimize X/Twitter content for algorithm engagement signals based on xai-org/x-algorithm",
"author": {
"name": "Ship Shit Dev",
"email": "hello@shipshit.dev",
"url": "https://github.com/shipshitdev"
},
"license": "MIT",
"skills": "."
}
X Algorithm Engagement Signals - Deep Dive
Detailed tactics for optimizing each of the 15 engagement signals predicted by X's Grok-based algorithm.
Understanding the Algorithm
X's recommendation system uses transformer models (Grok) to predict user-specific engagement probability across 15 signals. Unlike older algorithms that relied on hand-crafted features, this is pure ML prediction trained on actual user behavior.
Key Insight: The algorithm optimizes for individual user relevance, not broad popularity. A tweet with 100 likes from your target audience scores better than 1000 likes from random users.
Positive Signals - Deep Tactics
1. Favorites (Likes)
Algorithm Weight: High What It Signals: User found content valuable enough to acknowledge
Optimization Tactics:
Relatable Struggles
Every founder knows this feeling:
You wake up at 3am.
Check your metrics.
Nothing changed.
Then you remember why you started.
That's the game."Finally Someone Said It" Content
Unpopular opinion:
"Growth hacking" is usually just "being annoying at scale."
Good products grow from genuine value, not tricks.Save-Worthy Resources
The only 5 metrics early-stage founders should track:
1. MRR (are you making money?)
2. Churn (are they staying?)
3. CAC (what does a customer cost?)
4. Activation rate (do they get value?)
5. NPS (would they recommend you?)
Everything else is vanity.---
2. Replies
Algorithm Weight: Very High What It Signals: Content sparked engagement/conversation
Optimization Tactics:
Binary Choice Questions
Hot take:
Building in public helps you grow faster than building in private.
Agree or disagree?Fill-in-the-Blank
The best business advice I ever received:
"________________"
Drop yours below.Controversy with Nuance
Controversial:
Cold outreach works better than content marketing for B2B.
But only if you do it right.
Here's the difference between spam and outreach:Experience Requests
I'm compiling the biggest mistakes founders make in their first year.
What's the #1 mistake you made (or almost made)?Debate Starters
Two schools of thought:
A) Ship fast, fix later
B) Ship perfect, ship once
Which camp are you in and why?---
3. Reposts (Retweets)
Algorithm Weight: Very High What It Signals: Content valuable enough to share with their audience
Optimization Tactics:
Frameworks with Names
The ICE Framework for prioritizing features:
Impact - How much will this move the needle?
Confidence - How sure are you it'll work?
Ease - How quickly can you ship it?
Score each 1-10. Multiply. Ship the highest score first.
Works every time.Cheat Sheets
Pricing psychology cheat sheet:
$99 vs $100 - "charm pricing" (works)
"Was $200" - anchoring (works)
3 tiers - decoy effect (works)
"Most popular" - social proof (works)
Ending in 7 - outdated (doesn't work)
Save this.Tools and Resources
10 free tools worth $10,000+:
1. Notion - docs & wikis
2. Figma - design
3. Loom - async video
4. Linear - project management
5. Cal.com - scheduling
6. Resend - email
7. Vercel - hosting
8. Cursor - AI coding
9. Fathom - analytics
10. Crisp - chat
All have generous free tiers.Data-Backed Insights
We analyzed 1,000 landing pages.
Pages with:
- 1 CTA convert 3x better than multiple CTAs
- Social proof above fold convert 27% better
- Video backgrounds reduce conversion by 11%
Data doesn't lie.---
4. Quotes
Algorithm Weight: High What It Signals: Content sparked commentary/extension
Optimization Tactics:
Intentionally Incomplete Takes
The real reason most startups fail isn't product-market fit.
It's founder-market fit.
But nobody wants to talk about that.Statements Begging for Addition
Hot take:
The best time to raise money was 2021.
The second best time is never.Controversial Comparisons
Unpopular opinion:
A $50k/year solo business > $5M VC-backed startup
Fight me.---
5. Shares (External)
Algorithm Weight: High What It Signals: Content valuable enough to share outside X
Optimization Tactics:
Complete Playbooks
The complete cold email playbook (saved you $500):
Subject line formula:
"Quick question about [company]"
Opening:
"Saw [specific thing about them]. Impressive."
Pitch:
"We help [their type] do [outcome]. Recently helped [similar company] achieve [specific result]."
Ask:
"Worth a 15-min chat?"
Send Tuesday-Thursday, 9-11am.Reference Material
Every business model explained in one tweet:
- SaaS: Rent software
- Marketplace: Connect buyers/sellers, take cut
- Media: Attention for ads
- E-commerce: Sell products
- Agency: Sell services
- Course: Sell knowledge once
- Consulting: Sell expertise repeatedly
Pick one. Master it.---
6. Profile Clicks
Algorithm Weight: High What It Signals: Curiosity about the author
Optimization Tactics:
Credibility Signals in Content
After 8 years building SaaS products, here's what I'd do differently:
[Content]Mystery in Bio Connection
This is the same framework I used to go from $0 to $100k MRR.
(More in my pinned tweet)Expertise Demonstration
I've reviewed 500+ pitch decks this year.
90% make this mistake:
[Insight]---
7. Video Views
Algorithm Weight: Medium What It Signals: Video content engaged users
Optimization Tactics:
- Hook in first 1-3 seconds (no logos, no intros)
- Text overlay for muted viewers
- Face in thumbnail increases clicks
- Keep under 2 minutes for casual content
- End with clear CTA
Hook Examples:
- "Stop making this mistake..."
- "This changed everything..."
- "Nobody talks about this..."
---
8. Photo Expansions
Algorithm Weight: Medium What It Signals: Visual content sparked curiosity
Optimization Tactics:
- Crop images to create curiosity
- Use charts/data visualizations
- Screenshots of results/proof
- Before/after comparisons
- Text-heavy images with key insight partially visible
---
9. Dwell Time
Algorithm Weight: Very High What It Signals: User spent time consuming content
Optimization Tactics:
Formatting for Readability
Most founders think they need more traffic.
Wrong.
Here's what they actually need:
1. Better positioning
2. Clearer messaging
3. Stronger offers
Traffic to a broken funnel = wasted money.
Fix the foundation first.
Then scale.Strategic Line Breaks
- One thought per line
- White space creates pause
- Short paragraphs only
- Numbers and lists break monotony
Open Loops
The #1 reason your landing page doesn't convert:
It's not the copy.
It's not the design.
It's not even the offer.
It's something most people never think about...
(Keep reading)---
10. Follows
Algorithm Weight: Very High What It Signals: User wants ongoing content from author
Optimization Tactics:
Consistent Niche Value
- Post about same 2-3 topics
- Build reputation for specific expertise
- Become the "go-to" for your niche
Credibility Proof
- Share results and case studies
- Reference real experience
- Show receipts when possible
Value Promise
Every day I share one actionable growth tip.
No fluff. No theory. Just what works.
Follow for more.---
Negative Signals - Avoidance Strategies
11. Not Interested
What Triggers It: Content irrelevant to user's interests
Avoidance:
- Stay on-niche (2-3 core topics max)
- Clear topic signals in first line
- Don't jump between wildly different subjects
- Build audience around specific value prop
---
12. Blocks
What Triggers It: Aggressive or spam behavior
Avoidance:
- No mass mentions or tags
- No unsolicited DM campaigns
- No aggressive self-promotion in replies
- Respect when people disagree
---
13. Mutes
What Triggers It: Posting frequency overload
Avoidance:
- 3-5 tweets per day max
- Quality over quantity
- Space out content (not 5 tweets in 1 hour)
- Vary content types
---
14. Reports
What Triggers It: Policy violations, harassment, spam
Avoidance:
- Follow platform guidelines
- No engagement bait ("Like if you agree!")
- No misleading claims
- No harassment or pile-ons
---
Signal Combinations
The most viral content hits multiple positive signals simultaneously:
High-Engagement Formula
Hook (Dwell Time) +
Controversial Take (Quotes) +
Valuable Framework (Reposts) +
Question Ending (Replies) +
Credibility Signal (Profile Clicks)Example:
After 10 years in startups, I've realized:
The best founders aren't the smartest.
They're the most adaptable.
Here's the framework I use to adapt fast:
1. Weekly experiment reviews
2. Kill features that don't move metrics
3. Double down on what works
4. Ignore advice from non-customers
The market is the only honest feedback.
What's your adaptation framework?This tweet targets:
- Dwell time (formatting, length)
- Reposts (framework)
- Replies (question ending)
- Profile clicks (credibility)
- Favorites (relatable insight)
---
Testing & Iteration
A/B Testing Approach
1. Test one variable at a time 2. Same content, different hooks 3. Different posting times 4. With/without images 5. Track engagement rate, not just totals
Metrics to Track
| Metric | Formula | Good Benchmark |
|---|---|---|
| Engagement Rate | (Likes + Replies + Reposts) / Impressions | >2% |
| Reply Ratio | Replies / Likes | >0.1 |
| Repost Ratio | Reposts / Likes | >0.1 |
| Profile Click Rate | Profile Clicks / Impressions | >0.5% |
Iteration Loop
1. Post content with intentional signal targeting 2. Measure which signals fired 3. Analyze what worked/didn't 4. Adjust formula 5. Repeat
---
Content Calendar Template
Weekly Mix
- Monday: Framework/Educational thread
- Tuesday: Hot take/Opinion
- Wednesday: Resource/Tool recommendation
- Thursday: Story/Experience
- Friday: Question/Engagement
- Weekend: Lighter/Personal content
Daily Structure
- Morning (8-10am): Educational/Value content
- Midday (12-1pm): Quick take/Observation
- Evening (5-7pm): Engagement/Question post
---
Quick Reference Card
To Maximize Replies:
- End with open question
- Take controversial stance
- Create binary choice
To Maximize Reposts:
- Share frameworks
- Provide templates
- Include data
To Maximize Dwell Time:
- Format for scanning
- Use open loops
- Strong hook first line
To Minimize Negative Signals:
- Stay on-niche
- Quality > quantity
- No engagement bait