Skip to content
Back to skills

Es Query

ASecurity

Elasticsearch operations: search, count, mapping, indices, cluster health, aliases. Supports basic auth and API key.

  • 22 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
databasesnodeapi

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add fisker086/AIOps --skill es_query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Es Query?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Es Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fisker086-es-query/badge)](https://www.skillsdirectory.com/skills/fisker086-es-query)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: elasticsearch-query
description: Elasticsearch operations: search, count, mapping, indices, cluster health, aliases. Supports basic auth and API key.
activation_keywords: [elasticsearch, es, elastic, search, index, mapping, cluster, lucene]
execution_mode: server
---

# Elasticsearch Query Skill

Provides Elasticsearch operations for querying and managing indices:
- **search**: Execute search queries with ES query DSL
- **count**: Get document count for index
- **mapping**: Get index mapping definition
- **indices**: List all indices
- **cluster_health**: Get cluster health status
- **aliases**: List all aliases

Use `builtin_es_query` tool with fields:
- `operation`: Operation name (search, count, mapping, indices, cluster_health, aliases)
- `addresses`: ES addresses (comma-separated, e.g., localhost:9200)
- `index`: Index name to query
- `username`: (optional) ES username
- `password`: (optional) ES password
- `api_key`: (optional) ES API key (alternative to username/password)
- `query`: ES query JSON (for search/count)
- `size`: Number of results (default: 10)
- `_source`: Fields to return (comma-separated)
- `timeout`: Request timeout in seconds (default: 30)

Example - search:
```
operation: "search"
addresses: "localhost:9200"
index: "my-logs"
query: "{\"query\": {\"match\": {\"level\": \"error\"}}}"
size: "20"
```

Example - indices:
```
operation: "indices"
addresses: "localhost:9200"
```

Example - cluster health:
```
operation: "cluster_health"
addresses: "es-node1:9200,es-node2:9200"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.