frontend-observability

frontend-observability is a skill for Claude Code, Codex from stareezy-1/frontend-architecture-skill. It costs 243 tokens per session (4,684 once invoked), scanned A, original, MIT.

A reusable system for measuring what users do and experience in React and React Native apps. It defines shared event names, sends data to available providers, records real-user performance, reports errors, and checks consent.

In plain words
What is it for?
Use it to track user actions, collect Core Web Vitals from real visits, report frontend errors, and send approved data to analytics services.
Why use it?
It avoids scattered event names and prevents analytics failures from breaking or slowing the app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Use it to track user actions, collect Core Web Vitals from real visits, report frontend errors, and send approved data to analytics services.

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

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 frontend-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/stareezy-1/frontend-architecture-skill/frontend-observability/github.svg)](https://agentmods.dev/skills/stareezy-1/frontend-architecture-skill/frontend-observability)
Your own site
<a href="https://agentmods.dev/skills/stareezy-1/frontend-architecture-skill/frontend-observability"><img src="https://agentmods.dev/badge/skills/stareezy-1/frontend-architecture-skill/frontend-observability/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 frontend-observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/stareezy-1/frontend-architecture-skill/frontend-observability"><img src="https://agentmods.dev/badge/skills/stareezy-1/frontend-architecture-skill/frontend-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,684 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.00243 $0.04684
Opus 5.5 $0.00097 $0.01874
Sonnet 5.5 $0.00049 $0.00937
Haiku 4.5 $0.00024 $0.00468

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

Security

Grade A, and why

frontend-observability 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 3mo 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.

skills/frontend-observability/SKILL.md · 421 lines

How it starts

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

Frontend Observability (the field side)

Portable skill — readable by Claude Code, OpenCode, Codex, Cursor, Windsurf, and others. This skill describes a field-side observability system — event taxonomy, provider fan-out, real-user vitals, error reporting, consent — not a dashboard or a specific vendor. It is the field complement to the frontend-lighthouse skill: Lighthouse is the lab gate (synthetic, pre-merge); this is the field (what real users actually experience). It lives in a services/analytics/ module per the frontend-architecture skill.

The goal: you can answer "what are real users doing, and what are they experiencing?" — with a typed event vocabulary (no stringly-typed track("clicked_thing") scattered everywhere), a fan-out that is best-effort (a broken provider never breaks the app), real Core Web Vitals from the field, and consent respected before anything fires.


0. The five core ideas

  1. Events are a typed vocabulary. Event names are canonical constants with a union type — never inline string literals. The taxonomy is reviewable in one file and the compiler rejects typos.
  2. Fan-out is best-effort and non-blocking. track() dispatches to every provider, each in its own try/catch. A missing global, a thrown provider, an unloaded script — none can throw into the caller or stop the other providers.
  3. One entry point, SSR-safe. A single track(event, props) is the only way to record. It's reached through a context hook that no-ops outside a provider and on the server, so instrumented components render safely anywhere.
  4. Field vitals complement lab budgets. Real-user LCP/INP/CLS are reported to the same fan-out. Lighthouse proves the build can be fast; field vitals prove it is — together they close the loop.
  5. Consent gates everything. No telemetry (events, vitals, error reports with PII) fires before opt-in. Consent state is checked at the fan-out boundary, not sprinkled through call sites.

Read the full file on GitHub · 421 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. 3mo ago First seen · 421 lines · 243 tokens per session scan A c67ab3f3ac56

Subscribe to this mod's changes

frontend-observability is a skill published in the GitHub repository stareezy-1/frontend-architecture-skill (10 stars, last pushed 5mo ago), licensed MIT. It adds 243 tokens to every session and 4,684 once invoked, about $0.0010 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

frontend-observability compared with skills from other repositories

frontend-observability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-observabilitystareezy-1/frontend-architecture-skillSkill105mo agoMITA243Claude Code, Codex
vercel-react-best-practicescalesthio/OpenMontageSkill84k16d agoAGPL-3.0A67Claude Code, Codex
vercel-composition-patternscalesthio/OpenMontageSkill84k16d agoAGPL-3.0A58Claude Code, Codex
brainstorm-featureHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA46Codex
frontendcode-yeongyu/oh-my-openagentSkill71ktodaynoneA79Claude Code, Codex
implement-featureHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA25Codex
implementation-readinessHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA27Codex