Tencent Cloud RUM: Querying Real User Frontend Data via Conversation

Introduction

Web performance issues often arise on specific device models, networks, or page paths, making them difficult to reproduce using local Lighthouse or pre-production stress testing alone. If a team has integrated Tencent Cloud RUM (Real User Monitoring) into their business, the console already contains data such as LCP, JS errors, API latency, and PV/UV. However, during troubleshooting, engineers still need to switch between multiple views and manually piece together time ranges and dimensions.

Tencent Cloud RUM is an Agent Skill published on SkillHub by the Tencent Cloud RUM team (Coordinates: @tencent-adm/tencent-cloud-rum-skill, current version 1.0.3, source: enterprise, category: data-analysis). It consolidates “querying and analyzing Tencent Cloud RUM” into a Skill capability. In clients supporting Skills like Cursor or Claude Code, users can use natural language to instruct the Agent to pull data, interpret metrics, and assist in locating issues according to the Skill’s guidance. The Skill is tagged with requires_api_key=true, meaning Tencent Cloud RUM API credentials must be prepared before use.

What is this

Positioning in one sentence: Designed for web scenarios already integrated with Tencent Cloud RUM, it uses an Agent Skill to query RUM data and perform performance and stability analysis.

It is maintained by the Tencent Cloud RUM team and distributed via SkillHub (Page: https://www.skillhub.cn/skills/tencent-adm/tencent-cloud-rum-skill , API Endpoint: https://api.skillhub.cn/tencent-adm/tencent-cloud-rum-skill ). It solves the problem of “scattered RUM data in the console and high manual correlation costs,” rather than replacing RUM SDK integration or server-side APM.

Core Functions

The following capabilities align with the SkillHub brief and are all publicly announced features:

  1. Web Performance & Web Vitals: Analyzes LCP, FCP, and Web Vitals-related performance to determine if the first screen and core experience meet standards.
  2. Frontend Error Troubleshooting: Queries and summarizes frontend errors such as JS and Promise errors, facilitating problem localization based on user-side stacks and occurrence scope.
  3. API Quality: Views interface latency and error rates to help distinguish between “slow pages” and “backend or gateway anomalies.”
  4. Static Resources: Diagnoses slow static resource loading to narrow down issues related to CDN, bundle size, or path configuration.
  5. Traffic Scale: Views access metrics like PV and UV, combining them with performance and error data to see if issues are concentrated in specific traffic segments.
  6. RUM-APM Correlation: Supports correlated analysis between RUM and APM, reducing manual mapping when frontend-backend tracing is needed.

The explicitly not applicable scope (from the official brief): Pure backend performance, native mobile performance, and non-Tencent Cloud RUM platforms.

Installation and Activation

The general installation method provided on the SkillHub page is: Ask the AI to install @tencent-adm/tencent-cloud-rum-skill based on the SkillHub Installation Documentation. Below is the directly executable CLI path (consistent with Section 3 of the installation documentation).

1. Verify or Install SkillHub CLI

command -v skillhub && skillhub --version

If not installed, you can use the complete installation command from the documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install to the current Agent’s skills directory

During installation, you must use --dir to point to the skills directory recognized by the current client; otherwise, it defaults to ./skills/ which may not be loaded by the Agent.

skillhub install @tencent-adm/tencent-cloud-rum-skill --dir <skills directory>

Common paths (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Directories vary by client; refer to your current environment. After installation, refresh or restart as required by the client to activate the Skill.

3. API Credentials

The tag requires_api_key=true indicates that an API Key (or equivalent credentials required by the Skill documentation) needs to be configured. Specific environment variable names and console activation steps should follow the SKILL.md inside the Skill package and the official Tencent Cloud RUM documentation; this article does not fabricate configuration item names. Before enabling, confirm on the Tencent Cloud side that the account has activated RUM and possesses the corresponding data access permissions.

Alternatively, you can send the following prompt to the AI to let it complete the installation according to the documentation (consistent with the SkillHub page):

Please install `@tencent-adm/tencent-cloud-rum-skill` based on https://skillhub.cn/install/skillhub.md.

Typical Usage

The official page does not list separate copy-paste one-click query commands; the typical usage is to describe the troubleshooting goal in natural language after the Skill is installed and credentials are ready. The Agent will then call Tencent Cloud RUM data capabilities according to the flow within the Skill. The examples below describe common workflows; specific query parameters and returned fields depend on the Skill implementation.

  1. Performance Regression: Specify the page URL or business module and time range, request to view LCP/FCP and Web Vitals distribution or degradation periods, and compare before and after the release.
  2. Online Errors: Describe the error type (e.g., unhandled Promise), request to summarize the error volume, affected pages, and user-side information clues.
  3. API Anomalies: Provide the API path or domain, request to check if latency percentiles and error rates have spiked.
  4. Slow Resources: For a specific visit or resource type, request to analyze static resource latency and the list of slow resources.
  5. Traffic & Experience: View PV/UV and core metrics within the same time window to determine if metric fluctuations are caused by changes in traffic structure.
  6. Frontend-Backend Tracing: Explicitly request RUM-APM correlated analysis when needed, extending from user requests to the backend chain.

Through the steps above, the value of the Agent lies in solidifying “which RUM metrics to query and how to interpret them” within the Skill, reducing the need to re-navigate console menus every time.

Scenarios and Considerations

Who is it for

  • Frontend or Full-stack engineers whose business has integrated Tencent Cloud RUM and want to complete data querying and preliminary diagnosis within IDE conversations.
  • Teams needing to perform daily duty or release reviews regarding Web real user performance, errors, APIs, and resource issues.
  • Teams wanting to perform correlated analysis between RUM and APM to reduce switching between multiple products.

Limitations and Notes

  • The data boundary is limited to Tencent Cloud RUM; other vendors’ RUM, pure server-side performance, and native App performance are not within the promised scope of the brief.
  • API-related credentials must be configured; queries will fail if permissions are insufficient, so please verify in the Tencent Cloud console.
  • SkillHub Statistics (at time of scraping): Rating 100000, Downloads 1053, Installations 49; installation counts and ratings reflect community usage and do not represent real-time consistency with your business data.
  • Analysis conclusions should still be combined with contexts such as release records, CDN, and gateway changes; the Skill assists in reading and summarizing data but cannot replace change management and reproduction verification.

Conclusion

The Tencent Cloud RUM Skill connects Tencent Cloud RUM’s Web performance, error, API, static resource, PV/UV, and RUM-APM correlation capabilities into the Agent workflow. It is suitable for teams already using Tencent Cloud RUM to perform data-driven troubleshooting within conversations. For installation and priority source strategies, see the SkillHub Installation Documentation; for Skill details, see the SkillHub Page and API Endpoint.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye