Skip to content

elastic/elasticsearch

v1.0.0Apache-2.0

Elastic Search skills for Elasticsearch — translate natural language to ES|QL, design indexes and mappings, ingest and reindex data, tune search relevance, optimize queries, detect anomalies, and check cluster health.

Elasticsearch (Elastic Search)

A Kiro Power that packages Elastic's Search skills for Elasticsearch. It helps an agent translate natural language to ES|QL, design indexes and mappings, ingest and reindex data, tune search relevance, optimize slow queries, run ML anomaly detection, and triage cluster health.

Built to the Agent Plugins v1.0.0 specification, so it is portable across any conformant client.

Skills

SkillWhat it does
elasticsearch-onboardingGets developers new to Elasticsearch from zero to a working search experience — understand intent, map data, build search with best practices.
elasticsearch-esqlExecutes ES|QL queries to analyze logs, aggregate metrics, explore data, and build charts/dashboards from results.
elasticsearch-index-designDesigns and reviews index mappings for stated access patterns: field types, text+keyword multi-fields, doc_values, mapping-explosion avoidance, shard settings.
elasticsearch-ingestLoads CSV/JSON files into indices via the bulk API with explicit mappings; verifies counts and mappings after ingest.
elasticsearch-reindexGuides reindex for performance — local and remote, slicing, throttling, the task API; mapping changes and transforms during reindex.
elasticsearch-search-relevanceImproves relevance with query rules (pin/promote) and organic ranking tuning (multi_match, field boosts) grounded in the index mapping.
elasticsearch-query-optimizationDiagnoses slow Query DSL searches using the profiling API and proposes measured fixes (filter context, wildcard elimination, re-profile).
elasticsearch-cluster-healthDiagnoses a non-green cluster and surfaces the single most likely cause with remediation; replica-vs-primary impact and data-loss awareness.
elasticsearch-anomaly-detectionCreates and manages ML anomaly detection jobs and datafeeds via the API.
elasticsearch-anomaly-detection-explainerExplains ML anomaly scores, model behavior, and result interpretation.

Prerequisites

  • Elasticsearch 8.x / 9.x, Elastic Cloud Hosted, or Serverless (feature support varies per skill — see each SKILL.md compatibility note).
  • The elastic CLI ≥ 0.2 with stack es support for skills that run queries against a cluster.

Install in Kiro

  1. Open the Kiro Powers UI → Add Custom Power → Local Directory.
  2. Point it at the absolute path of this directory.
  3. Click Add, then use Try Power on its detail page.

Example prompts

  • "Write an ES|QL query against my logs-* indices to count errors per service over the last 15 minutes."
  • "Design a mapping for an e-commerce product catalog with full-text search and faceted filtering."
  • "My search results aren't relevant — help me pin a specific product to the top for the query 'running shoes'."
  • "This search is slow; here's the profile output — what should I fix?"

Source and license

Skills are sourced from Elastic's agent-skills repository (skills/elasticsearch) and are licensed Apache-2.0 by Elastic. This power repackages them as a Kiro Power without modifying the skill content.