其他

huawei-cloud-obs-stats

huaweicloud/hua…d-skills

Query Huawei Cloud OBS (Object Storage Service) statistics: list buckets with capacity and object counts, query extranet/intranet download traffic with month-over-month comparison, and query total requests with month-over-month comparison. Use this skill when the user wants to: (1) list OBS buckets and check their storage capacity and object count, (2) query download traffic with MoM comparison, (3) query request counts with MoM comparison. Trigger: user mentions "OBS", "object storage", "bucket list", "bucket capacity", "download traffic", "total requests", "request count", "month-over-month", "OBS stats", "OBS management", "对象存储", "桶列表", "桶容量", "下载流量", "请求总数", "月环比", "OBS监控"

  • 1.7万 次安装
  • 59 星标
  • 收录于

安装命令

npx skills add https://github.com/huaweicloud/huaweicloud-skills --skill huawei-cloud-obs-stats

SKILL.md

Huawei Cloud OBS Statistics Skill

Overview

Query Huawei Cloud OBS (Object Storage Service) statistics: list buckets with capacity and object counts, query extranet/intranet download traffic with month-over-month comparison, and query total requests with month-over-month comparison.

⛔ Prohibited Operations (Security Constraints)

This skill strictly forbids the following delete operations, regardless of user requests:

Prohibited Operation API/Command Reason
❌ Delete bucket DeleteBucket / obsutil rm -bucket Irreversible; destroys the entire bucket and all objects
❌ Delete object DeleteObject / obsutil rm Irreversible; deleted objects cannot be recovered (unless versioning is enabled)
❌ Batch delete objects DeleteObjects / obsutil rm -r Irreversible; batch deletion has a wide impact
❌ Empty bucket obsutil rm -bucket -r Irreversible; removes all objects in the bucket

If a user requests a delete operation, you must refuse and inform: "Per security constraints, this skill does not allow delete operations (delete bucket/object/batch delete/empty bucket). Please use the Huawei Cloud OBS console or obsutil manually."