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 23d 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.
- 23d 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 (8 stars, last pushed 24d 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.
Other skills, from other repositories
db-migration-helper
Use when generating database migration SQL from model or schema changes — compares current vs desired schema, detects diffs, outputs reversible safe migrations.
lore
SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user…
docs-manage
Manage the Grounded Docs MCP Server documentation index. Covers scraping and indexing documentation from URLs or local files, refreshing existing indexes with changed content, removing libraries from the index, and compacting the SQLite store. Use when you need to add, update, or delete indexed documentation, or…
release-db-config-sync
Compute the remote DB migration + Nacos config diff before a test release — apc release db-config-sync really spawns sync-test-migrations.ts --dry-run (never a stub) and diffs Nacos key dumps, stopping at the write boundary. green(0) no diff · staged(3) pending migrations/missing keys await approval · blocked(1) real…
alembic-migration
Create, review, and apply database schema changes with Alembic. Use whenever a SQLAlchemy model is added or changed, a column/index/constraint needs to change, or a data backfill is required — anything that alters the PostgreSQL schema.
fetch-url
Fetch a single URL and convert its content to Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. The content is returned as plain Markdown text on stdout.