Huawei Cloud OBS Statistics Skill for Openclaw

An automated assistant tool to list Huawei Cloud OBS buckets, query capacity metrics, and calculate download traffic and request count trends with month-over-month comparisons.

changhui123456
v1.0.10
Jul 9, 2026
0
692
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install storage-obs-huawei-cloud-obs-stats

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install storage-obs-huawei-cloud-obs-stats using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Huawei Cloud OBS Statistics Skill?

The Huawei Cloud OBS Statistics skill enables developers and administrators to monitor Huawei Cloud Object Storage Service (OBS) usage and Cloud Eye Service (CES) metrics. This implementation includes listing active buckets with their storage capacity and object counts, alongside calculating extranet and intranet traffic and request statistics.

By leveraging this tool within Openclaw Skills, teams can analyze cloud storage usage patterns and perform month-over-month comparisons directly from automated workflows. The design prioritizes account safety by explicitly blocking destructive deletion operations and enforcing secure access key guidelines.

Huawei Cloud OBS Statistics Skill Use Cases

  • Listing all OBS buckets in a specific region along with their total storage volume and object count.
  • Monitoring and comparing extranet and intranet download traffic for a bucket over the last 30 days or the current month.
  • Evaluating total request count patterns (GET, PUT, POST, DELETE, HEAD) with month-over-month comparative analysis.
  • Verifying Cloud Eye Service (CES) operational metrics without manual console navigation.

How Huawei Cloud OBS Statistics Skill Works

  1. Prerequisite Verification: The skill checks for the required installations of Huawei Cloud KooCLI (version >= 3.2.0) and obsutil (version >= 5.5.0).
  2. Authentication Check: The system validates active credentials locally without exposing or requesting Access Key/Secret Key (AK/SK) pairs.
  3. Parameter Input: It prompts the user for specific parameters such as region, target bucket name, and time range to ensure precision.
  4. Execution: The tool utilizes the hcloud command-line interface or pre-packaged Python scripts to fetch OBS metadata and CES metrics.
  5. Data Analysis: It aggregates the retrieved data points, calculates month-over-month changes, and formats the output into clean summaries.

Huawei Cloud OBS Statistics Skill Setup

Ensure you have the required CLI tools installed and configured:

# Check KooCLI version
hcloud version

# Check obsutil version
obsutil version

Configure your obsutil credentials locally if you have not already done so:

hcloud obs config -i=<YourAK> -k=<YourSK> -e=obs.<Region>.myhuaweicloud.com

Check your active CLI configuration secure profile:

hcloud configure list

Huawei Cloud OBS Statistics Skill Data Schema & Taxonomy

The skill operates on structured inputs and organizes retrieved Cloud Eye Service (CES) metric data for comparison. Below is the taxonomy of the metrics and script outputs:

Data Source Metric Name Description
CES metrics capacity_total Total storage capacity of the selected bucket
CES metrics download_traffic_extranet Download traffic from the external internet
CES metrics download_traffic_intranet Download traffic within the cloud network
CES metrics get_request_count / put_request_count Breakdown of HTTP verb requests

Scripts

  • scripts/obs_traffic_stats.py: Evaluates and aggregates traffic metrics for specified ranges.
  • scripts/obs_request_stats.py: Evaluates total request counts with optional error tracking (4xx/5xx).

Huawei Cloud OBS Statistics Skill Advanced Features

  • Month-over-Month (MoM) Analysis: Built-in script calculation to compare current storage consumption, request trends, and network traffic to previous periods.
  • Error Metric Tracking: Optional configuration in request tracking scripts (--include-errors) to capture 4xx/5xx client and server errors alongside valid requests.
  • Strict Security Boundaries: Built-in blockages preventing any delete actions (DeleteBucket, DeleteObject, etc.) to protect cloud assets.
  • Flexible Time Range Parsing: Precise mapping for contextual definitions such as 'this month', 'last 30 days', or custom ISO date ranges.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*