analytics-insights
Skill by nirholas
Analyzes X/Twitter engagement, hashtags, competitors, posting times and follower demographics using browser console scripts. Runs in DevTools on x.com with no API key. Aimed at X users who want data-driven insights into their own performance.
Install analytics-insights
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nirholas/XActions /tmp/XActions && mkdir -p ~/.claude/skills && cp -r /tmp/XActions/skills/analytics-insights ~/.claude/skills/analytics-insightsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nirholas/XActions /tmp/XActions && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/XActions/skills/analytics-insights ~/.gemini/antigravity-cli/skills/analytics-insightsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
analytics-insights is an agent skill made of browser console scripts for analyzing X/Twitter performance. It covers engagement metrics, best posting times, hashtag analysis, competitor comparison, follower audits, sentiment analysis, viral tweet detection, content calendar gaps, A/B testing and engagement leaderboards. The source says no API key is needed.
You open the matching x.com page, paste a script into the DevTools console, and read the results there. Each script also auto-exports its results as downloadable JSON. Some scripts store historical data in localStorage, for example for follower growth, A/B tests and follow ratio history. The skill is aimed at X users who want to optimize their posting based on their own data.
Written from the project's SKILL.md and checked against it.
What it can do
- Engagement metricsCalculates per-tweet engagement rates with average, median, best and worst performers.
- Best posting timesBuilds day and hour heatmaps and recommends posting slots from your own history.
- Viral tweet detectionScores tweets on several factors and flags those well above your baseline.
- Follower demographicsClassifies followers by niche, account size, bot likelihood and verified status.
- Tweet A/B testingRuns controlled tests between two tweet variations and determines a winner.
- Engagement leaderboardRanks users who engage most and exports a VIP list of superfans.
- Sentiment analysisClassifies timeline tweets as positive, negative or neutral using a lexicon.
- Shadowban detectionChecks whether an account may be shadowbanned.
- Audience overlapFinds shared followers and Jaccard similarity between two accounts.
- Follow ratio managementGrades your follower to following ratio and suggests three improvement paths.
What you need
- A web browser with access to x.com
- Browser DevTools console
- The analysis scripts from the src folder
Try asking
- Use analytics-insights to find my best posting times on X.
- Run a viral tweet check on my recent posts and flag breakout content.
- Compare my audience overlap with a competitor's followers on X.
Good to know
- Scripts only analyze visible browser data, so more scroll rounds give more data.
- Accuracy improves with more data. Increase maxPosts in CONFIG for deeper analysis.
- Historical tracking is stored in localStorage.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/analytics-insights/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/script-configs.md3 KB
Alternatives to analytics-insights
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
analytics-insights: common questions
Does analytics-insights need an X API key?
No. The source says all analysis runs in the DevTools console and no API key is needed.
Where do the results appear?
Results display in the browser console and are auto-exported as downloadable JSON.
How is engagement rate calculated?
The source defines it as (likes + retweets + replies) divided by views.
How do I install analytics-insights?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is analytics-insights free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is analytics-insights safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to analytics-insights?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
