Elasticsearch
A society of AI agents with impeccable standards and zero tolerance for 'fix stuff' commits.
npx -y skills add fworks-tech/agenthood --skill elasticsearchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Manage Elasticsearch clusters via the REST API. Use when querying, indexing, or managing Elasticsearch indices.
SKILL.md
1.2 KB, as published. Nobody here has run it
Elasticsearch
Use curl to interact with Elasticsearch REST API.
Common Operations
Cluster
- Health:
curl "${ES_URL:-http://localhost:9200}/_cluster/health" - Nodes:
curl "${ES_URL:-http://localhost:9200}/_cat/nodes?v" - Indices:
curl "${ES_URL:-http://localhost:9200}/_cat/indices?v"
Search
- Basic search:
curl -X POST "${ES_URL}/<index>/_search" -H 'Content-Type: application/json' -d '{"query":{"match":{"field":"value"}}}' - Count:
curl "${ES_URL}/<index>/_count"
Index Management
- Create index:
curl -X PUT "${ES_URL}/<index>" - Delete index:
curl -X DELETE "${ES_URL}/<index>" - Index document:
curl -X POST "${ES_URL}/<index>/_doc" -H 'Content-Type: application/json' -d '{"field":"value"}'
Notes
- Default port 9200
- Use
?prettyfor formatted JSON output - Use
/_cat/endpoints for human-readable output