analytics-insights

analytics-insights is a skill for Claude Code, Codex from nirholas/XActions. It costs 59 tokens per session (1,366 once invoked), scanned A, original, Apache-2.0.

Browser-console scripts for analyzing activity and audiences on X, formerly known as Twitter. They examine posts, hashtags, competitors, followers, and engagement.

In plain words
What is it for?
Use them to review engagement, compare competitors, find posting times, audit followers, analyze sentiment, rank posts, detect viral posts, study demographics, track growth, and inspect content calendars.
Why use it?
They collect several kinds of account and content information in one place without requiring an API key.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them to review engagement, compare competitors, find posting times, audit followers, analyze sentiment, rank posts, detect viral posts, study demographics, track growth, and inspect content calendars.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/xactions/analytics-insights
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nirholas/XActions --skill analytics-insights
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analytics-insights

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/xactions/analytics-insights/github.svg)](https://agentmods.dev/skills/nirholas/xactions/analytics-insights)
Your own site
<a href="https://agentmods.dev/skills/nirholas/xactions/analytics-insights"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/analytics-insights/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analytics-insights

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/xactions/analytics-insights"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/analytics-insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01366
Opus 5.5 $0.00024 $0.00546
Sonnet 5.5 $0.00012 $0.00273
Haiku 4.5 $0.00006 $0.00137

Measured 11d ago against content hash 7975e95bfce3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

analytics-insights scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analytics-insights/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 browser/engagementAnalytics.js x.com/USERNAME
Best posting times browser/bestTimeToPost.js x.com/USERNAME
Hashtag analysis browser/hashtagAnalytics.js x.com/search?q=%23tag
Competitor comparison browser/competitorAnalysis.js Any page
Follower audit (fake/bot) browser/auditFollowers.js x.com/USERNAME/followers
Sentiment analysis browser/sentimentAnalyzer.js Any timeline
Tweet performance ranking browser/tweetPerformance.js x.com/USERNAME
Viral tweet detection browser/viralTweetDetector.js x.com/USERNAME
Posting schedule optimizer browser/tweetScheduleOptimizer.js x.com/USERNAME
Follower demographics browser/audienceDemographics.js x.com/USERNAME/followers
Follower growth tracking browser/followerGrowthTracker.js x.com/USERNAME/followers
Content calendar analysis browser/contentCalendar.js x.com/USERNAME
Engagement leaderboard browser/engagementLeaderboard.js x.com/USERNAME
Tweet A/B testing browser/tweetABTester.js x.com/USERNAME
Follow ratio management browser/followRatioManager.js x.com/USERNAME
Audience overlap analysis browser/audienceOverlap.js x.com/ACCOUNT/followers
Account health scoring browser/accountHealthMonitor.js x.com/USERNAME
Shadowban detection browser/shadowbanChecker.js x.com/USERNAME

Quick Start

  1. Navigate to the required page on x.com
  2. Open DevTools (F12) → Console
  3. Paste the script → Enter
  4. 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.

Read the full file on GitHub · 115 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed 7975e95bfce3
  2. 3mo ago First seen · 115 lines · 59 tokens per session scan A 3f2def341e22

Subscribe to this mod's changes

analytics-insights is a skill published in the GitHub repository nirholas/XActions (672 stars, last pushed 4d ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,366 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

analytics-insights compared with skills from other repositories

analytics-insights next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analytics-insightsnirholas/XActionsSkill6724d agoApache-2.0A59Claude Code, Codex
social-x-post-cardnexu-io/open-designSkill110ktodayApache-2.0A31Claude Code, Codex
card-twitternexu-io/open-designSkill110ktodayApache-2.0A15Claude Code, Codex
social-x-post-cardnexu-io/html-anythingSkill17k2d agoApache-2.0A33Claude Code, Codex
twitter-clipublic-clis/twitter-cliSkill3.0k3d agoApache-2.0A43Claude Code, Codex
card-twitternexu-io/html-anythingSkill17k2d agoApache-2.0A17Claude Code, Codex
x_intelmateaix/mateclawSkill1.2ktodayApache-2.0A24Claude Code, Codex