web-rum

web-rum is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 73 tokens per session (748 once invoked), scanned A, original, Apache-2.0.

A guide to collecting real-user data from a web frontend, including page views, browser performance measurements, and frontend errors. Real-user monitoring means measuring what people experience in their browsers.

In plain words
What is it for?
Use it to add Core Web Vitals such as LCP, INP, and CLS, record route changes and errors, and send the events to the app or a monitoring service.
Why use it?
It defines what the frontend should send and prevents duplicate monitoring setups or incomplete performance data.

Skill for Claude CodeCodex

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

Good fit Use it to add Core Web Vitals such as LCP, INP, and CLS, record route changes and errors, and send the events to the app or a monitoring service.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/web-rum"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/web-rum.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 748 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.00073 $0.00748
Opus 5.5 $0.00029 $0.00299
Sonnet 5.5 $0.00015 $0.00150
Haiku 4.5 $0.00007 $0.00075

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

Security

Grade A, and why

web-rum 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.

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.

catalog/agents/release-engineer/skills/web-rum/SKILL.md · 37 lines

How it starts

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

Real-user monitoring for a web frontend

What the frontend's golden signals need: Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift (judged at the 75th percentile), page views, and front-end errors. Choose one path per app; never ship two RUM SDKs.

Path 1 — the app's own backend (no vendor)

  1. Add web-vitals and report every metric once per page view: onLCP(send); onINP(send); onCLS(send); onFCP(send); onTTFB(send); where send posts {name, value, rating, id, navigationType, page, release} with navigator.sendBeacon('/api/rum', body) (falling back to fetch(..., {keepalive: true})).
  2. Page views: one event per route change from the router (not per render).
  3. The backend's /api/rum endpoint validates the body (known name, a number value, a bounded size), rate-limits by client, and writes one structured log line per event — event=web_vital name=LCP value=2310 rating=needs-improvement page=/checkout release=1.42.0 — and answers 204. Those lines are what a logs data source (Loki, Elasticsearch, the cloud's logging) reads; the web.* signals bind to them.
  4. Front-end errors: window.addEventListener('error' | 'unhandledrejection') posting the message, stack, page and release to the same endpoint as event=frontend_error.

page is the route pattern (/orders/:id), never the raw URL: ids and query strings are personal data and explode the label count.

Path 2 — Sentry

@sentry/browser (or @sentry/react, @sentry/nextjs) with browserTracingIntegration(); release and environment set from the build, tracesSampleRate 0.1 in production. Web Vitals and errors come with it; a sentry data source reads its issues and release health.

Path 3 — PostHog

posthog-js with capture_pageview: 'history_change' for single-page apps and capture_performance for web vitals; the project key is public, the host is the team's PostHog instance.

Either way

  • No personal data in any event: no email, name, token, form value or full URL.
  • Sample when traffic is high (10% of sessions still gives a stable p75).
  • The release version rides on every event, so a deploy-impact read can compare before and after.

Read the full file on GitHub · 37 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 First seen · 37 lines · 73 tokens per session scan A d5c379e7c01f

Subscribe to this mod's changes

web-rum is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 748 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-10-18.

Related

web-rum compared with skills from other repositories

web-rum next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-rummakifbaysal/tasktrooperSkill123todayApache-2.0A73Claude Code, Codex
paperclip-create-agentpaperclipai/paperclipSkill118kyesterdayMITA44Claude Code, Codex
agent-topology-optimizerruvnet/rufloSkill83ktodayMITA21Claude Code
ramppaperclipai/paperclipSkill118kyesterdayMITA35Claude Code, Codex
paperclip-task-bridgepaperclipai/paperclipSkill118kyesterdayMITA27Claude Code, Codex
github-pr-workflowpaperclipai/paperclipSkill118kyesterdayMITA39Claude Code, Codex
agent-v3-memory-specialistruvnet/rufloSkill83ktodayMITA25Claude Code