Skip to content

Elasticsearch Expert

Guides an agent through Elasticsearch queries, mappings, aggregations, and cluster management

Stars
18,243
Licence
Apache-2.0
Files
1 file

What it does

This is a written expert guide that teaches an AI agent best practices for Elasticsearch, a search and analytics engine. Once installed, the agent can give advice on designing index mappings, writing bool and match queries, building aggregations, setting up index lifecycle and snapshot policies, and diagnosing unassigned shards or yellow cluster health. The file contains guidance only; it does not connect the agent to any Elasticsearch cluster by itself.

Great for

  • Developers building search features or autocomplete on Elasticsearch
  • Data or log engineers designing time-series indices and retention policies
  • Operators troubleshooting cluster health, shard allocation, or snapshot setup

Skip it if

  • Running live changes on a production cluster without review, since the skill only supplies guidance and the agent may propose commands that delete or reindex data
  • Non-Elasticsearch search stacks such as Solr, OpenSearch-specific features, or Postgres full-text search, where the advice may not transfer directly

Try asking

  • “Design a mapping for my product catalog that supports full-text search and exact-match filters”
  • “Write a bool query that filters by date range and ranks by relevance with should clauses”
  • “Set up an ILM policy that rolls over logs daily and deletes them after 30 days”
  • “Why are some of my shards unassigned, and how do I diagnose it?”
Step-by-step guide: how to use Elasticsearch ExpertInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    elasticsearch.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip elasticsearch.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip elasticsearch.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Paste your current mapping and a sample document so the agent can review field types against your queries
  • State your Elasticsearch version, since API details and features change between releases
  • Review any reindex, delete, or replica change commands the agent suggests before running them against production

What's inside

  • SKILL.md

Redistributed unmodified from RightNow-AI/openfang under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.