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.
npx skills add aws/tools-for-devops-agent --skill elastic-csp-investigationgit clone --depth 1 https://github.com/aws/tools-for-devops-agentWrote 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.
[](https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-csp-investigation)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
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.
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.
- 20d ago First seen · 226 lines · 140 tokens per session scan A d7c5263dc74b
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.
elastic-csp-investigation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| elastic-csp-investigationaws/tools-for-devops-agent | Skill | 153 | yesterday | Apache-2.0 | A | 140 | Claude Code, Codex |
| hyperpod-node-debuggerawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 139 | Claude Code |
| hyperpod-cluster-debuggerawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 80 | Claude Code |
| hyperpod-ncclawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 150 | Claude Code |
| hyperpod-performance-debuggerawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 133 | Claude Code |
| hyperpod-issue-reportawslabs/agent-plugins | Skill | 953 | today | Apache-2.0 | A | 99 | Claude Code |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |