app-analytics

app-analytics is a skill for Claude Code, Codex from markdavidgan/apple-dev-skills. It costs 111 tokens per session (1,083 once invoked), scanned A, original, MIT.

A guide to choosing product measurements and defining the events an app records, including usage funnels, retention, purchases, and App Store performance. A north-star metric is the main number representing delivered user value, while a funnel shows how users move from arrival to desired outcomes.

In plain words
What is it for?
Use it to choose a main product metric, define activation and retention measurements, plan conversion or subscription tracking, and create a focused analytics event taxonomy.
Why use it?
It prevents teams from collecting excessive data that creates noise and privacy risk without helping them make decisions.

Skill for Claude CodeCodex

Part of the apple-dev-skills plugin — 62 skills, 25 commands, 7 agents shipped together

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.

agentmods
npx agentmods add skills/markdavidgan/apple-dev-skills/app-analytics
Any agent
npx skills add markdavidgan/apple-dev-skills --skill app-analytics
Clone the repo
git clone --depth 1 https://github.com/markdavidgan/apple-dev-skills

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 62 skills, 25 commands, 7 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/markdavidgan/apple-dev-skills/app-analytics.svg)](https://agentmods.dev/skills/markdavidgan/apple-dev-skills/app-analytics)
Your own site
<a href="https://agentmods.dev/skills/markdavidgan/apple-dev-skills/app-analytics"><img src="https://agentmods.dev/badge/skills/markdavidgan/apple-dev-skills/app-analytics.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00111 $0.01083
Opus 5 $0.00056 $0.00541
Sonnet 5 $0.00022 $0.00217
Haiku 4.5 $0.00011 $0.00108

Measured 4d ago against content hash 5480c1f3d626, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

app-analytics 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 4d 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.

platforms/claude/skills/app-analytics/SKILL.md · 80 lines

How it starts

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

App Analytics

Measure the few things that drive decisions — not everything you can. Over-instrumenting creates noise, privacy risk, and a dashboard nobody reads. This skill is about what to measure; performance telemetry is performance-instruments (MetricKit).

Test for every metric: if this number moved, would we do something differently? If not, don't track it.


Start with one north-star metric

A north-star is the single number that best captures delivered user value — leading, not lagging.

  • Good: "weekly active note editors", "sessions completed per user/week", "tracked workouts/week."
  • Weak: raw downloads or DAU alone (vanity; doesn't capture value).
  • The north-star should predict retention and revenue. Everything else is a supporting or guardrail metric.

The funnel (AARRR, pragmatically)

Stage Question Typical metric
Acquisition Are people arriving? Impressions → installs (see asc-aso)
Activation Did they reach first value? % completing the "aha" action in session 1
Retention Do they come back? D1 / D7 / D30 cohort retention
Revenue Do they pay? Trial→paid, conversion, ARPU (see paywall-design, app-store-pricing)
Referral Do they bring others? Invites sent/accepted, rating prompts

Activation and retention are where most apps actually win or lose. Define your activation event precisely ("created and saved 1 note", "logged 3 days") and measure the % who hit it on day 0 — it's the highest-leverage number for a young app.

Retention is a cohort, not a percentage

Always read retention as cohorts (users who installed in week N, % active in weeks N+1, N+7…). A single "retention %" hides whether you're improving. A flattening retention curve (not decaying to zero) is the signal of product-market fit.


Event taxonomy — design it before you instrument

A messy event log is worse than none. Conventions:

Read the full file on GitHub · 80 lines

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. 4d ago First seen · 80 lines · 111 tokens per session scan A 5480c1f3d626

Subscribe to this mod's changes

app-analytics is a skill published in the GitHub repository markdavidgan/apple-dev-skills (5 stars, last pushed 5d ago), licensed MIT. It adds 111 tokens to every session and 1,083 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

asc-apple-ads

Use when managing Apple Ads with asc, including OAuth profiles, ad-account discovery, Platform API v1 campaigns and targeting, reports, assets, recommendations, guarded mutations, raw requests, and Campaign Management API v5 migration.

rorkai/app-store-connect-cli-skills · 50 tokens

asc-aso-audit

Run an offline ASO audit on canonical App Store metadata under ./metadata and surface keyword gaps using Astro MCP. Use after pulling metadata with asc metadata pull.

rorkai/app-store-connect-cli-skills · 40 tokens

asc-localize-metadata

Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI. Use when asked to localize an app's App Store listing, translate app descriptions, or add new languages to App Store Connect.

rorkai/app-store-connect-cli-skills · 60 tokens

asc-revenuecat-catalog-sync

Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements, offerings, and packages using asc and RevenueCat MCP. Use when setting up or syncing subscription catalogs across ASC and RevenueCat.

rorkai/app-store-connect-cli-skills · 51 tokens

asc-shots-pipeline

Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (asc screenshots frame), and screenshot upload (asc screenshots upload). Use when users ask for automated screenshot capture, AXe-driven simulator flows, frame composition…

rorkai/app-store-connect-cli-skills · 79 tokens