Tencent Cloud APM Performance Analysis
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @tencent-adm/apm-performance-analysis.
About this skill
Problem
When production services show slow APIs, abnormal traces, or fluctuating metrics, engineers often have to pull APM data from multiple sources, manually correlate metrics, logs, and traces, and then identify the bottleneck. Tencent Cloud APM Performance Analysis consolidates this workflow into a single toolchain: it connects to a remote APM MCP Server through the official Tencent Cloud SDK method ApmClient.SendMCPMessage, then discovers available tools and invokes the appropriate performance analysis capability after user confirmation.
Workflow
The skill follows a confirm-before-invoke pattern:
- Check environment variables such as
TENCENTCLOUD_SECRET_ID; if missing, guide configuration using the provided template without writing keys into project files. - Use the embedded client to run
pingand verify connectivity. - Use
list-tools --output jsonto discover available tools. - Present tools and parameters, then confirm the target, scope, and optional arguments.
- Execute the call with
call-tool --name <tool> --args '{...}'. - Interpret the response and provide performance analysis recommendations.
During invocation, credentials are managed through shell environment variables and authenticated with Tencent Cloud’s standard API signing method TC3-HMAC-SHA256. The skill avoids hard-coding secrets into scripts, logs, or conversation; if a user provides plaintext credentials, they should be configured in the terminal and not echoed.
Boundaries
This skill fits teams that already have Tencent Cloud APM permissions and want to run diagnostics through MCP-style tooling. The environment must have network access, the correct Endpoint, and completed service role authorization; authorization failures should be resolved in the console. In mobile or restricted environments, the workflow must avoid IDE confirmation popups, must not create temporary files or run deletion commands, and should present data directly in Markdown tables, code blocks, or tree structures.
Use Cases
- When an API’s P99 latency rises, use APM MCP tools to query metrics and locate slow calls.
- During initial setup, verify credentials, connectivity, and the operations supported by MCP.
- When service role authorization fails, follow the error log guidance to authorize in the console and retry.
- For remote mobile diagnostics, retrieve the tool list and interpret results without creating temporary files.
Best For
- SREs responsible for production observability who need to invoke APM tools quickly when latency anomalies occur.
- Operations engineers using Tencent Cloud APM who want to manage performance analysis calls through MCP tools.
- Backend engineers troubleshooting production performance issues who need to confirm available MCP operations and call the right tool.
- Engineers handling remote mobile incidents who need to complete diagnostics without IDE popups or temporary files.
Related Skills
Analyzes network captures from Wireshark, tcpdump, Fiddler, and Charles, then pinpoints TCP, HTTP, DNS, and TLS issues with filter expressions and remediation steps.
Detects AI-generated images from Stable Diffusion, Midjourney, and GPT-4o via Tencent Cloud image moderation and returns risk scores.
A log analysis tool combining deterministic rules and AI reasoning, with error severity levels, keyword filtering, real-time monitoring, webhook alerts, batch directory analysis, and path, SSRF, and XSS protections.
A WCAG 2.2 accessibility audit and remediation guide covering scans, manual checks, issue mapping, and retesting records.