cluster-node-health-check

cluster-node-health-check is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 20 tokens per session (7,414 once invoked), scanned A, a copy of cluster-node-health-check, Apache-2.0.

A command that checks the health of Kubernetes or OpenShift cluster nodes, including the kubelet, container runtime, resources, system services, and kernel settings.

In plain words
What is it for?
It helps investigate node readiness, memory or disk pressure, networking problems, CRI-O issues, kubelet failures, and recent warning events.
Why use it?
It gathers common node failures and warning conditions in one diagnostic report, making problems easier to locate.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps investigate node readiness, memory or disk pressure, networking problems, CRI-O issues, kubelet failures, and recent warning events.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/cluster-node-health-check
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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-node-health-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/cluster-node-health-check/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/cluster-node-health-check)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/cluster-node-health-check"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/cluster-node-health-check/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 cluster-node-health-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/cluster-node-health-check"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/cluster-node-health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,414 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 100% copy Near-identical to another mod 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.00020 $0.07414
Opus 5 $0.00010 $0.03707
Sonnet 5 $0.00004 $0.01483
Haiku 4.5 $0.00002 $0.00741

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

Security

Grade A, and why

cluster-node-health-check 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 9d 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.

Origin

This is a copy

100% identical to cluster-node-health-check — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/node/commands/cluster-node-health-check.md · 761 lines

How it starts

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

Name

node:cluster-node-health-check

Synopsis

/node:cluster-node-health-check [--node <node-name>] [--verbose] [--output-format json|text]

Description

The /node:cluster-node-health-check command performs an extensive diagnostic of Kubernetes/OpenShift cluster nodes to assess their operational health, stability, and performance. It automates the validation of node-level components including kubelet, CRI-O container runtime, system resources, and node conditions to ensure nodes are functioning as expected.

The command runs a comprehensive set of health checks covering node status, kubelet health, container runtime (CRI-O) operations, resource utilization, system daemons, and kernel parameters. It also detects degraded states, disk/memory pressure, network issues, and recent warning events.

Specifically, it performs the following:

  • Detects and validates the availability of oc or kubectl CLI tools and verifies cluster connectivity.
  • Checks all node statuses (Ready, MemoryPressure, DiskPressure, PIDPressure, NetworkUnavailable) and reports any abnormal conditions with detailed reasons and messages.
  • Validates kubelet service health on each node, detecting service failures, high restart counts, and configuration issues.
  • Performs CRI-O runtime health checks to ensure container operations are functioning correctly.
  • Inspects resource utilization including CPU, memory, disk space, and process/pod counts against allocatable resources.
  • Evaluates system daemon health (systemd services) critical for node operations.
  • Examines kernel parameters and system tunables relevant to Kubernetes operations.
  • Scans for recent warning events at the node level and for pods running on nodes.
  • Reviews certificate validity for kubelet client certificates.
  • Identifies node taints, labels, and scheduling constraints that may affect workload placement.
  • Generates a clear, color-coded summary report and optionally exports findings in JSON format for automation or CI integration.

Read the full file on GitHub · 761 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. 9d ago First seen · 761 lines · 20 tokens per session scan A acafdf1a2f1c

Subscribe to this mod's changes

cluster-node-health-check is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 7,414 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to cluster-node-health-check, differing in 2 lines, and is treated as a copy.