huawei-cloud-cdn-origin-diagnosis

huawei-cloud-cdn-origin-diagnosis is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 224 tokens per session (5,709 once invoked), scanned B, original, MIT.

A read-only diagnostic tool for CDN origin failures. A CDN is a network that serves cached content near users; the origin is the server it contacts when content is not cached.

In plain words
What is it for?
It helps investigate back-to-origin errors, inspect a domain’s origin settings, test HTTP and HTTPS connectivity, and produce a report with likely causes and remediation suggestions.
Why use it?
It checks the configured origin address, ports, and protocol, then tests whether that server can be reached. This helps distinguish an origin service problem, a closed port, or a missing CDN IP allowlist entry without changing configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps investigate back-to-origin errors, inspect a domain’s origin settings, test HTTP and HTTPS connectivity, and produce a report with likely causes and remediation suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-cdn-origin-diagnosis
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-cdn-origin-diagnosis

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-cdn-origin-diagnosis

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-origin-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 224 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00224 $0.05709
Opus 5.5 $0.00090 $0.02284
Sonnet 5.5 $0.00045 $0.01142
Haiku 4.5 $0.00022 $0.00571

Measured 18d ago against content hash d00ca8b84163, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

huawei-cloud-cdn-origin-diagnosis scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/origin_probe.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

> - **Stop immediately** - Do not execute any commands
skills/edge/cdn/huawei-cloud-cdn-origin-diagnosis/SKILL.md · 473 lines

How it starts

The opening of the file, as written. The whole thing — 473 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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) via ShowDomainFullConfig/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

Read the full file on GitHub · 473 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago First seen · 473 lines · 224 tokens per session scan B d00ca8b84163

Subscribe to this mod's changes

huawei-cloud-cdn-origin-diagnosis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 224 tokens to every session and 5,709 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

Other skills, from other repositories

trulens-diagnosis

Diagnose low evaluation scores and generate actionable improvement recommendations.

truera/trulens · 17 tokens

fixing

Diagnose why a PR's CI failed — compare the CI definition against the sandbox, classify the failure, and make the minimal repair. Use when a PR is red and you must work out why before changing anything.

nearform/lastlight · 46 tokens

apex-diagnose

Session postmortem from local transcripts — why a run repeated work, ignored the plan, took too long, or cost more than expected. Use when asked "why did that take so long", "why was that so expensive", "what went wrong in that session", "why did the agent redo that", or when preparing a bug report about agent…

tonone-ai/tonone · 78 tokens

error-analysis-protocol

Design an error analysis protocol to diagnose the root cause of student mistakes and misconceptions. Use when error patterns appear in student work and targeted feedback is needed.

GarethManning/education-agent-skills · 35 tokens

diagnose-battery-charging-problem

Use when a vehicle has starting problems, battery warning lights, or electrical symptoms — systematically testing battery condition, alternator output, and charging circuit integrity to identify the root cause before replacing components.

jeffreytse/grimoire-core · 47 tokens

diagnose-electrical-fault

Use when a vehicle has a blown fuse, inoperative accessory, warning light, or intermittent electrical failure — applying a systematic test sequence (visual, OBD-II codes, voltage/continuity testing) to isolate the fault to a specific component or circuit without replacing parts blindly.

jeffreytse/grimoire-core · 62 tokens