소스 정보
- 저장소
- olasunkanmi-SE/codebuddy
- 최근 소스 활동
- 2026년 3월 16일 13:58
- 감지된 SKILL.md 언어
- 영어
- 스타
- 141
- 포크
- 44
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- elasticsearch
- description
- Interact with Elasticsearch clusters via the API.
- metadata
- {"displayName":"Elasticsearch","icon":"search","category":"databases","version":"1.0.0","dependencies":{"cli":"curl","checkCommand":"curl --version","bundledInstall":"skills/elasticsearch/install.sh","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"config":[{"name":"ES_URL","label":"Base URL","type":"string","required":false,"placeholder":"http://localhost:9200"}],"auth":{"type":"api-key"}}
# Elasticsearch
Use the provided `es-cli` wrapper or direct REST API calls to manage indexes and search data.
## CLI Usage (Recommended)
An `es-cli` wrapper is available in `.codebuddy/bin`.
Base URL default: `http://localhost:9200` (Override with ES_URL env var)
### Examples
- Check Health: `es-cli GET /_cluster/health`
- List Indexes: `es-cli GET /_cat/indices`
- Search: `es-cli GET /my-index/_search`
## Manual Connection
Typically accessed via `curl`.
Base URL: `http://localhost:9200` (or your cluster URL)
## Common Commands
### Cluster Health
```bash
curl -X GET "localhost:9200/_cluster/health?pretty"
```
### List Indexes
```bash
curl -X GET "localhost:9200/_cat/indices?v"
```
### Search
```bash
curl -X GET "localhost:9200/<index>/_search?q=*&pretty"
```
### Create Index
```bash
curl -X PUT "localhost:9200/<index>"
```
### Delete Index
```bash
curl -X DELETE "localhost:9200/<index>"
```
## Setup
Ensure you have access to the Elasticsearch cluster and `curl` installed.
For authenticated clusters, use `-u username:password` or Authorization headers.
GitHub에서 보기