k8s-log-investigation
CommunityFind the root cause fast in Kubernetes logs.
System Documentation
What problem does it solve?
It helps you diagnose failing or unstable Kubernetes pods by quickly locating the most relevant error signals in very large log streams without dumping everything.
Core Features & Use Cases
- Token-efficient triage: searches for high-signal anchor patterns (errors, warnings, panics, timeouts, crash loop indicators) before retrieving broader context.
- Progressive widening: expands small surrounding context around each anchor, then gradually increases scope only as needed.
- Lifecycle correlation: checks previous container logs to connect failures with restart/crash behavior and improve root-cause confidence.
- Safe reporting: summarizes findings succinctly and avoids leaking secrets by redacting sensitive tokens; ends with an explicit result status line.
Use this when investigating pod crashes, CrashLoopBackOff, connection/timeouts, OOMKilled events, or when users ask to diagnose Kubernetes pod logs but the logs are too large to fetch in full.
Quick Start
Use the k8s-log-investigation skill to investigate the failing pod logs for the last 10 minutes in namespace <ns> and report the most likely root-cause category.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: k8s-log-investigation Download link: https://github.com/blouargant/yoke-registry/archive/main.zip#k8s-log-investigation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.