OBSERVABILITY / elastic
Elasticsearch Cluster Health
Triage unassigned Elasticsearch shards through allocation evidence.
“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.”
01 / THE REASONING
Why this made the selection.
- The process separates reassignment triggers such as NODE_LEFT from the decider currently blocking allocation and treats missing valid primary copies explicitly.
- Distinguish lost replica redundancy from an unavailable primary and identify blocking allocation deciders.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/elasticsearch/elasticsearch-cluster-health/SKILL.md
- LICENSE
- README.md
Our findings
- The process separates reassignment triggers such as NODE_LEFT from the decider currently blocking allocation and treats missing valid primary copies explicitly.
Not established by this review
- Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add elastic/agent-skills/skills/elasticsearch/elasticsearch-cluster-health Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/elastic/agent-skills/tree/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-cluster-health - Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
- Confirm deployment type, localize the highest-impact index and inspect allocation decisions before proposing remediation.
Before you start
- Configured elastic CLI with stack es support, compatible Elasticsearch deployment and scoped credentials
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-cluster-health/SKILL.md
Supports: summary, review, install, access, limitations
- Pinned LICENSE ↗Checked
https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/LICENSE
Supports: license
- Pinned README.md ↗Checked
https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/README.md
Supports: summary, review, install, access, limitations
https://raw.githubusercontent.com/elastic/agent-skills/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-cluster-health/SKILL.md
Supports: upstreamDescription, review.notTested, review.reviewedAt, limitations