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
Sources and documentation
- https://raw.githubusercontent.com/elastic/agent-skills/main/skills/elasticsearch/elasticsearch-esql/SKILL.md
- https://raw.githubusercontent.com/elastic/agent-skills/main/LICENSE
Related MCP servers and skills
- Agent-first-browseMCP server
- README First-Run CheckAgent skill
- Canvas LMS (Local-First)MCP server
- Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.MCP server
- PMB (Personal Memory Brain) | Local first memory layerMCP server
- CSV Profile and Sanity CheckAgent skill