kubernetes-pod-diagnostics-skill

Diagnose Kubernetes pod failures using kubectl describe, logs --previous, and the Kubernetes API /api/v1/namespaces/{ns}/events endpoint; identify root causes of CrashLoopBackOff and OOMKilled memory issues, and produce remediation steps and resource limit recommendations.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kubernetes-pod-diagnostics-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c338d83bd235e8575bd9f460c14981acbaa63421e824e092d9998fbe9ab76638. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/kubernetes-pod-diagnostics-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Diagnose Kubernetes pod failures using kubectl describe, logs --previous, and the Kubernetes API /api/v1/namespaces/{ns}/events endpoint; identify root causes of CrashLoopBackOff and OOMKilled memory issues, and produce remediation steps and resource limit recommendations.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Kubernetes Pod 诊断"
slug: "kubernetes-pod-diagnostics-skill"
version: "1.0.0"
displayName: "Kubernetes Pod 诊断"
summary: "使用 kubectl describe、logs --previous 和 Kubernetes API /api/v1/namespaces/{ns}/events 端点诊断 Kubernetes pod 失败。识别 CrashLoopBackOff 根本原因、OOMKilled 内存分析,并生成修复步骤和资源限制建议。"
license: "MIT"
description: "使用 kubectl describe、logs --previous 和 Kubernetes API /api/v1/namespaces/{ns}/events 端点诊断 Kubernetes pod 失败。识别 CrashLoopBackOff 根本原因、OOMKilled 内存分析,并生成修复步骤和资源限制建议。"
github_stars: 121700
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Runbooks & Diagnostics"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 121700

Kubernetes Pod 诊断

Diagnoses Kubernetes pod failures using kubectl describe, logs --previous, and the Kubernetes API /api/v1/namespaces/{ns}/events endpoints. Identifies CrashLoopBackOff root causes, OOMKilled memory analysis, and generates remediation steps with resource limit recommendations.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 聚焦 Kubernetes Pod 故障诊断,属于运维高频刚需场景,具备明确实用价值
  • 覆盖 CrashLoopBackOff、OOMKilled 等典型问题,能显著提升排查效率
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖 kubectl describe、logs --previous 和 Kubernetes API 等多种诊断方式
  • 明确描述识别 CrashLoopBackOff 根本原因、OOMKilled 内存分析及生成修复建议,边界清晰
Structure and Standards55/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Major

    文档缺少 When to Use 章节和端到端执行示例,用户难以理解具体使用场景和执行流程

    Recommendation: 补充 When to Use 章节说明适用场景,并添加完整的端到端诊断示例,包括输入、执行步骤和预期输出

Highlights

  • frontmatter 完整,包含 name、slug、version、displayName、summary、license 等必要字段
  • 文档结构基本清晰,Installation 章节提供了上游安装路径和环境要求
Execution Reliability60/100

Areas to improve

  • 主要异常未处理 Reported severity: Major

    未覆盖 kubectl 命令执行失败、Kubernetes API 不可达、权限不足等主要异常场景,缺少错误处理逻辑

    Recommendation: 增加对 kubectl 命令执行失败、API 调用异常、权限不足等场景的错误处理,并提供相应的排查建议

Highlights

  • 工具来源明确,使用标准的 kubectl 命令和 Kubernetes API 端点
  • 提供了上游源码地址和 Docker 环境要求,便于用户验证和部署
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.docker.com
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.