elastic-csp-investigation

elastic-csp-investigation is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 140 tokens per session (3,647 once invoked), scanned A, a copy of observability-csp-investigation, Apache-2.0.

A cloud-service investigation workflow for diagnosing problems in cloud resources, especially AWS services such as RDS, Lambda, SQS, ALB, and EC2. It uses metrics and logs stored in Elastic to connect resource behaviour with possible failures.

In plain words
What is it for?
Use it to investigate AWS service failures, resource health, and cloud-provider metrics or logs in Elastic.
Why use it?
It helps find the cause of a cloud-resource problem instead of looking at isolated metrics. It provides guidance on what data to query and how to interpret it.

Skill for Claude CodeCodex

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

Good fit Use it to investigate AWS service failures, resource health, and cloud-provider metrics or logs in Elastic.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-csp-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/elastic-csp-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,647 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 94% copy Near-identical to another mod 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.00140 $0.03647
Opus 5.5 $0.00056 $0.01459
Sonnet 5.5 $0.00028 $0.00729
Haiku 4.5 $0.00014 $0.00365

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

Security

Grade A, and why

elastic-csp-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.

Origin

This is a copy

94% identical to observability-csp-investigation — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/elastic-csp-investigation/SKILL.md · 226 lines

How it starts

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

Cloud Provider (CSP) Investigation

Diagnose cloud-provider service issues from OTel-schema metrics and logs in Elastic. The guidelines, flow, and synthesis below are provider-agnostic and apply to every investigation. The per-provider reference carries the schema facts and failure-mode signatures that cannot be guessed — read it first.

This is the CSP domain layer: which index holds a resource's telemetry, what shape its metrics take, and how to read them into a diagnosis. It assumes the harness can already author ES|QL — it does not teach query syntax, null handling, or function usage. Keep that split: this skill tells you what to query and how to interpret it; writing the query itself is the harness's job.

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

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, alert payloads, log lines, dimension names), 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 then ask for cluster access. 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 the provider references runs via POST /_query. Discovering which data streams and fields a deployment actually has uses GET /_resolve/index/<pattern> and GET /_field_caps (the way to learn whether a sparse counter has ever been mapped — see Guidelines). Active alerts are read with GET kbn:/api/alerting/rules/_find; shipped SLOs with GET kbn:/api/observability/slos. Express predicates natively in ES|QL; do not use Query DSL or the KQL function.

Read the full file on GitHub · 226 lines

Files

What ships with it

3 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 · 226 lines · 140 tokens per session scan A d7c5263dc74b

Subscribe to this mod's changes

elastic-csp-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 140 tokens to every session and 3,647 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to observability-csp-investigation, differing in 57 lines, and is treated as a copy.

Related

elastic-csp-investigation compared with skills from other repositories

elastic-csp-investigation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elastic-csp-investigationaws/tools-for-devops-agentSkill153yesterdayApache-2.0A140Claude Code, Codex
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-issue-reportawslabs/agent-pluginsSkill953todayApache-2.0A99Claude Code
agentcore-investigationawslabs/mcpSkill10.0k2d agoApache-2.0A52Claude Code, Codex