用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/olasunkanmi-SE/codebuddy --skill elasticsearch命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| 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":{"brew":"curl"},"linux":{"apt":"curl","dnf":"curl"},"windows":{"scoop":"curl","choco":"curl"}}},"config":[{"name":"ES_URL","label":"Base URL","type":"string","required":false,"placeholder":"http://localhost:9200"}],"auth":{"type":"api-key"}} |
Use the provided es-cli wrapper or direct REST API calls to manage indexes and search data.
An es-cli wrapper is available in .codebuddy/bin.
Base URL default: http://localhost:9200 (Override with ES_URL env var)
es-cli GET /_cluster/healthes-cli GET /_cat/indiceses-cli GET /my-index/_searchTypically accessed via curl.
Base URL: http://localhost:9200 (or your cluster URL)
curl -X GET "localhost:9200/_cluster/health?pretty"
curl -X GET "localhost:9200/_cat/indices?v"
curl -X GET "localhost:9200/<index>/_search?q=*&pretty"
curl -X PUT "localhost:9200/<index>"
curl -X DELETE "localhost:9200/<index>"
Ensure you have access to the Elasticsearch cluster and curl installed.
For authenticated clusters, use -u username:password or Authorization headers.