k8s-certificate-expiry

k8s-certificate-expiry is a skill for Claude Code, Codex from kudig-io/kudig-database. It costs 0 tokens per session (3,907 once invoked), scanned C, original, no licence file.

A guide for diagnosing and fixing expired certificates in Kubernetes, a system for running containers across computers.

In plain words
What is it for?
Use it to investigate certificate problems involving the API server, etcd, kubelet, or frontend proxy.
Why use it?
Expired certificates can stop Kubernetes components from communicating and can leave nodes marked unavailable.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to investigate certificate problems involving the API server, etcd, kubelet, or frontend proxy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kudig-io/kudig-database/k8s-certificate-expiry
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 kudig-io/kudig-database --skill k8s-certificate-expiry
Clone the repo
git clone --depth 1 https://github.com/kudig-io/kudig-database

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 k8s-certificate-expiry

README.md
[![agentmods](https://agentmods.dev/badge/skills/kudig-io/kudig-database/k8s-certificate-expiry/github.svg)](https://agentmods.dev/skills/kudig-io/kudig-database/k8s-certificate-expiry)
Your own site
<a href="https://agentmods.dev/skills/kudig-io/kudig-database/k8s-certificate-expiry"><img src="https://agentmods.dev/badge/skills/kudig-io/kudig-database/k8s-certificate-expiry/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 k8s-certificate-expiry

Your own site · 80×15
<a href="https://agentmods.dev/skills/kudig-io/kudig-database/k8s-certificate-expiry"><img src="https://agentmods.dev/badge/skills/kudig-io/kudig-database/k8s-certificate-expiry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00000 $0.03907
Opus 5 $0.00000 $0.01954
Sonnet 5 $0.00000 $0.00781
Haiku 4.5 $0.00000 $0.00391

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

Security

Grade C, and why

k8s-certificate-expiry scanned grade C 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/diagnose-quick.sh, scripts/verify-cert.sh), 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- **手动renew后kubeconfig失效** → 更新~/.kube/config中的证书数据
19-故障诊断/08-技能体系/skill-set/k8s-certificate-expiry/SKILL.md · 318 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

7 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.

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. today Changed · +19 lines 505d4fbf6175
  2. 12d ago First seen · 299 lines · 0 tokens per session scan C a08bec57975e

Subscribe to this mod's changes

k8s-certificate-expiry is a skill published in the GitHub repository kudig-io/kudig-database (5 stars, last pushed yesterday), with no licence file. It costs nothing until one of its globs matches a file; then it loads 3,907 tokens. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cluster-events

Analyze cluster-wide Kubernetes events to identify issues and patterns. Aggregates Warning events, detects high-frequency patterns, and correlates related events.

scitix/siclaw · 30 tokens

networkpolicy-debug

Diagnose NetworkPolicy-related connectivity issues (traffic unexpectedly blocked, default-deny effects, egress blocking DNS). Identifies which NetworkPolicies affect a pod, checks ingress/egress rules, and verifies CNI support.

scitix/siclaw · 48 tokens

node-logs

Retrieve logs from a Kubernetes node — systemd units (journalctl) or files under /var/log. Use when you need node-level evidence: containerd, kubelet, kernel/OOM, or anything the pod's own log cannot show. Three access paths in order: hostscript (SSH), nodescript (debug pod), and localscript against the kubelet log…

scitix/siclaw · 84 tokens

statefulset-debug

Diagnose StatefulSet rollout and scaling failures (ordered update stuck, OnDelete not updating, partition misconfiguration, PVC binding deadlocks). Checks update strategy, pod ordinal progression, PVC bindings, and ordered startup to identify why a StatefulSet is not progressing.

scitix/siclaw · 56 tokens

volcano-gang-scheduling

Gang Scheduling diagnostic guide for Volcano. Use when PodGroup cannot schedule completely, member Pods remain Pending, or minAvailable/minMember constraints are not satisfied.

scitix/siclaw · 37 tokens

http-log-stats

Count HTTP status codes and request-duration distribution from an ingress controller's access log, over a fixed time window, in one pass. Use when asked "how many 503s", "how many requests took over 60s", "what's the status code / latency distribution" for a service — i.e. a MEASUREMENT question about traffic, not a…

scitix/siclaw · 97 tokens