cluster-events

cluster-events is a skill for Claude Code, Codex from scitix/siclaw. It costs 30 tokens per session (3,936 once invoked), scanned A, original, Apache-2.0.

A Kubernetes cluster-event analysis guide. Kubernetes events are short records describing changes and warnings across the cluster; this guide groups them and links related events to reveal patterns.

In plain words
What is it for?
Use it to review warning events, find repeated failures, and correlate events involving related pods, nodes, or other Kubernetes resources.
Why use it?
It helps investigate problems spread across many resources without reading every event separately. It identifies likely causes but does not change the cluster.

Skill for Claude CodeCodex

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

Good fit Use it to review warning events, find repeated failures, and correlate events…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scitix/siclaw/cluster-events
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 scitix/siclaw --skill cluster-events
Clone the repo
git clone --depth 1 https://github.com/scitix/siclaw

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 cluster-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/scitix/siclaw/cluster-events.svg)](https://agentmods.dev/skills/scitix/siclaw/cluster-events)
Your own site
<a href="https://agentmods.dev/skills/scitix/siclaw/cluster-events"><img src="https://agentmods.dev/badge/skills/scitix/siclaw/cluster-events.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,936 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.03936
Opus 5 $0.00015 $0.01968
Sonnet 5 $0.00006 $0.00787
Haiku 4.5 $0.00003 $0.00394

Measured 7d ago against content hash d898fdd895f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cluster-events scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/core/cluster-events/SKILL.md · 338 lines

How it starts

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

Cluster Events Analysis

Use this flow to analyze cluster-wide events for identifying issues, patterns, and correlations across resources.

Scope: This skill is for analysis and diagnosis only. It helps you understand what is happening across the cluster by examining events. Do NOT attempt to fix issues directly — identify root causes and either use a specific diagnostic skill or report findings to the user.

Diagnostic Flow

0. Normalise the fields first — an event has two layouts

Event exists in two API groups with almost disjoint field names, and the v1 object additionally carries series for a continuing event. Reading only one layout loses half the events silently, so every query below opens with the same four definitions. Copy them as-is:

def pad: if test("Z$") | not
         then error("timestamps must be UTC and end in Z; got \(.) — convert the offset first")
         else capture("^(?<b>[^.Z]+)(\\.(?<f>[0-9]+))?Z$")
              | .b + "." + (((.f // "") + "000000")[0:6]) + "Z" end;   # fixed width, for comparison
def cut: sub("\\.[0-9]+";"");                                          # whole seconds, for display

active: (.series.lastObservedTime // .lastTimestamp // .deprecatedLastTimestamp // .eventTime)
start:  (.firstTimestamp // .deprecatedFirstTimestamp // .eventTime)
count:  (.series.count // .count // .deprecatedCount // 1)
object: (.involvedObject // .regarding // {})

Four things about these are load-bearing, and each was measured rather than assumed:

  • series comes first in active and count. On a series event the v1 lastTimestamp and count are frozen at first write; series.* carries the truth.
  • start has no series term. A series has no separate start.
  • Compare padded, display cut. MicroTime values carry a fraction and "…09:00:00.500000Z" >= "…09:00:00Z" is false, because . sorts below Z.
  • The window must be UTC. pad refuses an offset or a missing zone by name rather than mis-sorting it.

Read the full file on GitHub · 338 lines

Files

What ships with it

1 file 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. 7d ago First seen · 338 lines · 30 tokens per session scan A d898fdd895f4

Subscribe to this mod's changes

cluster-events is a skill published in the GitHub repository scitix/siclaw (233 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 3,936 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

k8s-dns-failure

A guide for diagnosing and fixing DNS problems in Kubernetes, a system for running containerised applications. It focuses on CoreDNS, the component that helps services find one another and reach external services.

kudig-io/kudig-database · 0 tokens

incident-triage

Use when asked to triage, investigate, or diagnose a Kubernetes incident, outage, or unhealthy workload. Gives the step-by-step order of investigation and the format for the findings.

mezmo/aura · 41 tokens

ariadne-kubernetes-graph

Use for Ariadne MCP-backed Kubernetes state questions: translate operational questions into Cypher, repair graphquery failures, and decide when graphschema or graphhealth is needed. Best for live or snapshot-backed graph data about resource relationships; do not use for codebase-only tasks or generic Kubernetes…

REASY/k8s-ariadne-rs · 65 tokens

k8s-service-connectivity

A troubleshooting guide for Kubernetes service connectivity, where services provide stable network access to groups of running containers. It focuses on missing endpoints, selector mismatches, network policies, and kube-proxy problems.

kudig-io/kudig-database · 0 tokens

k8s-deployment-rollout

A troubleshooting workflow for failed Kubernetes Deployment releases and rolling updates that become stuck. Kubernetes is a system for running and managing containers.

kudig-io/kudig-database · 21 tokens

k8s-pod-crashloop

A troubleshooting guide for Kubernetes pods that repeatedly restart or run out of memory. Kubernetes is a system for running and managing containers, and a pod is its basic unit for running an application.

kudig-io/kudig-database · 0 tokens