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-certificate-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-certificate-diagnosis)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-certificate-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-certificate-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-certificate-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-certificate-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00191 | $0.06313 |
| Opus 5.5 | $0.00076 | $0.02525 |
| Sonnet 5.5 | $0.00038 | $0.01263 |
| Haiku 4.5 | $0.00019 | $0.00631 |
Grade B, and why
huawei-cloud-cdn-certificate-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 28d ago.
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.
> 1. **Stop immediately** - Do not execute any commands How it starts
The opening of the file, as written. The whole thing — 523 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CDN Certificate Diagnosis
Overview
This skill diagnoses CDN domain HTTPS certificate configuration and expiration status. It queries the certificate configuration on CDN via hcloud CLI (ShowCertificatesHttpsInfo/v2), probes
the actual certificate served by the CDN edge node via a Python TLS probe script (python scripts/cert_probe.py), and computes days remaining until expiration via a Python script, helping
users identify issues such as certificate not configured, configuring, impending expiry, or already expired.
Key Features:
- Automatically identifies certificate configuration status (not configured / configuring / configured)
- Retrieves the certificate name and expiration time configured on CDN
- Probes the actual served certificate chain via
scripts/cert_probe.py(expiration time, issuer, CN, SAN; JSON output) - Computes days remaining via Python (normal / warning / expired)
- Structured diagnosis report with a mandatory Certificate Summary block that explicitly prints the certificate's common info (name, status, issuer, CN, SAN, validity period, days remaining) to the user
- Fix recommendations
Tool: hcloud CLI (KooCLI) + Python >= 3.8 (stdlib ssl + socket for the probe; no third-party dependency)
Probe Timeout: 10 seconds (enforced by cert_probe.py via --timeout, default 10, range 1-30)
Core Principle: Read-only diagnosis; no configuration changes are performed
Scope
This skill is scoped to CDN HTTPS certificate diagnosis only — one class of problem.
In scope:
- Querying CDN domain certificate configuration via
ShowCertificatesHttpsInfo/v2(https_status, cert_name, expiration_time) - Probing the certificate actually served by the CDN edge via
scripts/cert_probe.py(issuer, CN, SAN, validity period) - Computing days remaining until expiration via
scripts/cert_expiry_check.py - Generating a structured certificate diagnosis report with conclusion and fix recommendations
Out of scope (do not attempt):
What ships with it
16 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 8.4 KB
- references/cli-installation-guide.md 2.9 KB
- references/dataflow-diagram.md 5.3 KB
- references/iam-policies.md 2.1 KB
- references/prohibited-operations.md 6.4 KB
- references/related-apis.md 10 KB
- references/task-cert-config-query.md 3.9 KB
- references/task-cert-probe.md 9.4 KB
- references/task-expiry-check.md 4.6 KB
- references/task-permission-check.md 2.6 KB
- references/task-report-generation.md 10 KB
- references/troubleshooting.md 8.7 KB
- references/verification-method.md 5.1 KB
- scripts/cert_expiry_check.py 3.7 KB runs code
- scripts/cert_probe.py 8.7 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.
- 28d ago First seen · 523 lines · 191 tokens per session scan B 4ea49fc12b35
huawei-cloud-cdn-certificate-diagnosis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 191 tokens to every session and 6,313 once invoked, about $0.0008 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-09-30.
Other skills, from other repositories
trulens-diagnosis
Diagnose low evaluation scores and generate actionable improvement recommendations.
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.
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…
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.
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.
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.