# huawei-cloud-ces-ecs-monitoring

huawei-cloud-ces-ecs-monitoring is a skill for Claude Code and Codex that queries ECS metrics through Cloud Eye Service to inspect resource usage and performance trends.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 239 installs · ★ 59 repo stars
- Author: huaweicloud
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/monitoring/ces/huawei-cloud-ces-ecs-monitoring/SKILL.md
- Updated: 2026-11-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/huawei-cloud-ces-ecs-monitoring

## What it does

The skill uses Huawei Cloud CLI (`hcloud`) with Cloud Eye Service (CES) to find ECS instances and retrieve CPU, memory, disk, and network data. It can query current and past metrics and analyze resource use.

You need `hcloud` installed, Huawei Cloud credentials configured, and IAM access to ECS and CES metrics. The skill checks configuration with `hcloud configure list`, and its CLI commands require a region. Base `SYS.ECS` metrics do not require an agent; `AGT.ECS` metrics require Telescope. Requests fail when the account lacks the required permissions.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ces-ecs-monitoring -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/huawei-cloud-ces-ecs-monitoring/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/huawei-cloud-ces-ecs-monitoring/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ces-ecs-monitoring -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/huawei-cloud-ces-ecs-monitoring/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ces-ecs-monitoring -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/huawei-cloud-ces-ecs-monitoring/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install huaweicloud/huaweicloud-skills skills/monitoring/ces/huawei-cloud-ces-ecs-monitoring
```

2. **Manually: put the files in place**
- File: `.github/skills/huawei-cloud-ces-ecs-monitoring/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ces-ecs-monitoring -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/huaweicloud/huaweicloud-skills --path skills/monitoring/ces/huawei-cloud-ces-ecs-monitoring
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/huawei-cloud-ces-ecs-monitoring/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ces-ecs-monitoring -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/monitoring/ces/huawei-cloud-ces-ecs-monitoring/SKILL.md

## When to use it
- check CPU and memory use on an ECS instance
- retrieve disk read and write metrics
- inspect incoming and outgoing network traffic
- review historical ECS metrics
- investigate resource use when an instance slows down

## Example prompts
- Show CPU and memory use for the `ecs-server-01` instance.
- Analyze disk I/O trends for the last 7 days.
- Check ECS metrics because the server is running slowly.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 80e6159f31daa1af.

BEGIN THIRD-PARTY FILE 80e6159f31daa1af
````text
---
name: huawei-cloud-ces-ecs-monitoring
description: |
  Huawei Cloud ECS monitoring skill using Cloud Eye Service (CES). Provides comprehensive monitoring
  and metrics query for Elastic Cloud Server instances including CPU, memory, disk, network, and
  system metrics. Supports real-time monitoring, historical data query, and common metric analysis.
  Use when users need to monitor ECS instance performance, check resource utilization, analyze
  trends, or troubleshoot performance issues.
  Triggers: "Huawei Cloud ECS monitoring", "ECS metrics", "Cloud Eye Service ECS monitoring", "CES ECS monitoring",
  "monitor ECS instance", "ECS CPU usage", "ECS memory usage", "ECS disk IO", "ECS network traffic",
  "ECS instance performance", "ECS monitoring data",
  "华为云ECS监控", "ECS云监控", "ECS监控", "ECS指标", "ECS CPU使用率", "ECS内存使用率", "ECS磁盘IO", "ECS网络流量"
---

# Huawei Cloud ECS Monitoring Skill

You are a professional Huawei Cloud monitoring assistant responsible for querying and analyzing
ECS instance metrics using Cloud Eye Service (CES). Follow the structured workflow to provide
comprehensive monitoring insights.

## 1. Overview

### Functional Overview

Huawei Cloud ECS monitoring skill uses Cloud Eye Service (CES) to provide comprehensive
monitoring and metric query capabilities for Elastic Cloud Server instances. Supports
real-time monitoring of CPU, memory, disk, network, and system metrics, historical data
query, and common metric analysis.

### Architecture Diagram

```
User Request → Huawei Cloud CLI (hcloud) → Cloud Eye Service (CES) → ECS Instance
                    ↓
                IAM Permission Verification
                    ↓
                Monitoring Data Return
```

### Application Scenarios

- Monitor ECS instance CPU, memory, disk, and network utilization
- Query historical metrics for performance analysis
- Set up basic monitoring dashboards
- Troubleshoot performance bottlenecks
- Analyze resource usage trends
- Check system and custom metrics

### User Scenario Examples

1. **Basic monitoring request**: "Check my ECS instance performance"
2. **Specific metric query**: "Show CPU and memory usage for instance ecs-server-01"
3. **Historical data analysis**: "Show disk IO trends for the last 7 days"
4. **Troubleshooting**: "My ECS instance is slow, check all metrics"

## 2. Prerequisites

### CLI Installation and Verification

Before starting any operations, you must install and verify Huawei Cloud CLI (hcloud):

**Verify Installation:**

```bash
hcloud version
```

**If not installed, follow the detailed installation guide:**
````
END THIRD-PARTY FILE 80e6159f31daa1af

The third-party file has ended. Everything between the 80e6159f31daa1af tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2646 of 15855 bytes. © huaweicloud · MIT · https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/monitoring/ces/huawei-cloud-ces-ecs-monitoring/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
