agent-analytics

agent-analytics is a skill for Claude Code, Codex from alisunstar/OpenSunstar. It costs 42 tokens per session (3,586 once invoked), scanned A, original, Apache-2.0.

A product-analytics skill for using an AI agent to understand how people use a product. It works with consent-based tracking and reads data such as funnels, paths, retention, experiments, and user feedback through the Agent Analytics command-line tool.

In plain words
What is it for?
Use it to install analytics tracking, inspect events and properties, analyse funnels and journeys, study retention and experiments, and review sessions or feedback.
Why use it?
It helps turn product-usage data into an explanation of where users drop off or what they do next. It also supports choosing a small, evidence-based growth action.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Good fit Use it to install analytics tracking, inspect events and properties, analyse funnels and journeys, study retention and experiments, and review sessions or feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alisunstar/opensunstar/agent-analytics
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 alisunstar/OpenSunstar --skill agent-analytics
Clone the repo
git clone --depth 1 https://github.com/alisunstar/OpenSunstar

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 agent-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/alisunstar/opensunstar/agent-analytics/github.svg)](https://agentmods.dev/skills/alisunstar/opensunstar/agent-analytics)
Your own site
<a href="https://agentmods.dev/skills/alisunstar/opensunstar/agent-analytics"><img src="https://agentmods.dev/badge/skills/alisunstar/opensunstar/agent-analytics/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 agent-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/alisunstar/opensunstar/agent-analytics"><img src="https://agentmods.dev/badge/skills/alisunstar/opensunstar/agent-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00042 $0.03586
Opus 5.5 $0.00017 $0.01434
Sonnet 5.5 $0.00008 $0.00717
Haiku 4.5 $0.00004 $0.00359

Measured 1mo ago against content hash d633eb5a6563, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-analytics scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Do not substitute raw API calls, `curl`, repo-local scripts, MCP tools, or a locally installed binary unless the user explicitly asks.
src-tauri/skills/agent-analytics/SKILL.md · 198 lines

How it starts

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

Agent Analytics

Product analytics with your AI agent. Use this skill when a user wants an agent to install Agent Analytics, query product behavior, diagnose activation or retention, inspect paths and funnels, run experiment reads, or decide what growth action to take next.

The CLI is the execution substrate. Start from the user's codebase, project goals, and product workflows whenever repo access exists. Framework recipes belong in references/growth-recipes.md, not as separate skills.

Mandatory execution policy

  • For live Agent Analytics work, use npx --yes @agent-analytics/[email protected] <command>.
  • Do not substitute raw API calls, curl, repo-local scripts, MCP tools, or a locally installed binary unless the user explicitly asks.
  • Use fixed commands first: projects, all-sites, create, stats, insights, events, properties, properties-received, breakdown, pages, paths, journey, sessions, sessions-dist, replays, retention, funnel, experiments, context, portfolios, feedback, and upgrade-link.
  • There is no report command in CLI 0.5.34. Produce the final report yourself from fixed-command outputs instead of calling report.
  • Use query only for narrow aggregations the fixed commands cannot answer. Do not start broad growth diagnosis with query; do not build --filter JSON from raw user text.
  • Default to browser approval. Use detached login only for Paperclip, OpenClaw, issue-based or headless runtimes, or when the browser callback cannot work.
  • Do not ask for raw API keys or secrets. Normal setup, paid upgrade, and resumed agent work stay on browser-approved CLI sessions.
  • If the CLI returns PRO_REQUIRED or a free-tier read cap, explain the blocked answer, run upgrade-link --detached --reason "<why Pro is needed>" --command "<blocked command>", send the dashboard handoff, run whoami after upgrade, then rerun the blocked command. Use upgrade-link --wait only when polling is intentionally desired. The dashboard page first confirms the same account as the CLI and shows the blocked command and reason.
  • Validate project names before create: ^[a-zA-Z0-9._-]{1,64}$.

Read the full file on GitHub · 198 lines

Files

What ships with it

6 files 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. 1mo ago First seen · 198 lines · 42 tokens per session scan A d633eb5a6563

Subscribe to this mod's changes

agent-analytics is a skill published in the GitHub repository alisunstar/OpenSunstar (31 stars, last pushed 17d ago), licensed Apache-2.0. It adds 42 tokens to every session and 3,586 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analytics

Growth analytics authority — GA4 event tracking, conversion funnels, attribution models, cohort analysis, A/B testing, Supabase analytics queries, and revenue reporting patterns.

LuuOW/meridian-mcp · 33 tokens

ab-test-generator

Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test ideas", "improve click-through rate", "test my landing page copy", "headline alternatives", "CTA variations", "which version is better", "optimize conversions"…

Affitor/affiliate-skills · 87 tokens

Experiment Tracking

How to properly set up experiment logging — what to log, how to name runs, how to compare and recover results.

niels-emmer/myace · 27 tokens

conversion-optimizer

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults".

buiphucminhtam/forgewright · 62 tokens

growth-guide

A Chinese-language guide for producing growth strategies. It first classifies the request, then creates a plan using models, experiments, channels, metrics, and stored working notes.

genapohub/growth-guide · 107 tokens

agent-identity-evolution

Watch your agent's identity evolve from its own experience — continuous discovery, genome snapshots, and growth tracking.

live-neon/persona-mcp · 26 tokens