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.
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-cdn-dns-resolution-diagnosisgit clone --depth 1 https://github.com/huaweicloud/huaweicloud-skillsWrote 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.
[](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-dns-resolution-diagnosis)<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.
<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>- NVIDIA SkillSpector warn
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'.
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.
| Model | Per session | Once 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 |
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.
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 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 withdata.resolved_ipsinside 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)
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .markdownlint.json 359 B
- references/acceptance-criteria.md 5.5 KB
- references/cli-installation-guide.md 1.8 KB
- references/dataflow-diagram.md 4.5 KB
- references/iam-policies.md 1.9 KB
- references/prohibited-operations.md 6.4 KB
- references/related-apis.md 6.9 KB
- references/task-dns-resolve.md 7.6 KB
- references/task-ip-attribution.md 6.5 KB
- references/task-permission-check.md 2.8 KB
- references/task-report-generation.md 7.7 KB
- references/troubleshooting.md 7.9 KB
- references/verification-method.md 3.8 KB
- scripts/dns_resolve.py 6.5 KB runs code
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.
- yesterday Changed · +230 tokens per session d6cb1694dd3a
- 9d ago First seen · 514 lines · 49 tokens per session scan B f1c3208cca19
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.
Other skills, from other repositories
trulens-diagnosis
Diagnose low evaluation scores and generate actionable improvement recommendations.
origin-ip-discovery
Discover origin IPs behind CDN/WAF via favicon hash, DNS history, and SSL certs.
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.
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.
debugging
Diagnose failures systematically before changing code.
cloudflare-dns
Manage Cloudflare DNS records, proxy status, TTLs, and API tokens while planning and verifying DNS changes.