Agent skill

Elasticsearch

by olasunkanmi-SE in olasunkanmi-SE/codebuddy

Interact with Elasticsearch clusters via the API. An agent skill from olasunkanmi-SE/codebuddy.

MITAuto-check passedBackend & APIs

Install Elasticsearch

skills CLI
$ npx skills add olasunkanmi-SE/codebuddy --skill elasticsearch -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install olasunkanmi-SE/codebuddy elasticsearch --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/olasunkanmi-SE/codebuddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/elasticsearch .claude/skills/elasticsearch && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
elasticsearch
GitHub stars
141
Token cost
~425 tokens
SKILL.md length
96 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Interact with Elasticsearch clusters via the API. An agent skill from olasunkanmi-SE/codebuddy.

  • Tasks that involve Search implementation
  • SKILL.md covers CLI Usage (Recommended), Manual Connection, Common Commands and Setup
  • Runs Shell scripts from its folder; calls curl

What it does

Elasticsearch is an agent skill from olasunkanmi-SE/codebuddy. Interact with Elasticsearch clusters via the API.

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `install.sh`).

It sits in Backend & APIs, covering Search implementation. It works with Elasticsearch. The repository describes itself as: An Autonomous AI Software Engineer. The licence is MIT.

When your agent uses it

  • Tasks that involve Search implementation

Example prompts

  • “/elasticsearch”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit a9b8cd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Elasticsearch loads about 425 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 96 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~425

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from olasunkanmi-SE/codebuddy at commit a9b8cd0, republished under its MIT licence (© olasunkanmi-SE). 96 words, ~425 tokens.

Download SKILL.mdSave it as .claude/skills/elasticsearch/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
elasticsearch
description
Interact with Elasticsearch clusters via the API.
metadata.displayName
Elasticsearch
metadata.icon
search
metadata.category
databases
metadata.version
1.0.0

Elasticsearch

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)

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"
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.

© olasunkanmi-SE, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/elasticsearch of olasunkanmi-SE/codebuddy.

  • SKILL.md
  • install.sh

Open the folder on GitHubat commit a9b8cd0

Compare with similar skills

Elasticsearch next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Elasticsearch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Elasticsearch this skillolasunkanmi-SE/codebuddy141—~425Automated safety check: PassMIT
Product Full-Text Searchlobehub/lobehub83k—~4.1kAutomated safety check: PassCustom licence
Foundatio Repositoriesexceptionless/Exceptionless2.5k—~1.9kAutomated safety check: PassApache-2.0
Elasticsearch Authnaspectrr/deer405—~1.2kAutomated safety check: NotesMIT
Elasticsearch Authzaspectrr/deer405—~1.8kAutomated safety check: PassMIT
Elasticsearch File Ingestaspectrr/deer405—~684Automated safety check: PassMIT

Similar skills

  • Guides work on LobeHub's own product search: the shared search repository, provider choice, Elasticsearch mappings, change syncing and reindexing.

    83k GitHub stars~4.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Foundatio Repositories

    exceptionless/Exceptionless

    Query, aggregate, patch, or paginate Exceptionless data through its Elasticsearch repository abstractions.

    2.5k GitHub stars~1.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Elasticsearch Authn

    aspectrr/deer

    Authenticate to Elasticsearch using native, file-based, LDAP/AD, SAML, OIDC, Kerberos, JWT, or certificate realms.

    405 GitHub stars~1.2k tokensUpdated 5 mo ago
    Backend & APIsAuto-check: notes
  • Elasticsearch Authz

    aspectrr/deer

    Manage Elasticsearch RBAC: native users, roles, role mappings, document- and field-level security.

    405 GitHub stars~1.8k tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed
  • Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.

    405 GitHub stars~684 tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed
  • Diagnose and resolve Elasticsearch security errors: 401/403 failures, TLS problems, expired API keys, role mapping mismatches, and Kibana login issues.

    405 GitHub stars~4.9k tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed

More from olasunkanmi-SE/codebuddy

All 10 skills in this repo
  • Datadog

    olasunkanmi-SE/codebuddy

    Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

    141 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Telegram

    olasunkanmi-SE/codebuddy

    Send Telegram messages, files, and interact with Telegram bots via the telegram-send CLI tool.

    141 GitHub stars~817 tokensUpdated 1 mo ago
    Auto-check passed
  • Gmail

    olasunkanmi-SE/codebuddy

    Read, send, and manage Gmail emails via the gmail-cli tool. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: warnings
  • GitHub

    olasunkanmi-SE/codebuddy

    Manage GitHub repositories, issues, and pull requests via the gh CLI.

    141 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check: notes
  • GitLab

    olasunkanmi-SE/codebuddy

    Manage GitLab issues and merge requests via the glab CLI. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~476 tokensUpdated 1 mo ago
    Auto-check: notes
  • Mysql

    olasunkanmi-SE/codebuddy

    Manage MySQL databases via the mysql CLI. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~399 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Elasticsearch

What does Elasticsearch do?

Interact with Elasticsearch clusters via the API. An agent skill from olasunkanmi-SE/codebuddy. Elasticsearch is an agent skill from olasunkanmi-SE/codebuddy. Interact with Elasticsearch clusters via the API.

When should I use Elasticsearch?

Elasticsearch fits situations like: tasks that involve Search implementation.

How do I install Elasticsearch in Claude Code?

Run `npx skills add olasunkanmi-SE/codebuddy --skill elasticsearch -a claude-code`. Or copy the skill folder (skills/elasticsearch in olasunkanmi-SE/codebuddy) into .claude/skills/elasticsearch in your project. Claude Code loads it when a task matches its description.

How do I install Elasticsearch in Codex?

Run `npx skills add olasunkanmi-SE/codebuddy --skill elasticsearch -a codex`. Or copy the skill folder (skills/elasticsearch in olasunkanmi-SE/codebuddy) into .agents/skills/elasticsearch in your project. Codex loads it when a task matches its description.

Can I use Elasticsearch in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add olasunkanmi-SE/codebuddy --skill elasticsearch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elasticsearch, .gemini/skills/elasticsearch, .github/skills/elasticsearch and .opencode/skills/elasticsearch in your project.

What does Elasticsearch need to run?

Going by SKILL.md and its folder, Elasticsearch needs a shell for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: A Bash shell.

Does Elasticsearch access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Elasticsearch safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Elasticsearch use?

Elasticsearch is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Elasticsearch use?

About 425 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Elasticsearch?

Skills that share tags, products or a category with Elasticsearch: Product Full-Text Search (lobehub/lobehub, 83k stars), Foundatio Repositories (exceptionless/Exceptionless, 2.5k stars), Elasticsearch Authn (aspectrr/deer, 405 stars) and Elasticsearch Authz (aspectrr/deer, 405 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Elasticsearch?

olasunkanmi-SE (a GitHub user) maintains it in olasunkanmi-SE/codebuddy, which has 141 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on August 28, 2026.

Source: olasunkanmi-SE/codebuddy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.