Tencent Cloud Observability API Routing Assistant
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @tencent-adm/tcop.
About this skill
Problem
Tencent Cloud observability queries are spread across basic monitoring, alarms, APM, RUM, synthetic testing, load testing, Prometheus, and Grafana. Several modules share the tccli monitor service name, so a request like “APM alarms” or “instance metrics” can easily route to the wrong module, use the wrong Namespace, or miss the region, returning empty or irrelevant data.
How It Works
The skill identifies user intent, loads only the relevant references, and routes each request to the right module. For standard public actions, it prefers tccli; for console-internal APIs such as mongodb:DescribeDBInstanceSummaries, it uses the Python SDK CommonClient to reach the backend gateway. Simple scalar parameters are passed on the command line, while arrays or nested objects are written to a temporary JSON file via --cli-input-json. It confirms critical fields when ambiguous, including --region, Namespace, instance IDs, and time windows. Credential failures follow a refresh, interactive login, fallback flow without echoing SecretId or SecretKey.
Boundaries
The skill is read-only. When it detects Create*, Modify*, Delete*, or similar write actions, it does not construct commands and points users to the console instead. It depends on tccli and tencentcloud-sdk-python; Windows may need a python3 alias. It is best for querying monitoring data, troubleshooting alarms, and checking observability metadata, not for changing resources, starting load tests, or deleting configurations.
Use Cases
- Troubleshoot CVM/CDB metrics by assembling GetMonitorData queries with the right namespace and region.
- Audit alarm policies, trigger histories, and notification templates using read-only Describe* APIs.
- Analyze APM traces, spans, and application performance by loading the APM module and calling its read-only APIs.
- Query Prometheus or Grafana data while distinguishing monitor and grafana services for read-only access.
Best For
- SRE engineers who need to verify cloud metric queries, namespaces, and region parameters quickly.
- Platform engineers querying APM, Trace, and call-chain data to pinpoint service performance issues.
- Operations engineers reviewing alarm policies, trigger histories, and notification templates read-only.
- Data engineers querying observability data through Prometheus, Grafana, or Dashboard modules.
Related Skills
An engineer-focused HTTP request smuggling handbook covering CL.TE, TE.CL, TE.TE obfuscation, HTTP/2 downgrade, and client-side desync detection.
Analyzes network captures from Wireshark, tcpdump, Fiddler, and Charles, then pinpoints TCP, HTTP, DNS, and TLS issues with filter expressions and remediation steps.
Lightweight Python Linux HIDS exposing SSH brute-force, web attack, and webshell alerts via MCP with ban controls.
A facial database matching tool for images and videos that identifies known acquaintances and outputs location labels, identity results, and structured reports.