← All Agent Skills

Elasticsearch ES|QL skill for schema-first queries

Reusable Elastic instructions for inspecting a cluster, choosing version-compatible ES|QL features and running a focused query.

Overview

Elastic’s elasticsearch-esql skill contains a reusable task process for querying Elasticsearch with ES|QL. It first checks connectivity and deployment type, discovers indices and field mappings, then chooses a suitable feature and generates a simple query. The instructions distinguish ES|QL from SQL, Query DSL and EQL. They also explain version-gated features, time-series index checks and result handling. This is an actual SKILL.md with frontmatter, prerequisites and an operations mapping, rather than a directory label applied to an unrelated repository.

Getting started

Read the original skill file and configure the required elastic CLI before running the workflow. The instructions stop on a missing connection rather than guessing credentials or indices.

Compatibility and requirements

The file requires elastic CLI 0.2 or later with stack es support and Elasticsearch 8.14 or later for general availability; individual features have later version requirements.

Things to know

Queried indices need _source enabled. The skill requires schema discovery and deployment-specific feature checks; it is documentation to apply in an authorized environment, not a connected database.

Skill instructions

Open original SKILL.md ↗

Sources and documentation

Browse the MCP server directory