devlab-web-skywalking-rum-usage

devlab-web-skywalking-rum-usage is a skill for Claude Code, Codex from seed-forge/harness-ai-kit. It costs 81 tokens per session (2,648 once invoked), scanned A, original, Apache-2.0.

A guide for connecting a browser-based application to Apache SkyWalking RUM, a monitoring system for real users in their browsers. It covers JavaScript errors, page performance, API calls, single-page app navigation, and links between browser and backend traces.

In plain words
What is it for?
Use it to install and configure the SkyWalking browser SDK in Vue, React, Angular, Svelte, or plain JavaScript applications; collect Core Web Vitals; monitor fetch or Axios calls; track SPA route changes; and connect browser activity to backend traces.
Why use it?
It helps teams see browser failures and performance problems alongside the requests that caused them. It also clarifies which monitoring tasks belong elsewhere, such as operating the SkyWalking server or managing grouped error reports.

Skill for Claude CodeCodex

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/seed-forge/harness-ai-kit/devlab-web-skywalking-rum-usage
Any agent
npx skills add seed-forge/harness-ai-kit --skill devlab-web-skywalking-rum-usage
Clone the repo
git clone --depth 1 https://github.com/seed-forge/harness-ai-kit

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 devlab-web-skywalking-rum-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-web-skywalking-rum-usage.svg)](https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-web-skywalking-rum-usage)
Your own site
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-web-skywalking-rum-usage"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-web-skywalking-rum-usage.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,648 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.1 $0.00081 $0.02648
Opus 5 $0.00041 $0.01324
Sonnet 5 $0.00016 $0.00530
Haiku 4.5 $0.00008 $0.00265

Measured 5d ago against content hash b33f64c930a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

devlab-web-skywalking-rum-usage 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 5d 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/devlab-web-skywalking-rum-usage/SKILL.md · 277 lines

How it starts

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

devlab-frontend-skywalking-rum-usage

为前端应用接入 SkyWalking RUM(Real User Monitoring),实现 JS 错误监控、API 调用监控、Core Web Vitals 采集、SPA 路由感知和前后端分布式链路追踪。

本 Skill 负责浏览器性能/RUM 和浏览器链路;前端错误聚合、Source Map 与 Issue 管理统一走 infra-glitchtip-ops。完整支柱路由可选参考 devlab-observability-onboardREFERENCE-ROUTE-TABLE.md

适用场景

  • 为前端应用安装并配置 skywalking-client-js
  • 接入全局 JS 错误捕获(适配各前端框架)
  • 采集 Core Web Vitals(LCP / CLS / INP)
  • 监控 XHR / Fetch / Axios 等 API 调用的延迟和错误率
  • SPA 路由切换时上报 PV 和性能数据
  • 通过 sw8 header 实现浏览器→后端的分布式 trace 关联

不适用场景

  • SkyWalking OAP 部署/升级/运维 → 使用 infra-skywalking-ops
  • 后端 Java Agent 接入 → 使用 devlab-srv-skywalking-usage
  • 前端错误聚合平台(Source Map / Issue 管理) → 使用 infra-glitchtip-ops
  • OAP REST 端口反代配置 → 使用 infra-ingress-ops

前置条件

  • SkyWalking OAP 版本 ≥ 10.2.0(Browser API 必须)
  • OpenResty 已配置 RUM 反代(/browser/perfData/ → OAP REST :12800),含 CORS
  • 前端项目可使用 npm 安装依赖

工作顺序

1. 安装 SDK

npm install skywalking-client-js --save

2. 初始化配置

在项目入口文件中初始化 SDK。参数通过环境变量注入,禁止硬编码

// src/monitor/skywalking-rum.ts
import ClientMonitor from 'skywalking-client-js';

export function initRum(options: {
  collector: string;   // OpenResty HTTPS 反代地址,如 https://rum.{base_domain}
  service: string;     // 应用标识,如 'my-app-web'
  version: string;     // 应用版本号,如 'v1.0.0'
}) {
  ClientMonitor.register({
    collector: options.collector,
    service: options.service,
    serviceVersion: options.version,
    pagePath: location.pathname,
    jsErrors: true,          // JS 运行时错误
    apiErrors: true,         // API 调用错误(XHR/Fetch/Axios/SuperAgent)
    resourceErrors: true,    // 资源加载错误(图片/脚本/样式)
    useWebVitals: true,      // Core Web Vitals(LCP/CLS/INP)
    enableSPA: true,         // SPA hashchange 自动 PV 上报
    noTraceOrigins: [/localhost/, /127\.0\.0\.1/], // 开发环境排除
    traceTimeInterval: 60000, // 上报间隔(ms)
  });
}

环境变量配置示例

框架 环境变量前缀 示例
Vite VITE_ VITE_SW_COLLECTOR=https://rum.{base_domain}
Next.js NEXT_PUBLIC_ NEXT_PUBLIC_SW_COLLECTOR=...
Create React App REACT_APP_ REACT_APP_SW_COLLECTOR=...
Vue CLI VUE_APP_ VUE_APP_SW_COLLECTOR=...

Read the full file on GitHub · 277 lines

Files

What ships with it

4 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. 5d ago First seen · 277 lines · 81 tokens per session scan A b33f64c930a1

Subscribe to this mod's changes

devlab-web-skywalking-rum-usage is a skill published in the GitHub repository seed-forge/harness-ai-kit (22 stars, last pushed 4d ago), licensed Apache-2.0. It adds 81 tokens to every session and 2,648 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

create-video-seedance-2-fal

Generate a single 4-15s vertical video clip with ByteDance Seedance 2.0 reference-to-video via fal.ai. Multi-image reference (avatar + product + setting), native lip-synced VO + ambient audio (generate-audio on by default), internal multi-cut handling within one render. Routes through the GooseWorks FAL proxy (bills…

gooseworks-ai/goose-skills · 117 tokens

comprehensive-enrichment

Enrich any person or company from any identifier — email, name, LinkedIn URL, domain, company name, Twitter/X handle. Use when asked to enrich, look up, or research a lead, contact, person, or company.

gooseworks-ai/goose-skills · 53 tokens

google-search-ads-builder

End-to-end Google Search Ads campaign builder. Performs deep keyword research (competitor SEO, review language mining, Reddit/HN community terminology, site audit), builds keyword architecture with funnel mapping and intent classification, creates ad group structure, generates headline/description variants, builds…

gooseworks-ai/goose-skills · 79 tokens

create-dashboard

Create a custom web dashboard (React + Vite + Express) inside your sandbox to visualize the agent's Turso database. The dashboard is served on port 3847 and the user sees it live in the "App" tab in Gooseworks. Use when the user asks for a dashboard, visualization, chart, metric view, or any custom UI powered by their…

gooseworks-ai/goose-skills · 80 tokens

create-workflow-diagram

Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.

gooseworks-ai/goose-skills · 45 tokens