elastic-llm-obs

elastic-llm-obs is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 91 tokens per session (4,315 once invoked), scanned A, original, Apache-2.0.

An observability workflow for examining large-language-model and AI-agent applications using data already stored in Elastic. It covers response speed, errors, token and cost use, response quality, safety checks, and chains of agent calls.

In plain words
What is it for?
Use it to investigate model latency and errors, token spending, AI costs, quality signals, guardrail events, and multi-step agent workflows.
Why use it?
It helps explain how an AI application behaves without assuming that particular telemetry sources are available. It separates AI-specific analysis from general service troubleshooting.

Skill for Claude CodeCodex

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

Good fit Use it to investigate model latency and errors, token spending, AI costs, quality signals, guardrail events, and multi-step agent workflows.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/elastic-llm-obs"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/elastic-llm-obs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,315 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.00091 $0.04315
Opus 5.5 $0.00036 $0.01726
Sonnet 5.5 $0.00018 $0.00863
Haiku 4.5 $0.00009 $0.00432

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

Security

Grade A, and why

elastic-llm-obs 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-llm-obs/SKILL.md · 271 lines

How it starts

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

LLM and Agentic Observability

Answer questions about monitoring LLMs and agentic components using data actually ingested into Elastic — nothing else. The four questions this skill answers are LLM performance, cost and token utilization, response quality, and call chaining or agentic workflow orchestration.

A given deployment typically uses one or more ingestion paths: APM/OTLP traces, and/or integration metrics and logs. Which one exists is a discovery result, not an assumption — never assume both are present. For ES|QL syntax, commands, and query patterns, use the elasticsearch-esql skill. For service-level latency and error triage that is not LLM-specific, use the elastic-sre-triage skill.

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, 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 then ask for cluster access. An answer that names the check is useful without a cluster; one that only asks for setup is not.

Jobs to be done

Read the full file on GitHub · 271 lines

Files

What ships with it

5 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 · 271 lines · 91 tokens per session scan A 85c2afd21802

Subscribe to this mod's changes

elastic-llm-obs is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 91 tokens to every session and 4,315 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-llm-obs compared with skills from other repositories

elastic-llm-obs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elastic-llm-obsaws/tools-for-devops-agentSkill153yesterdayApache-2.0A91Claude Code, Codex
dataset-transformationawslabs/agent-pluginsSkill953todayApache-2.0A110Claude Code
dataset-evaluationawslabs/agent-pluginsSkill953todayApache-2.0A93Claude Code
use-case-specificationawslabs/agent-pluginsSkill953todayApache-2.0A85Claude Code
model-selectionawslabs/agent-pluginsSkill953todayApache-2.0A98Claude Code
finetuning-techniqueawslabs/agent-pluginsSkill953todayApache-2.0A87Claude Code
finetuningawslabs/agent-pluginsSkill953todayApache-2.0A85Claude Code