analytics-insights
Skill648 starsChanged 9 months agoApache-2.0View on GitHub
Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral detection, content calendar gaps, A/B testing, and engagement leaderboards. Browser console scripts for data-driven X optimization. Use when users want insights about their X performance.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- miguelclavel/ux-research-skillstheir own version, first seen Nov 8, 2026
- teachskillofskills-ai/DigitalMarketingPro-techshutheir own version, first seen Oct 11, 2026
- hyperfx-ai/marketing-skillstheir own version, first seen Jun 3, 2026
- indranilbanerjee/digital-marketing-protheir own version, first seen Feb 12, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- indranilbanerjee/digital-marketing-pro★ 934same name
- hyperfx-ai/marketing-skills★ 112same name
- miguelclavel/ux-research-skills★ 1same name
- teachskillofskills-ai/DigitalMarketingPro-techshu★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- python/CLAUDE.mdCLAUDE.md
- xspace-agents/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- python/llms-full.txtllms.txt
- python/llms.txtllms.txt
- a2a-multi-agentSkill
- account-backupSkill
- account-toolsSkill
- algorithm-cultivationSkill
- articles-longformSkill
- billing-managementSkill
- blocking-muting-managementSkill
- bookmarks-managementSkill
- business-adsSkill
- community-health-monitoringSkill
- community-managementSkill
- community-notesSkill
- competitor-intelligenceSkill
- content-cleanupSkill
- content-postingSkill
- content-repurposingSkill
- creator-monetizationSkill
- crm-managementSkill
- delegate-accessSkill
- direct-messagesSkill
- discovery-exploreSkill
- engagement-interactionSkill
- follower-monitoringSkill
- graph-analysisSkill
- grok-aiSkill
- growth-automationSkill
- lead-generationSkill
- lists-managementSkill
- media-studioSkill
- notifications-managementSkill
- post-editingSkill
- premium-subscriptionsSkill
- profile-managementSkill
- reputation-auditSkill
- saved-searchesSkill
- settings-privacySkill
- spaces-liveSkill
- teams-managementSkill
- timeline-viewingSkill
- topic-managementSkill
- twitter-scrapingSkill
- unfollow-managementSkill
- video-downloadingSkill
- viral-thread-generationSkill
- webhooksSkill
- x402-paymentsSkill
- xactions-cliSkill
- xactions-mcp-serverSkill
- x-pro-managementSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 70
Create controlled tests between two tweet variations.
- Very specific: line 88
Run src/tweetPerformance.js — identify this week's top content
- Very specific: line 89
Run src/tweetScheduleOptimizer.js — verify you're posting at optimal times
- Very specific: line 90
Run src/followRatioManager.js → XActions.track() — log weekly ratio
- Very specific: line 91
Run src/engagementLeaderboard.js — identify top engagers to nurture
- Distinctive: line 110
All scripts auto-export results as downloadable JSON
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analytics & Insights
Browser console scripts for analyzing X/Twitter performance — no API key needed. All analysis runs in DevTools console.
Script Selection
| Goal | File | Navigate to |
| Engagement metrics | src/engagementAnalytics.js | x.com/USERNAME |
| Best posting times | src/bestTimeToPost.js | x.com/USERNAME |
| Hashtag analysis | src/hashtagAnalytics.js | x.com/search?q=%23tag |
| Competitor comparison | src/competitorAnalysis.js | Any page |
| Follower audit (fake/bot) | src/auditFollowers.js | x.com/USERNAME/followers |
| Sentiment analysis | src/sentimentAnalyzer.js | Any timeline |
| Tweet performance ranking | src/tweetPerformance.js | x.com/USERNAME |
| Viral tweet detection | src/viralTweetDetector.js | x.com/USERNAME |
| Posting schedule optimizer | src/tweetScheduleOptimizer.js | x.com/USERNAME |
| Follower demographics | src/audienceDemographics.js | x.com/USERNAME/followers |
| Follower growth tracking | src/followerGrowthTracker.js | x.com/USERNAME/followers |
| Content calendar analysis | src/contentCalendar.js | x.com/USERNAME |
| Engagement leaderboard | src/engagementLeaderboard.js | x.com/USERNAME |
| Tweet A/B testing | src/tweetABTester.js | x.com/USERNAME |
| Follow ratio management | src/followRatioManager.js | x.com/USERNAME |
| Audience overlap analysis | src/audienceOverlap.js | x.com/ACCOUNT/followers |
| Account health scoring | src/accountHealthMonitor.js | x.com/USERNAME |
| Shadowban detection | src/shadowbanChecker.js | x.com/USERNAME |
Quick Start
- Navigate to the required page on x.com
- Open DevTools (F12) → Console
- Paste the script → Enter
- Results display in console + auto-export as JSON
Script Details
engagementAnalytics.js
Scrapes your timeline and calculates per-tweet engagement rates (likes + RTs + replies / views). Shows average, median, best/worst performers, and engagement trend over time.
sentimentAnalyzer.js
Lexicon-based sentiment analysis on any timeline. Classifies tweets as positive/negative/neutral. Shows sentiment distribution chart, most positive/negative tweets, and keyword frequency.
tweetPerformance.js
Side-by-side tweet comparison with multi-metric ranking. Sorts by likes, RTs, replies, views, or composite engagement rate. Identifies content patterns that drive performance.
viralTweetDetector.js
Multi-factor viral scoring: engagement velocity, like-to-RT ratio, reply depth, view multiplier. Flags tweets significantly exceeding your baseline. Useful for identifying what resonates.
tweetScheduleOptimizer.js
Analyzes your posting history to build a personalized optimal schedule. Generates heatmaps of engagement by day/hour. Recommends best slots based on YOUR audience's behavior.
audienceDemographics.js
Scrapes follower profiles and classifies by niche (tech, marketing, crypto, etc.), account size, bot likelihood, and verified status. Visual distribution charts.
engagementLeaderboard.js
Ranks users who engage most with your content. Identifies superfans (5+ interactions), regulars, and casual engagers. Exports VIP list for relationship building.
Controls: Auto-run on paste. XActions.pause() / XActions.abort() available.
tweetABTester.js
Create controlled tests between two tweet variations. Post both, track metrics over time, get statistical winner determination with percentage difference.
Controls: XActions.createTest(), XActions.measure(), XActions.results()
followRatioManager.js
Monitors follower/following ratio with letter grades (S→F). Generates 3 improvement paths (unfollow more, gain followers, combination). Tracks ratio history over time.
Controls: XActions.track(), XActions.plan(), XActions.history()
audienceOverlap.js
Compare follower lists between two accounts to find shared followers, unique audiences, and Jaccard similarity. Useful for collaboration decisions and competitor analysis.
Controls: XActions.analyze('accountA', 'accountB')
Strategy Guide
Weekly analytics routine
- Run
src/tweetPerformance.js— identify this week's top content - Run
src/tweetScheduleOptimizer.js— verify you're posting at optimal times - Run
src/followRatioManager.js→XActions.track()— log weekly ratio - Run
src/engagementLeaderboard.js— identify top engagers to nurture
Diagnosing a growth stall
src/accountHealthMonitor.js— check overall account health scoresrc/shadowbanChecker.js— rule out shadowbansrc/audienceDemographics.js— verify you're attracting the right audiencesrc/viralTweetDetector.js— check if you've had any breakout content recentlysrc/competitorAnalysis.js— compare your metrics to peers
Preparing for a content pivot
src/sentimentAnalyzer.js— understand current audience sentimentsrc/tweetPerformance.js— identify what content types worksrc/audienceOverlap.js— compare your audience with target niche leaderssrc/contentCalendar.js— find posting gaps to fill
Notes
- All scripts auto-export results as downloadable JSON
- Accuracy improves with more data — increase
maxPostsin CONFIG for deeper analysis - Engagement rates: (likes + retweets + replies) / views
- Scripts only analyze visible browser data — increase scroll rounds for more data
- localStorage used for historical tracking (growth, A/B tests, ratio history)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

