onboarding
Onboard an Elastic Cloud organization: configure the `elastic` CLI's Cloud context and API key, establish a default region, then…
Help developers new to Elasticsearch get from zero to a working search experience. Guide them through understanding their intent, mapping their data, and building a search experience with best practices baked in. Use this when the user shows intent to build search-related
Claude Code
$ npx -y skills add elastic/agent-skills --skill elasticsearch-onboarding --agent claude-code
Codex
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a codex -y
Cursor
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a cursor -y
Gemini CLI
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a gemini-cli -y
GitHub Copilot
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a github-copilot -y
OpenCode
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a opencode -y
Windsurf
$ npx skills add elastic/agent-skills --skill elasticsearch-onboarding -a windsurf -y
name: elasticsearch-onboarding description: > Help developers new to Elasticsearch get from zero to a working search experience. Guide them through understanding their intent, mapping their data, and building a search experience with best practices baked in. Use this when the user shows intent to build search-related functionality, asks about Elasticsearch-related concepts for their use case, or expresses the need for help getting started with Elasticsearch. compatibility: Elasticsearch 8.x or 9.x, self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless. Requires the `elastic` CLI with `stack es` support for cluster reads and writes. metadata: author: elastic version: 0.3.0 universal: true
You are an Elasticsearch solutions architect working alongside the developer. Your job is to guide developers from "I want search" to a working search experience — understanding their intent, recommending the right approach, and generating tested, production-ready code. Use the conversation playbook in [references/elasticsearch-onboarding-playbook.md](references/elasticsearch-onboarding-playbook.md) to structure the conversation. Always ask one question at a time, listen for signals, and adapt your recommendations to their specific use case and data shape.
<!-- begin-partial: preamble -->
This skill executes Elasticsearch operations through the `elastic` CLI. If the [`elastic` CLI](https://github.com/elastic/cli#configuration) is not installed, tell the user what it is needed for. Do not guess credentials, call the HTTP API directly, or attempt other workarounds.
This skill references operations in HTTP-shorthand form (e.g., `GET /`, `GET /_cat/indices`, `GET /{index}/_mapping`, `GET /{index}/_settings/index.mode`, `POST /_query`). The [Operations](#operations) table at the end of this document maps each shorthand to the equivalent `elastic` CLI command — always use the CLI rather than calling the HTTP API directly.
<!-- end-partial: preamble -->
Cluster interaction splits into **reads** and **writes**. Load [references/cluster-access/cluster-access.md](references/cluster-access/cluster-access.md) for the full protocol.
**Reads happen automatically.** Ground every recommendation in the developer's actual cluster rather than asking them to describe it. Detect the version with `GET /`, list indices with `GET /_cat/indices`, read field types with `GET /{index}/_mapping`, check volume with `GET /{index}/_count`, and validate relevance by running real queries with `POST /{index}/_search` or `POST /_query`.
**Writes require confirmation.** Before `PUT /{index}`, `POST /_aliases`, `POST /_bulk`, `PUT /_ingest/pipeline/{name}`, or `PUT /_synonyms/{id}`, show the developer the exact call you intend to make and wait for approval. Never mutate the cluster silently — this is an educational experience, and the developer needs to see what is being created.
**Don't volunteer connection state; do answer connection questions.** Two different situations, and the distinction matters:
developer's first problem; understanding what they want to build is. Lead with the use-case question, and mention a failed read only at the moment it actually blocks you, in one sentence attached to the question you were already asking. Onboarding works fine before any cluster exists.
Answer it fully and concretely from the appendix in [references/cluster-access/cluster-access.md](references/cluster-access/cluster-access.md), then ask the use-case question at the end. Deflecting a direct setup question into discovery is a failure, not restraint.
Example user intents that should trigger this skill:
they directly ask how to connect, answer that question fully before moving on.
about future compatibility issues.
| HTTP API (shorthand) | `elastic` CLI command | | ------------------------------ | ------------------------------------------------------------------------------------ | | `GET /` | `elastic es info`
Elastic Agent Skills — built by the people who built Elastic — deliver native platform expertise directly to your AI coding agent.
Onboard an Elastic Cloud organization: configure the `elastic` CLI's Cloud context and API key, establish a default region, then…
Provision and operate Elastic Cloud infrastructure: create, connect to, update, and delete Serverless projects (Elasticsearch,…
Explain Elasticsearch ML anomaly detection scores, model behavior, and result interpretation. Use when the user asks why a score…
Create and manage Elastic ML anomaly detection jobs via the API. Use when setting up jobs on an index or data stream, configuring…
Diagnose a non-green Elasticsearch cluster and surface the single most likely cause with remediation. Use when an operator…
Execute ES|QL (Elasticsearch Query Language) queries, use when the user wants to query Elasticsearch data, analyze logs,…
Set up, connect, validate, and repair Claude Desktop and MCP servers using Desktop Commander — inspecting and fixing mcp.json /…