elastic-k8s-investigation

elastic-k8s-investigation is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 89 tokens per session (7,036 once invoked), scanned A, original, Apache-2.0.

A Kubernetes investigation workflow for diagnosing failures in container workloads, cluster machines, and Kubernetes control-plane components. Kubernetes is a system that runs and manages containers across a cluster.

In plain words
What is it for?
Use it to investigate restart loops, out-of-memory kills, node pressure, failed image pulls, admission errors, autoscaling problems, and related application signals.
Why use it?
It connects cluster state, pod metrics, events, application logs, and application-performance data so the failure can be traced across layers. This helps distinguish issues such as crashed pods, exhausted resources, image-pull failures, and rejected deployments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate restart loops, out-of-memory kills, node pressure, failed image pulls, admission errors, autoscaling problems, and related application signals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/elastic-k8s-investigation
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.

Any agent
npx skills add aws/tools-for-devops-agent --skill elastic-k8s-investigation
Clone the repo
git clone --depth 1 https://github.com/aws/tools-for-devops-agent

Made for: Claude Code, Codex.

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 elastic-k8s-investigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/elastic-k8s-investigation/github.svg)](https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-k8s-investigation)
Your own site
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-k8s-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/elastic-k8s-investigation/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 elastic-k8s-investigation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-k8s-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/elastic-k8s-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,036 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 original No closer match found 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.00089 $0.07036
Opus 5.5 $0.00036 $0.02814
Sonnet 5.5 $0.00018 $0.01407
Haiku 4.5 $0.00009 $0.00704

Measured 20d ago against content hash c13fe7ce3c30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elastic-k8s-investigation 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 20d 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.

skills/elastic-k8s-investigation/SKILL.md · 490 lines

How it starts

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

Kubernetes Investigation

Diagnose Kubernetes issues using OTel telemetry collected via EDOT (Elastic Distribution of OpenTelemetry) and the kube-stack collector. Correlate cluster state, pod runtime metrics, K8s events, application logs, and APM to identify root cause across the workload, node, and control-plane layers.

Environment Configuration

This skill reads Elastic through the Elastic Agent Builder MCP tools connected to AWS DevOps Agent: run ES|QL with platform.core.execute_esql, list indices and data streams with platform.core.list_indices, and read field mappings with platform.core.get_index_mapping. Operations below are written in HTTP-shorthand form (e.g., POST /_query); the Operations table lists every operation this skill uses. If no connected tool covers an operation, say what you would check and why instead of calling the HTTP API another way.

Analysis without cluster access

The connected Elastic tools gate querying the cluster — they do not gate analysis. When the user has already supplied the evidence in their question (metric values, counts, status reasons, log lines, alert payloads, configuration), reason from that evidence and deliver the conclusion.

When you genuinely do need data the user has not provided, still say what you would check and how — name the specific query, index, and field that would settle the question — and which Elastic tool would answer it. An answer that names the check is useful without a cluster; one that only asks for setup is not.

Every ES|QL query in this skill and in references/query-recipes.md runs via platform.core.execute_esql. Field-presence checks use platform.core.get_index_mapping. The Operations table lists every operation this skill uses.

Scope

In scope: OTel-receiver-namespaced indices (metrics-kubeletstatsreceiver.otel-*, metrics-k8sclusterreceiver.otel-*, logs-k8seventsreceiver.otel-*, logs-k8sobjectsreceiver.otel-*) and OTel semantic conventions (k8s.pod.name, k8s.namespace.name, k8s.container.restarts).

Read the full file on GitHub · 490 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago First seen · 490 lines · 89 tokens per session scan A c13fe7ce3c30

Subscribe to this mod's changes

elastic-k8s-investigation is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 89 tokens to every session and 7,036 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-10.

Related

elastic-k8s-investigation compared with skills from other repositories

elastic-k8s-investigation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elastic-k8s-investigationaws/tools-for-devops-agentSkill153yesterdayApache-2.0A89Claude Code, Codex
aks-troubleshootingmicrosoft/skillsSkill3.3k3d agoMITA221Claude Code
hyperpod-node-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A139Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A80Claude Code
hyperpod-ncclawslabs/agent-pluginsSkill953todayApache-2.0A150Claude Code
hyperpod-performance-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A133Claude Code
hyperpod-slurm-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A162Claude Code