- Home
- Skills
- Productivity
- OOMGuard: Kubernetes OOMKilled Diagnostician
OOMGuard: Kubernetes OOMKilled Diagnostician
Works out why a pod is getting exit 137 - undersized limit, memory leak, or node pressure - reads JVM and Node heap behaviour, and sets requests and limits with a justified buffer.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
About this skill
OOMGuard: Kubernetes OOMKilled Memory Limit Tuner Exit code 137 tells you the container was killed. It does not tell you whether the limit was too low or the application was leaking, and raising the limit works equally well for both - for a while.
Built for DevOps and SRE teams chasing restart loops. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.
What's included:
- OOM event analysis: exit 137 occurrences correlated with the pod's memory curve, so the shape of the growth is visible rather than just the fact of the kill.
- Leak versus undersize: memory that plateaus near the limit means the limit is wrong; memory that climbs steadily from every restart means the application is leaking and more headroom only buys time. The distinction determines which fix is the right one.
- Runtime-aware reading: JVM and Node heap behaviour interpreted against total container memory, which is where most of the confusion lives.
- Requests and limits with a buffer: values derived from observed working set plus headroom, with the reasoning shown.
- Local execution: kubectl output and the calculations run on your machine.
Three things that cause wrong conclusions. First, exit 137 is not always your container exceeding its own limit - under node memory pressure the kubelet evicts and the kernel OOM killer can take a pod that was within its limit, and the fix for that is node capacity or requests, not the container's ceiling.
Second, on the JVM: the container dies at a limit that looks generous next to -Xmx because heap is not the whole footprint. Metaspace, thread stacks, code cache, direct byte buffers and the allocator's own overhead live outside it, and a container sized to heap plus a token margin will be killed. Size with MaxRAMPercentage against the container limit rather than setting -Xmx and hoping.
Third, the gap between requests and limits is a scheduling decision as much as a memory one. Requests equal to limits gives the pod Guaranteed QoS and the strongest protection from eviction; a wide gap gets you better packing and makes that pod an early candidate when a node comes under pressure. Choose deliberately rather than inheriting whatever the chart's defaults were.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Accounts
Anthropic
Permissions
Allowed Hosts
This skill calls Anthropic Claude 3.5 Haiku (paid). 1 of these is billed by its provider, not by us; you supply the account. It runs kubectl against whichever cluster your kubeconfig points at. It reads ANTHROPIC_API_KEY from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local Kubectl JSON Output, Local Python Math Engine. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.