Tencent Cloud Observability Platform (tcop-api): Querying Monitoring and Observability Data Using Natural Language

Preface

When performing operations or troubleshooting on Tencent Cloud, metrics are often scattered across various consoles and OpenAPIs, such as Cloud Product Monitoring, APM, RUM, Alarms, and Dashboards. You have to confirm the product namespace, English metric name, and dimension fields, then piece together request parameters based on documentation, and finally organize the curves or tables yourself. While acceptable for those familiar with one or two specific links, the cost increases significantly when dealing with cross-domain scenarios involving APM, stress testing, Grafana, EventBridge, and more.

Below, we introduce the Tencent Cloud Observability Platform (tcop-api) on SkillHub (Coordinate: @tencent-adm/tcop). It encapsulates observability-related capabilities into an Agent Skill, allowing the conversational side to describe query intents in natural language. The Skill guides the completion of product routing, metric matching, dimension assembly, and API invocation, providing a summary of the results.

What is this

Tencent Cloud Observability Platform tcop-api is an Agent Skill released by the Tencent Cloud Observability Platform team, designed for all-scenario integration (SkillHub source labeled as enterprise, publisher is “Tencent Cloud Observability Platform”). The current version on the SkillHub page is v1.0.1, categorized under it-ops-security.

In one sentence: Within AI clients that support Skills, use natural language to query and aggregate data regarding monitoring, traces, and alarms within the Tencent Cloud observability ecosystem, reducing the need to manually check documentation and piece together OpenAPI parameters.

Core Features

Based on SkillHub and the official introduction, the verified scope of capabilities is as follows.

Covered Sub-product Modules

The Skill declares coverage of 11 sub-product modules, including:

  • APM
  • RUM
  • CAT
  • PTS
  • TMP
  • Grafana
  • Cloud Product Monitoring
  • Alarms
  • Dashboard
  • EventBridge

Among them, Basic Monitoring-related data queries claim to cover 100+ cloud products (subject to the Skill introduction; for the specific product list, refer to the instructions within the Skill package and Tencent Cloud APIs).

From Natural Language to API

The official example flow is as follows: The user describes a query in natural language (e.g., checking the CPU of a CVM instance in a specific region recently), and the Skill completes the following steps sequentially:

  1. Product Routing — Determine which type of observability/monitoring interface to use.
  2. Metric Matching — Map the metric mentioned in the colloquial request to a platform metric.
  3. Dimension Assembly — Fill in dimensions such as region and instance ID.
  4. API Invocation — Call the corresponding Tencent Cloud observability-related API.
  5. Result Summary — Organize the returned data into a readable summary.

Throughout the process, there is no need to check documentation or piece together parameters outside the conversation (subject to your account permissions and API availability).

Installation and Activation

The Skill is distributed based on the universal SKILL.md format. The SkillHub page provides two common activation methods: sending the installation prompt to the AI, or using the skillhub CLI to install it into the current Agent’s skills directory.

Send the following prompt to your AI (Cursor, Claude Code, Codex, or any client supporting Skills can parse this according to their respective Skill mechanisms):

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

The AI will pull and place the Skill in the corresponding skills directory according to SkillHub Installation and Priority Source Configuration.

Method 2: skillhub CLI

If skillhub is already on your machine, you can first confirm the version:

command -v skillhub && skillhub --version

If not installed, you can perform a full installation (including CLI and default Skills) according to the SkillHub documentation:

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

When installing @tencent-adm/tcop, you must use --dir to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized by the client. Common path examples (from SkillHub installation documentation):

Client skills Directory Example
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

The installation command form is as follows (replace <skills directory> with the corresponding path from the table above):

skillhub install @tencent-adm/tcop --dir <skills directory>

You can also search before installing:

skillhub search tcop
skillhub install @tencent-adm/tcop --dir <skills directory>

Configuration Description

The SkillHub tag indicates requires_api_key=false, meaning that a separate Skill API Key is not mandatory at the SkillHub metadata level. However, when actually querying Tencent Cloud monitoring and observability data, it still relies on Tencent Cloud account authentication in your environment (specific fields and configurations are subject to the installed SKILL.md and Tencent Cloud API documentation; configuration items not listed on the official page are not expanded upon in this article).

After installing or updating the Skill, if the client does not automatically load the new skill, restart or refresh the Skill list according to the instructions of your client.

Typical Usage

The following examples are excerpted from the official SkillHub introduction to illustrate the interaction method. Instance IDs need to be replaced with real resources under your account.

In a conversation where @tencent-adm/tcop is enabled, you can directly say:

Query the CPU of CVM ins-xxx in Guangzhou for the last 1 hour

Expected behavior (consistent with the official description): The Skill completes product routing, metric matching, dimension assembly, and API invocation, and returns a summary of CPU-related data, without requiring you to manually write monitoring API parameters like Namespace, MetricName, Instances, etc.

Other scenarios can be described in natural language in the same way, such as queries involving APM traces, RUM frontend performance, alarm records, Dashboards, or EventBridge modules; specific success depends on the interface scope supported within the Skill package and your account permissions.

Applicable Scenarios and Notes

Who is it for

  • Regularly performing operations, SRE, and troubleshooting on Tencent Cloud, requiring frequent queries of monitoring metrics, alarms, or observability sub-product data.
  • Wanting to keep “data querying” within the AI conversation, reducing switching between multiple consoles and API documentation.
  • Already using Agent environments like Cursor, Claude Code, Codex, etc., that support SkillHub skills.

Usage Notes

  1. Permissions and Regions: Query results depend on the Tencent Cloud account’s permissions for target resources and APIs; regions, instance IDs, etc., must be consistent with actual resource information.
  2. Version: The version currently displayed on SkillHub is 1.0.1; for upgrades, use skillhub to update according to the SkillHub documentation and ensure the client has loaded the new version.
  3. Data Caliber: Different sub-products (APM, Basic Monitoring, Grafana, etc.) have different metric definitions. For complex comparative analysis, it is still recommended to verify against Tencent Cloud’s official metric descriptions.
  4. Network and CLI: When installing skillhub or pulling the Skill package in restricted network environments, ensure that the installation script and SkillHub source are accessible.

SkillHub page statistics (as of retrieval time): Rating 100000, Downloads 1701; Category it-ops-security. Statistics change over time; please refer to the SkillHub real-time page.

Conclusion

The Tencent Cloud Observability Platform tcop-api consolidates 11 types of modules, such as APM, RUM, Cloud Product Monitoring, and Alarms, into a single Skill. It uses natural language to drive a fixed link of “Routing → Matching → Parameter Assembly → API Call → Summary,” making it suitable for observability data querying within Agent workflows.

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

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

Xiaoye