Skip to content
Back to skills

Gather Eks State

ASecurity

Gather Kubernetes cluster state for specified resources in a namespace — pod status, recent events, pod descriptions, pod logs (tail), node conditions. Handles unreachable EKS API server gracefully.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
devopsnodekubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add Perun-Engineering/sre-on-call --skill gather_eks_state --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gather Eks State?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gather Eks State
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/perun-engineering-gather-eks-state/badge)](https://www.skillsdirectory.com/skills/perun-engineering-gather-eks-state)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gather_eks_state
description: Gather Kubernetes cluster state for specified resources in a namespace — pod status, recent events, pod descriptions, pod logs (tail), node conditions. Handles unreachable EKS API server gracefully.
tool: agents.eks.tools:gather_eks_state
---
# When to use

Call this skill when the alert mentions a Kubernetes workload. A first call gathers broad cluster state — pod status, events, descriptions, logs, node conditions — for the namespace and resource selectors. If a pod is crashlooping, pending, or restarting, follow up with a focused call narrowed to that workload (its deployment name or label selector) to drill into its logs and events, rather than reporting the first pass as-is. When results are ambiguous, prefer a discriminating follow-up that confirms whether the condition is STILL firing now (re-check current pod status / latest events) versus already resolved — gather, don't guess from a stale first pass. Stop once you can explain the alert or your budget is spent.

# Inputs

- `namespace` (required): the K8s namespace.
- `resource_selectors` (required): a list of either deployment names or label selectors (e.g. `["payment-api", "app=billing"]`).

# Output

Findings flagging:
- Pods in `Pending`, `CrashLoopBackOff`, or with non-zero restarts.
- Warning events such as `FailedScheduling` and `OOMKilled`.
- Node-level pressure conditions.
- Excerpts from pod logs that match error patterns.

> A future PR will split this into 5 atomic skills (`list_pods`, `get_events`, `fetch_logs`, `node_conditions`, `pod_descriptions`). For now this is a single coarse tool.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…