You are my X/Twitter analytics expert. I want to use XActions to measure my performance, find the best times to post, analyze competitors, and make data-driven decisions about my content strategy.
I'm using XActions (https://github.com/nirholas/XActions), an open-source X/Twitter toolkit with analytics capabilities. It can pull engagement data, post analytics, account metrics, creator dashboard stats, and competitive intelligence — without the paid Twitter API.
Build me a complete analytics overview:
-
Profile snapshot using
x_get_profile:- Current followers, following, tweet count
- Recent growth trend
- Follower-to-following ratio assessment
-
Engagement analytics using
x_get_analytics:"Get my account analytics for the last 28 days"- Impressions trend
- Profile visits
- Mentions
- New followers gained
- Engagement rate (interactions / impressions)
-
Post performance using
x_get_tweetson my own profile:- Pull my last 50 tweets
- Rank by engagement (likes + retweets + replies)
- Find my top 5 best-performing tweets
- Find my worst-performing tweets
- Calculate average engagement per tweet
- Calculate engagement rate (avg engagements / followers * 100)
-
Content type analysis:
- Which performs better: text-only, images, threads, polls, links?
- Average likes for each format
- Which topics get the most engagement?
Present this as a clean dashboard overview.
Help me find optimal posting times:
-
Analyze my posting history:
- Pull my recent tweets with timestamps
- Map engagement by hour of day and day of week
- Create a heatmap: "Monday 9 AM: avg 45 likes, Tuesday 12 PM: avg 82 likes"
-
Using
bestTimeToPost.jsbrowser script:- Navigate to my profile
- The script analyzes tweet timestamps vs engagement rates
- Identifies the top 5 time slots for my audience
- Accounts for timezone differences
-
Recommendations:
- Top 3 posting times for maximum reach
- Top 3 posting times for maximum engagement
- Times to avoid (low activity periods)
- How my optimal times compare to general best practices
-
A/B testing plan:
- Schedule the same type of content at different times
- Track for 2 weeks
- Compare results and refine timing
Analyze individual post performance using x_get_post_analytics:
-
For a specific tweet:
"Analyze this tweet: [URL]"- Impressions (total views)
- Engagements (clicks, likes, replies, retweets)
- Engagement rate
- Profile clicks generated
- Link clicks (if applicable)
-
Compare top vs bottom tweets:
- What made my best tweet work? (topic, format, time, hook)
- What made my worst tweets flop?
- Patterns I should repeat vs avoid
-
Thread analytics:
- First tweet impressions vs last tweet impressions (drop-off rate)
- Which tweet in the thread got the most engagement?
- Optimal thread length based on my data
Deep competitive intelligence using x_competitor_analysis:
-
Compare accounts:
"Compare these accounts: @competitor1, @competitor2, @competitor3, and my account @myusername" -
Metrics to compare:
- Follower count and growth rate
- Posting frequency
- Average engagement per post
- Content mix (tweets, threads, images, polls)
- Top-performing content themes
- Follower-to-following ratio
-
Content strategy analysis per competitor: Using
x_get_tweetsfor each competitor:- What topics do they post about most?
- What format gets them the most engagement?
- How often do they post?
- Do they use threads? How long?
- Do they engage in replies?
-
Steal their audience:
- Use
x_get_followerson competitors to find potential followers - Cross-reference with your follower list for overlap
- Identify high-value accounts following competitors but not you
- Create content that addresses gaps competitors don't cover
- Use
Research hashtag performance:
-
Analyze specific hashtags:
"Search for tweets with #buildinpublic from the last week and analyze engagement" -
Compare hashtag performance:
- Average engagement on tweets with vs without hashtags
- Which hashtags bring more impressions?
- Optimal number of hashtags (usually 1-3 on X)
-
Trending hashtags using
x_get_trends:"What's trending right now in technology?"- Identify trending topics to newsjack
- Find hashtags you can add value to
Track what people say about you/your brand using x_brand_monitor:
-
Monitor mentions:
"Monitor mentions of 'XActions' and analyze sentiment" -
Sentiment analysis:
- Positive, negative, neutral breakdown
- Common praise points
- Common complaints
- Influencer mentions (high-impact positive or negative)
-
Notification analysis using
x_get_notifications:"Get my last 100 notifications and categorize them"- What type of engagement am I getting most? (likes, follows, replies, retweets)
- Who engages with me most frequently?
- Which tweets are still generating engagement days later?
For Premium users, use x_creator_analytics:
- Creator dashboard:
"Get my creator analytics for the last 28 days"- Revenue (if monetized)
- Subscriber count
- Top-performing premium content
- Growth metrics
For advanced analysis, walk me through the DevTools scripts:
- Paste in console on your profile
- Calculates engagement rate per tweet
- Identifies your most engaging content patterns
- Generates a report with recommendations
- Analyzes your tweets' timestamps vs engagement
- Builds a time-slot performance map
- Recommends optimal posting schedule
- Compare up to 5 accounts side by side
- Engagement benchmarking
- Content strategy comparison
- Track hashtag performance over time
- Find trending hashtags in your niche
- Recommend hashtags based on your content
Help me set up ongoing tracking:
-
Weekly metrics to track:
- Followers gained/lost
- Total impressions
- Engagement rate
- Top tweet of the week
- New meaningful connections
-
Monthly reporting:
- Growth trend chart
- Content performance by type
- Competitor comparison update
- Goals progress (followers, engagement rate, etc.)
-
Export & visualize:
- Use CLI:
xactions tweets myusername --limit 100 --format csv - Import to Google Sheets
- Create charts showing growth over time
- Track key metrics week over week
- Use CLI:
Based on all analytics, help me create an optimized strategy:
- Content pillars — Based on what performs best, define 3-5 content themes
- Format optimization — Double down on the format that works (threads? polls? images?)
- Timing optimization — Post at proven best times
- Audience optimization — Focus on the audience segment that engages most
- Engagement strategy — When and how to reply, quote tweet, engage with others
(Replace before pasting)
- My username: YOUR_USERNAME
- Competitors to track: @comp1, @comp2, @comp3
- My brand/product: BRAND_NAME
- Current engagement rate: RATE (or "I don't know, help me calculate")
- Analytics period: last 28 days / last 90 days
Start with Part 1 — build me a complete analytics dashboard for my account.