huawei-cloud-cdn-dns-resolution-diagnosis

huawei-cloud-cdn-dns-resolution-diagnosis is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 279 tokens per session (6,651 once invoked), scanned B, original, MIT.

A diagnostic helper for checking whether a domain’s DNS records point correctly to Huawei Cloud CDN. DNS is the system that turns a domain name into network addresses; the helper checks the expected CNAME, resolved IPs, and IP ownership.

In plain words
What is it for?
Use it to retrieve the expected CDN target, test DNS resolution, verify returned IP addresses, and produce a diagnosis with suggested corrections.
Why use it?
It helps distinguish a wrong DNS setting, an update that has not taken effect, and a partial or misleading resolution result.

Skill for Claude CodeCodex

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

Good fit Use it to retrieve the expected CDN target, test DNS resolution, verify returned IP addresses, and produce a diagnosis with suggested corrections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-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-dns-resolution-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-dns-resolution-diagnosis

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-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-dns-resolution-diagnosis

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 279 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,651 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 242
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
  • low Privilege Escalation · line 270
    Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.
    Fix: Request only the minimum permissions required. Document why each permission is needed. Remove broad permissions like '*' or 'all'.
How audits are shown
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.00279 $0.06651
Opus 5 $0.00139 $0.03325
Sonnet 5 $0.00056 $0.01330
Haiku 4.5 $0.00028 $0.00665

Measured yesterday against content hash d6cb1694dd3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

huawei-cloud-cdn-dns-resolution-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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dns_resolve.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-dns-resolution-diagnosis/SKILL.md · 514 lines

How it starts

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

CDN DNS Resolution Diagnosis

Overview

This skill diagnoses CDN domain DNS resolution issues. It queries the CDN domain detail via hcloud CLI to obtain the expected CNAME, probes the actual DNS resolution of the domain via scripts/dns_resolve.py (dnspython) to collect the IP list, and verifies the IP attribution via ShowIpInfo/v2 to determine whether the domain has been correctly resolved to Huawei Cloud CDN, helping users identify the root cause of DNS configuration anomalies, resolution not taking effect, false positives, and other issues.

Key Features:

  • Domain permission validation and CNAME retrieval (ShowDomainDetailByName)
  • DNS resolution probing to obtain the IP list (python scripts/dns_resolve.py, JSON output with data.resolved_ips inside the {result, data, error_msg} envelope)
  • IP attribution check (ShowIpInfo/v2, up to 20 IPs)
  • False positive identification (partial resolution scenarios prompt multi-region probing)
  • Structured diagnosis report with remediation suggestions

Tools: hcloud CLI (KooCLI) + python scripts/dns_resolve.py (dnspython >= 2.1) Probe Timeout: 10 seconds (enforced by dns_resolve.py --timeout 10) IP Query Limit: 20 IPs Core Principle: Read-only diagnosis, no configuration changes

Scope

In scope: This skill diagnoses only DNS resolution issues for CDN domains, including:

  • Validating that the domain belongs to the current account and retrieving the expected CNAME (ShowDomainDetailByName)
  • Probing the actual A-record resolution of the domain (python scripts/dns_resolve.py, dnspython)
  • Verifying whether the resolved IPs belong to Huawei Cloud CDN (ShowIpInfo/v2, up to 20 IPs per call)
  • Detecting "partial resolution / false positive" scenarios and producing a structured diagnosis report with remediation suggestions

Out of scope:

  • ❌ No write/modify/delete operations (this skill is read-only; see the 55 prohibited operations in ⛔ Prohibited Operations)
  • ❌ No DNS record changes, no CDN configuration changes, no cache refresh/preheat
  • ❌ No diagnosis of other directions: HTTPS certificate, origin-pull failures, domain ownership verification (hand off via the Related Skills section)
  • ❌ No handling of requests that require configuration changes (refuse and direct the user to the console or manual hcloud CLI usage)

Read the full file on GitHub · 514 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. yesterday Changed · +230 tokens per session d6cb1694dd3a
  2. 9d ago First seen · 514 lines · 49 tokens per session scan B f1c3208cca19

Subscribe to this mod's changes

huawei-cloud-cdn-dns-resolution-diagnosis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (49 stars, last pushed yesterday), licensed MIT. It adds 279 tokens to every session and 6,651 once invoked, about $0.0014 per session on Opus 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-09-03.