rum-tracking

rum-tracking is a skill for Claude Code from mthines/agent-skills. It costs 75 tokens per session (2,327 once invoked), scanned A, original, MIT.

A guide for deciding which actions in web and mobile apps should be recorded as product analytics or Real User Monitoring. Real User Monitoring means measuring what users experience in the running app.

In plain words
What is it for?
It plans, adds, checks, updates, and removes event tracking in React, Next.js, React Native, and Expo apps, including decisions about useful interactions and personal information.
Why use it?
It helps avoid collecting noisy or sensitive data and keeps tracking changes from breaking reports that depend on them.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit It plans, adds, checks, updates, and removes event tracking in React, Next.js, React Native, and Expo apps, including decisions about useful interactions and personal information.

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

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 hooks.

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 rum-tracking

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/rum-tracking"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/rum-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,327 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.
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.00075 $0.02327
Opus 5.5 $0.00030 $0.00931
Sonnet 5.5 $0.00015 $0.00465
Haiku 4.5 $0.00007 $0.00233

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

Security

Grade A, and why

rum-tracking 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/analytics-wrapper.template.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/analysis/rum-tracking/SKILL.md · 210 lines

How it starts

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

RUM Tracking

Guides product-analytics and RUM event tracking for web (React/Next.js) and mobile (React Native/Expo) apps. Decides what to capture, what to drop, what's PII, and how to add, audit, update, and remove tracking code without breaking downstream dashboards.

External dependency. The OTel guidance in rules/otel-conventions.md builds on the otel-instrumentation and otel-semantic-conventions skills, which live in the dash0 agent-skills repo, not this one. That rule invokes them at runtime via Skill() when they're installed (and otherwise skips them with a one-line report, never silently) — install them alongside this skill to get their authoritative span/metric/attribute guidance.

This SKILL.md is a thin index. Detailed rules live in rules/*.md and load on demand. Worked examples live in references/*.md. Literal scaffolding lives in templates/*.md.


Mode Detection

Parse $1 as the mode. State the detected mode in one line before continuing.

Mode Default Trigger
guide yes "what should I track", "is this worth tracking", default if no mode
implement "add tracking", "instrument this", "track this event"
audit "audit tracking", "review analytics", "find tracking issues"
remove "remove tracking", "delete this event", "deprecate", "/rm-tracking"
plan "tracking plan", "design event schema", "what events do we need"

If $1 is a target file or directory, treat it as the scope for audit, implement, or remove.


Workflow by Mode

Guide mode (default)

The user is deciding whether and what to track at a specific point.

Read the full file on GitHub · 210 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. 1mo ago Changed · -7 lines · -112 tokens per session a3fc33c28dd4
  2. 2mo ago Changed d5c2c6e7dec0
  3. 3mo ago First seen · 217 lines · 187 tokens per session scan A 3de4ca42b5b1

Subscribe to this mod's changes

rum-tracking is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 2,327 once invoked, about $0.0003 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-31.

Related

rum-tracking compared with skills from other repositories

rum-tracking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rum-trackingmthines/agent-skillsSkill22yesterdayMITA75Claude Code
skill-bodycitrolabs/ego-liteSkill26kyesterdayMITA0Claude Code, Codex
ego-browsercitrolabs/ego-liteSkill26kyesterdayMITA125Claude Code, Codex
temporal-developertemporalio/skill-temporal-developerSkill2439d agoMITA216Claude Code, Codex
creating-explainersanalyticalmonk/explain-thisSkill241mo agoMITA98Claude Code, Codex
fact-checking-explainersanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex
explaining-codebasesanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex