elasticsearch-query-optimization
Diagnose slow Elasticsearch Query DSL searches and propose measured fixes.
What this skill does for you
Diagnose slow Elasticsearch Query DSL searches and propose measured fixes. Use when a search is slow, profile output shows an expensive clause, exact-match filters sit in scoring context, or leading wildcards dominate latency. Ground every recommendation in search profiling : move non-scoring clauses to filter context, eliminate leading wildcards, and re-profile to confirm improvement.
Quoted from the skill description in the pinned sourceWho made it
Use it with Edge
Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the elasticsearch-query-optimization skill from elastic/agent-skills.
Paste it into Claude, ChatGPT, Codex or Cursor.
Or read the skill source first.
Security evidence
| Scanner | Date | Result | Findings |
|---|---|---|---|
| Edge static checks | 2026-09-27 | Pass | 0 |
| Cisco skill-scanner | 2026-09-27 | Pass | 0 |
| Semgrep Edge rules | 2026-09-27 | Pass | 0 |
Static scans check the code, not how well the skill works.
Scanner scope, raw findings and mirrored provider records
Edge static checks (Edge-run): edge-static/1.0.1. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Revision: baa511126ba2dc37b52e273b52734f8e4e0d323c. Raw findings: . Counted findings: .
Cisco skill-scanner (Edge-run): cisco-skill-scanner/2.1.0. Scope: Local static, YARA, pipeline and behavioral analyzers; no LLM or AI Defense analysis. Revision: baa511126ba2dc37b52e273b52734f8e4e0d323c. Raw findings: 1. Counted findings: .
Semgrep Edge rules (Edge-run): semgrep/1.178.0+edge-rules.c15016a36fd3+offline-v1. Scope: Six Edge-authored static rules with Semgrep CE; offline execution and metrics disabled. Semgrep-maintained rules excluded. Revision: baa511126ba2dc37b52e273b52734f8e4e0d323c. Raw findings: . Counted findings: .
Source and licence
- Repository
- https://github.com/elastic/agent-skills
- Pinned skill file
- View source at revision
- Revision
- baa511126ba2dc37b52e273b52734f8e4e0d323c
- Package hash
- sha256:cdcc90209642a43f3ab0d7817064b06ed4b70fb8cd3b52c57d9fd5926bcc52b5
- Licence
- Apache-2.0