elastic

elastic is a skill for Claude Code from Arvo-AI/aurora. It costs 34 tokens per session (1,442 once invoked), scanned A, original, Apache-2.0.

A read-only connection to Elastic Cloud, a hosted or self-managed system for storing and searching logs, with Kibana for viewing alerts. It can discover data fields, search logs, run grouped queries, and read active alerts.

In plain words
What is it for?
Use it for root-cause analysis, such as finding error logs, grouping failures by service, examining recent events, and checking active Kibana alerts.
Why use it?
It helps investigate incidents without searching the wrong data source or guessing field names. Read-only access reduces the risk of changing logs or alerts during an investigation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for root-cause analysis, such as finding error logs, grouping failures by service, examining recent events, and checking active Kibana alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arvo-ai/aurora/elastic
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 Arvo-AI/aurora --skill elastic
Clone the repo
git clone --depth 1 https://github.com/Arvo-AI/aurora

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/arvo-ai/aurora/elastic/github.svg)](https://agentmods.dev/skills/arvo-ai/aurora/elastic)
Your own site
<a href="https://agentmods.dev/skills/arvo-ai/aurora/elastic"><img src="https://agentmods.dev/badge/skills/arvo-ai/aurora/elastic/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arvo-ai/aurora/elastic"><img src="https://agentmods.dev/badge/skills/arvo-ai/aurora/elastic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,442 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.00034 $0.01442
Opus 5.5 $0.00014 $0.00577
Sonnet 5.5 $0.00007 $0.00288
Haiku 4.5 $0.00003 $0.00144

Measured 1mo ago against content hash 9be4823d6741, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elastic 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 1mo 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.

server/chat/backend/agent/skills/integrations/elastic/SKILL.md · 88 lines

How it starts

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

Elastic Cloud Integration

Overview

Elastic Cloud integration for querying logs and Kibana alerts during Root Cause Analysis. Elasticsearch is a REMOTE service -- do NOT search the local filesystem for Elastic data. Use ONLY the tools listed below. All tools are READ-ONLY: Aurora never writes to Elasticsearch or Kibana.

Works with Elastic Cloud Hosted, Elastic Cloud Serverless and self-managed clusters.

Instructions

Tool Usage (use in this order)

  1. elastic_list_indices(pattern='logs-*') -- Discover data streams / indices. Call first to learn what data exists (e.g. logs-nginx.access-default, filebeat-*, .alerts-*).
  2. elastic_get_fields(index='logs-*', prefix='kubernetes.') -- Learn the field names before writing filters (ECS fields: log.level, service.name, host.name, kubernetes.pod.name, error.message, http.response.status_code).
  3. elastic_search_logs(query='log.level:error', index='logs-*', time_range='1h') -- Lucene search, newest first, compact documents.
  4. elastic_esql(query='FROM logs-* | WHERE log.level == "error" | STATS count() BY service.name') -- Aggregations, top-N, and timelines.
  5. elastic_get_alerts(status='active', hours=24) -- Kibana alert documents (what fired, when, why).

Lucene (query_string) cheat sheet for elastic_search_logs

  • Errors: log.level:error OR log.level:critical
  • One service: service.name:"checkout" AND log.level:error
  • Text search: message:"connection refused" or message:timeout*
  • Kubernetes: kubernetes.namespace:"prod" AND kubernetes.pod.name:api-*
  • HTTP 5xx: http.response.status_code:[500 TO 599]
  • Exclude noise: NOT message:healthcheck
  • Absolute window: start_time='2026-01-05T10:00:00Z', end_time='2026-01-05T10:30:00Z'
  • Use fields=['@timestamp','message','host.name'] to keep responses small.

ES|QL cheat sheet for elastic_esql

  • Errors by service: FROM logs-* | WHERE log.level == "error" | STATS count() BY service.name | SORT `count()` DESC
  • Errors by host: FROM logs-* | WHERE log.level IN ("error","critical") | STATS errors = COUNT(*) BY host.name | SORT errors DESC
  • Timeline (5-min buckets): FROM logs-* | WHERE log.level == "error" | STATS c = COUNT(*) BY bucket = BUCKET(@timestamp, 5 minutes) | SORT bucket
  • Top messages: FROM logs-* | WHERE log.level == "error" | STATS c = COUNT(*) BY message | SORT c DESC | LIMIT 20
  • Free-text: FROM logs-* | WHERE MATCH(message, "connection refused") | KEEP @timestamp, service.name, message
  • The time_range argument adds a pre-filter on timestamp_field (default @timestamp) automatically; pass time_range='all' to disable it for indices without a date field. | LIMIT 100 is appended if missing.
  • Both elastic_search_logs and elastic_esql accept timestamp_field for indices that do not use @timestamp (check with elastic_get_fields); with the wrong field the window matches nothing and you get 0 hits, not an error.

Read the full file on GitHub · 88 lines

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. 1mo ago First seen · 88 lines · 34 tokens per session scan A 9be4823d6741

Subscribe to this mod's changes

elastic is a skill published in the GitHub repository Arvo-AI/aurora (434 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 1,442 once invoked, about $0.0001 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-09-16.