Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add abdullahkhawer/devops-skills --skill elasticsearch-cligit clone --depth 1 https://github.com/abdullahkhawer/devops-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/abdullahkhawer/devops-skills/elasticsearch-cli)<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/elasticsearch-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/elasticsearch-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/elasticsearch-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/elasticsearch-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.01045 |
| Opus 5.5 | $0.00011 | $0.00418 |
| Sonnet 5.5 | $0.00006 | $0.00209 |
| Haiku 4.5 | $0.00003 | $0.00104 |
Grade B, and why
elasticsearch-cli scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
mkdir -p ~/.elasticsearch && echo "<your-api-key>" > <CREDENTIAL_FILE> && chmod 600 <CREDENTIAL_FILE> Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: Perform Elasticsearch operations using the Elasticsearch HTTP API via curl. Use for querying indices, documents, mappings, and cluster health. How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Elasticsearch CLI Skill
Use the instance and rules below when constructing all Elasticsearch API commands.
Instances
Update the table below with your Elasticsearch instance URLs and corresponding credential file paths:
| Environment | Base URL | Credential File |
|---|---|---|
| Production | https://<your-es-prod-url> |
~/.elasticsearch/prod.token |
| Staging | https://<your-es-staging-url> |
~/.elasticsearch/staging.token |
If the target instance is unclear, ask the user before running any command.
Prerequisites (one-time setup by user)
Generate an Elasticsearch API key for each instance you intend to use and save it to the corresponding credential file (see instance table above). Never print or display credential values. Do not perform these steps yourself.
mkdir -p ~/.elasticsearch && echo "<your-api-key>" > <CREDENTIAL_FILE> && chmod 600 <CREDENTIAL_FILE>
Command Format
All API calls use curl with the API key read from the instance's credential file:
curl -s -H "Authorization: ApiKey $(cat <CREDENTIAL_FILE>)" \
"<BASE_URL>/<endpoint>" | jq .
Example (production):
curl -s -H "Authorization: ApiKey $(cat ~/.elasticsearch/prod.token)" \
"https://<your-es-prod-url>/_cluster/health" | jq .
Available API Endpoints
Read-only (safe, no confirmation needed)
| Endpoint | Method | Description |
|---|---|---|
/_cluster/health |
GET | Show cluster health status |
/_cat/indices?v |
GET | List all indices with stats |
/_cat/nodes?v |
GET | List cluster nodes |
/_cat/shards?v |
GET | List shard allocation |
/<index>/_mapping |
GET | Show field mappings for an index |
/<index>/_settings |
GET | Show index settings |
/<index>/_search |
GET/POST | Search documents (query in body) |
/<index>/_count |
GET/POST | Count matching documents |
/<index>/_doc/<id> |
GET | Get a document by ID |
/_cat/aliases?v |
GET | List index aliases |
/_nodes/stats |
GET | Show node-level statistics |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 100 lines · 28 tokens per session scan B c98defedca9e
elasticsearch-cli is a skill published in the GitHub repository abdullahkhawer/devops-skills (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,045 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
elasticsearch-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| elasticsearch-cliabdullahkhawer/devops-skills | Skill | 11 | 2mo ago | Apache-2.0 | B | 28 | Claude Code, Codex |
| db-migration-helperwu529778790/shenzjd-skills | Skill | 4 | 2mo ago | MIT | A | 32 | Claude Code, Codex |
| docs-managearabold/docs-mcp-server | Skill | 1.9k | 8d ago | MIT | A | 68 | Claude Code, Codex |
| fetch-urlarabold/docs-mcp-server | Skill | 1.9k | 8d ago | MIT | A | 51 | Claude Code, Codex |
| workthreadsspecstoryai/getspecstory | Skill | 1.4k | 3d ago | Apache-2.0 | A | 126 | Claude Code |
| durable-objectsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 22 | Claude Code |
| mongodb-connectionfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 122 | Claude Code |