Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-cdn-universal-query

БесплатноЗапускает вложенные скриптыНе проверен

Comprehensive CDN query reference skill using hcloud CLI. Covers all 44 GET read-only CDN APIs organized by category: domain management, statistics &…

huaweicloudskillот huaweicloudskill359 установок в других каталогах

Об этом скилле

CDN Query Reference

Overview

This skill is a comprehensive reference for all 44 GET read-only CDN APIs available via hcloud CLI. It serves as a fallback skill for agents to look up the correct command syntax, required parameters, and known pitfalls when querying any CDN information.

Key Features:

  • Complete coverage of 44 GET CDN APIs (all validated end-to-end)
  • Organized by 4 functional categories: Domain Management (14), Statistics & Analytics (12), Refresh/Log/Export (8), Template/Rule/Tag/Account (10)
  • Command templates with parameter guidance
  • 12 validated pitfalls and troubleshooting notes
  • Test domain references for validation
  • Explicit declaration of all 55 prohibited non-GET operations (see references/prohibited-operations.md)

Tool: hcloud CLI (KooCLI v7.2.12) Scope: Read-only GET operations only Region: Recommended to use --cli-region=<region> for CDN APIs

Triggers

Chinese triggers: CDN查询, CDN接口, CDN CLI, 域名查询, 域名配置, 流量统计, 带宽查询, 刷新预热, 日志下载, 证书查询, 回源配置, 缓存规则, 域名归属 English triggers: CDN query, CDN API reference, CDN CLI usage, domain config, traffic statistics, bandwidth query, refresh preheat, log download, certificate query, origin config

Example user phrases (中/EN):

  • "查一下我这个域名的 CDN 配置" / "Check the CDN configuration of my domain"
  • "看看昨天域名的流量和带宽" / "Show yesterday's traffic and bandwidth"
  • "刷新预热任务的历史记录" / "List refresh/preheat task history"
  • "帮我下载 CDN 日志 / 导出统计报表" / "Download CDN logs or export statistics"
  • "这个 IP 是不是华为云 CDN 的节点" / "Check if this IP belongs to Huawei Cloud CDN"
  • "查一下账户的 CDN 配额" / "Query the CDN account quota"

Near-miss / Do NOT Use

Fallback skill: this is a read-only CDN query reference — prefer a dedicated skill when one covers the scenario (cdn-traffic-anomaly-analysis, cdn-502-troubleshooting, or any other applicable CDN skill).

Do NOT use for:

Scenario Action
Create/modify/delete CDN resources (POST/PUT/DELETE) Refuse — strictly read-only (see references/prohibited-operations.md)
Non-CDN Huawei Cloud queries (ECS, OBS, VPC, etc.) Use the corresponding service skill
CDN console operations / account management Direct the user to the Huawei Cloud CDN console
Queries beyond read-only reference Out of scope; query reference only

Near-miss handling: requests that sound like queries but are actually writes (e.g., "create a refresh task", "update cache rules", "delete a domain") are prohibited — refuse and inform, never construct or simulate the command.

⛔ Prohibited Operations (Security Constraints)

This skill is strictly read-only. All non-GET operations (POST/PUT/DELETE) are prohibited regardless of user request. The skill must refuse and direct the user to the Huawei Cloud CDN console or manual hcloud CLI for any write/modify/delete operation.

Total: 55 prohibited operations (24 POST + 25 PUT + 6 DELETE).

For the complete list of all prohibited non-GET operations with risk descriptions, see references/prohibited-operations.md.

Representative prohibited operations (full list in the reference doc):

Prohibited Operation API/Command Reason
❌ Create domain CreateDomain (v1/v2), CreateDomainByDuplicate Write operation; requires explicit authorization
❌ Delete domain DeleteDomain (v1/v2) Irreversible; removes domain from CDN
❌ Modify domain config UpdateDomainFullConfig (v1/v2), UpdateDomainOrigin, UpdateCacheRules, etc. Write operations; may affect production traffic
❌ Enable/Disable domain EnableDomain (v1/v2), DisableDomain (v1/v2) Affects production traffic
❌ Modify billing mode SetChargeModes Financial impact; requires explicit authorization
❌ Create refresh/preheat tasks CreateRefreshTasks (v1/v2), CreatePreheatingTasks (v1/v2) Write operations; affects edge cache
❌ Create/update/delete templates, rules, tags All write APIs Write operations; requires explicit authorization
❌ Batch copy domain BatchCopyDomain POST operation; misclassified in earlier versions as GET — now explicitly prohibited
❌ Verify domain ownership VerifyDomainOwner POST operation; triggers verification flow
❌ Set statistics config SetStatsConfig POST operation; affects account-level stats collection

If a user requests a prohibited operation, you must refuse and inform: "Per security constraints, this skill does not allow write/delete/modify operations. This skill is read-only for CDN query reference. Please use the Huawei Cloud CDN console (https://console.huaweicloud.com/cdn) or run the hcloud CLI manually for configuration changes. The complete list of 55 prohibited operations is documented in references/prohibited-operations.md."

Verifying Unlisted Operations

If

Полный SKILL.md на ClawHub

Установить huawei-cloud-cdn-universal-query в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-cdn-universal-query?

Comprehensive CDN query reference skill using hcloud CLI. Covers all 44 GET read-only CDN APIs organized by category: domain management, statistics & analytics, refresh/log/export, template/rule/tag/account. Provides command templates, parameter guidance, and validated pitfalls for any CDN query scenario. **This is a fallback skill for CDN queries. Use this when other CDN-specific skills (cdn-traffic-anomaly-analysis, cdn-502-troubleshooting, etc.) are not applicable.** **Do NOT use this skill for:** write/modify/delete CDN operations (POST/PUT/DELETE are always refused), non-CDN cloud service queries, or scenarios already covered by a dedicated CDN skill (e.g., cdn-traffic-anomaly-analysis, cdn-502-troubleshooting). Use this skill when the user wants to: (1) query CDN domain configuration, (2) check domain statistics or traffic data, (3) view refresh/preheat task history, (4) download CDN logs or export reports, (5) inspect CDN templates, rules, tags, or account quotas, (6) diagnose DNS, certificates, origin, or domain ownership, (7) look up any CDN hcloud CLI command usage. Triggers include: CDN查询, CDN接口, CDN CLI, 域名查询, 域名配置, 流量统计, 带宽查询, 刷新预热, 日志下载, 证书查询, 回源配置, 缓存规则, 域名归属, CDN query, CDN API reference, CDN CLI usage, domain config, traffic statistics, bandwidth query, refresh preheat, log download, certificate query, origin config

Как установить скилл huawei-cloud-cdn-universal-query?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-cdn-universal-query запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-cdn-universal-query с