huawei-cloud-cdn-certificate-diagnosis

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

A diagnostic procedure for checking a CDN's HTTPS certificate configuration and the certificate served by its edge servers. An HTTPS certificate proves a site's identity and enables encrypted browser connections.

In plain words
What is it for?
Use it to inspect certificate status, issuer, names, validity dates, and remaining time before expiry, then review suggested fixes.
Why use it?
It distinguishes missing, pending, configured, and expired certificates, and compares the configured certificate with the one users actually receive. This helps locate certificate and expiry problems.

Skill for Claude CodeCodex

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

Good fit Use it to inspect certificate status, issuer, names, validity dates, and remaining time before expiry, then review suggested fixes.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-certificate-diagnosis/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cdn-certificate-diagnosis)
Your own site
<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.

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

Your own site · 80×15
<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>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,313 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.00191 $0.06313
Opus 5.5 $0.00076 $0.02525
Sonnet 5.5 $0.00038 $0.01263
Haiku 4.5 $0.00019 $0.00631

Measured 28d ago against content hash 4ea49fc12b35, 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-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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cert_expiry_check.py, scripts/cert_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.

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

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):

Read the full file on GitHub · 523 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. 28d ago First seen · 523 lines · 191 tokens per session scan B 4ea49fc12b35

Subscribe to this mod's changes

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.

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