Elasticsearch search

From bidewio/better-openclaw · View interactive version

Elasticsearch search is an AI agent skill from the GitHub repository bidewio/better-openclaw. Full-text search and analytics with Elasticsearch

How to use this skill

Skill file

Elasticsearch – Full-Text Search Engine

Elasticsearch is a distributed search and analytics engine

for log analytics, full-text search, and application monitoring.

Environment Variables

| Variable | Description |

|---|---|

| {{ELASTICSEARCH_URL}} | Elasticsearch cluster URL |

| {{ELASTICSEARCH_API_KEY}} | API key (if security enabled) |

Usage Examples

Index a document

curl -s -X POST "{{ELASTICSEARCH_URL}}/my-index/_doc" \
  -H "Authorization: ApiKey {{ELASTICSEARCH_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"title": "Hello", "content": "World", "timestamp": "2025-01-01"}'

Search documents

curl -s "{{ELASTICSEARCH_URL}}/my-index/_search" \
  -H "Authorization: ApiKey {{ELASTICSEARCH_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"query": {"match": {"content": "world"}}}'

AI Agent Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.