huawei-cloud-cdn-origin-diagnosis
Diagnose CDN origin server reachability and back-to-source failures using hcloud CLI. Query the origin configuration (origin_addr, origin_type, http_port…
от huaweicloudskill327 установок в других каталогах
Установить huawei-cloud-cdn-origin-diagnosis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CDN Origin Server Diagnosis
Overview
This skill is used to diagnose CDN back-to-source failures, origin unreachable errors, and other origin-related issues. It queries the CDN domain's origin configuration (origin address, origin type, back-to-source port, back-to-source protocol) via hcloud CLI, and probes origin server connectivity using the Python probe script (scripts/origin_probe.py), helping users identify the root cause of back-to-source failures, such as abnormal origin server services, closed ports, or CDN back-to-source IP ranges not whitelisted.
Key Features:
- Automatically queries and parses CDN origin configuration (configs.sources)
- Supports connectivity probing for all three back-to-source protocols: http / https / follow
- Parses origin_addr, origin_type, http_port, https_port, origin_protocol
- Structured diagnosis report with IP whitelist prompts and remediation suggestions
Tool: hcloud CLI (KooCLI) + Python probe script (scripts/origin_probe.py)
Probe Timeout: 10 seconds
Core Principle: Read-only diagnosis; no configuration changes are performed
Scope
What this skill does:
- Query the CDN domain's origin configuration (
configs.sources,origin_protocol) viaShowDomainFullConfig/v2 - Probe origin server connectivity (HTTP/HTTPS) using
scripts/origin_probe.py - Generate a structured diagnosis report with IP whitelist prompts and remediation suggestions
What this skill does NOT do:
- Does NOT modify, create, or delete any CDN domain or origin configuration (strictly read-only)
- Does NOT perform cache refresh / preheat operations
- Does NOT manage domain lifecycle (enable/disable), billing mode, or account settings
- Does NOT guarantee origin reachability from CDN edge nodes — the probe reflects the execution environment's network perspective
Use when:
- The user wants to diagnose back-to-source failures, origin unreachable errors, or abnormal origin responses
- The user wants to verify the origin configuration (origin_addr, origin_type, http_port, https_port, origin_protocol) and origin connectivity
- The user is troubleshooting origin 5xx responses, connection timeouts, or TLS handshake failures on the back-to-source path
Triggers
Use this skill when the user input matches any of the following intents:
| Intent | Example User Input |
|---|---|
| Back-to-source failure diagnosis | "Diagnose the CDN back-to-source failure for www.example.com" |
| Origin unreachable | "Why is my origin server unreachable?" |
| Abnormal origin responses | "The origin connection of this domain is abnormal" |
| Origin 5xx / timeout | "The origin keeps returning 502 / back-to-source timeout" |
| Origin configuration check | "Check the origin configuration of this domain" |
Trigger keywords: origin diagnosis, origin unreachable, back-to-source failure, back-to-source timeout, origin connectivity, origin configuration check
Near-miss / Do NOT Use
Do NOT use this skill for the following requests — they are out of scope and will be refused:
- ❌ Modifying / creating / deleting CDN domains or origin configuration (configuration changes) → use the CDN console or manual hcloud CLI
- ❌ Cache refresh / preheat (
CreateRefreshTasks/CreatePreheatingTasksare prohibited here) - ❌ Domain lifecycle management (enable/disable), billing mode changes, or account-level operations
- ❌ Querying traffic statistics, cache hit ratios, or access logs (not origin-connectivity diagnosis)
- ❌ Generic network connectivity tests outside the CDN back-to-source path
See references/prohibited-operations.md for the full list of 55 prohibited non-GET operations.
⛔ Prohibited Operations (Security Constraints)
This skill strictly forbids all non-GET (write/modify/delete) CDN operations, regardless of user requests.
Total: 55 prohibited operations (24 POST + 25 PUT + 6 DELETE).
For the complete list of all 55 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; creates production resource |
| ❌ 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 |
| ❌ Modify origin config | UpdateDomainOrigin, UpdateOriginHost, UpdatePrivateBucketAccess (v1/v2) |
Write operations; may affect back-to-source traffic |
| ❌ Enable/Disable domain | EnableDomain (v1/v2), DisableDomain (v1/v2) |
Affects production traffic |
| ❌ Modify billing mode | SetChargeModes |
Financial impact; r |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cdn-origin-diagnosis?
Diagnose CDN origin server reachability and back-to-source failures using hcloud CLI. Query the origin configuration (origin_addr, origin_type, http_port, https_port, origin_protocol) of a CDN domain via ShowDomainFullConfig/v2, then probe origin server connectivity using the Python probe script (scripts/origin_probe.py) to identify the root cause of back-to-source failures, origin unreachable errors, and abnormal responses. Use when the user wants to: (1) diagnose CDN back-to-source failures, (2) check why origin server is unreachable, (3) troubleshoot origin configuration issues, (4) verify origin connectivity from the network perspective, (5) investigate abnormal HTTP responses from the origin. Triggers include: '源站诊断', '源站不可达', '回源失败', 'origin diagnosis', 'origin unreachable', '回源异常', '源站配置' Do NOT use this skill for configuration changes, cache refresh/preheat, domain lifecycle management, or billing operations — this skill is strictly read-only diagnosis.
Как установить скилл huawei-cloud-cdn-origin-diagnosis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cdn-origin-diagnosis запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…