Diagnose a non-green Elasticsearch cluster and surface the single most likely cause with remediation. Use when an operator reports yellow or red status, unassigned shards, allocation failures, or wants read-only triage before deeper investigation. Teaches replica-vs-primary impact, allocation decider classification, and data-loss awareness.
安装
npx skills add elastic/agent-skills --skill elasticsearch-cluster-healthnpx skills add elastic/agent-skills --skill elasticsearch-cluster-health -a claude-code -gnpx skills add elastic/agent-skills --skill elasticsearch-cluster-health -a codex -ggemini skills install https://github.com/elastic/agent-skills.git --path skills/elasticsearch/elasticsearch-cluster-healthgh skill install elastic/agent-skills elasticsearch-cluster-healthgit 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-cluster-health ~/.claude/skills/elasticsearch-cluster-health # Claude Code
cp -R /tmp/elastic__agent-skills/skills/elasticsearch/elasticsearch-cluster-health ~/.agents/skills/elasticsearch-cluster-health # Codex, Cursor, Gemini CLI, Copilot, OpenCode