Design and review Elasticsearch index mappings for stated access patterns: correct field types, text+keyword multi-fields, doc_values tuning, mapping-explosion avoidance, and explicit shard settings. Use when creating a new index, reviewing a mapping for storage or query performance, fixing wrong field types, or when the user asks which type to use for search, filter, sort, or aggregation on a…
Install
npx skills add elastic/agent-skills --skill elasticsearch-index-designnpx skills add elastic/agent-skills --skill elasticsearch-index-design -a claude-code -gnpx skills add elastic/agent-skills --skill elasticsearch-index-design -a codex -ggemini skills install https://github.com/elastic/agent-skills.git --path skills/elasticsearch/elasticsearch-index-designgh skill install elastic/agent-skills elasticsearch-index-designgit clone --depth 1 https://github.com/elastic/agent-skills /tmp/elastic__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/elastic__agent-skills/skills/elasticsearch/elasticsearch-index-design ~/.claude/skills/elasticsearch-index-design # Claude Code
cp -R /tmp/elastic__agent-skills/skills/elasticsearch/elasticsearch-index-design ~/.agents/skills/elasticsearch-index-design # Codex, Cursor, Gemini CLI, Copilot, OpenCode