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.
npx agentmods add skills/nirholas/xactions/analytics-insightsnpx skills add nirholas/XActions --skill analytics-insightsgit clone --depth 1 https://github.com/nirholas/XActionsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00059 | $0.01366 |
| Opus 5 | $0.00030 | $0.00683 |
| Sonnet 5 | $0.00012 | $0.00273 |
| Haiku 4.5 | $0.00006 | $0.00137 |
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 yesterday.
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.
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 | 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.
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.
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.
- yesterday First seen · 115 lines · 59 tokens per session scan A 3f2def341e22
analytics-insights is a skill published in the GitHub repository nirholas/XActions (492 stars, last pushed 4d ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,366 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
tape-opens
Stack-unwind review of this conversation - a tree of main tasks done (struck through) and every open left behind at the depth it was abandoned, sized by the thread's measured shape, never by feel. Optional argument - a .jsonl path or session id to review a different session.
prompt-optimization
Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…
connect-agent
Connect the codebase's AI agent to LangWatch agent simulations over HTTP, so test suites run against it from the platform. Finds or adds the agent's chat endpoint, wires authentication for scenario traffic, makes the server adopt the W3C traceparent header so the judge reads the agent's own traces, registers the agent…
agent-improve
Turns production evidence into tested improvements for your AI agent. Forms hypotheses from real traces and analytics, explains the reasoning behind each one, then executes with the user: scenario tests that reproduce production failures, prompt and code changes as reviewable PRs, new evaluators and monitors that…
feature-map
Maintain the canonical LangWatch feature map (/feature-map.json). Use when adding features, APIs, MCP tools, CLI commands, or skills — to update the central registry and keep surfaces in sync.