Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add thenativeweb/claude-plugins/plugin install esdbWrote 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/thenativeweb/claude-plugins/run-eventql-query)<a href="https://agentmods.dev/skills/thenativeweb/claude-plugins/run-eventql-query"><img src="https://agentmods.dev/badge/skills/thenativeweb/claude-plugins/run-eventql-query/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/thenativeweb/claude-plugins/run-eventql-query"><img src="https://agentmods.dev/badge/skills/thenativeweb/claude-plugins/run-eventql-query.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.00040 | $0.00548 |
| Opus 5.5 | $0.00016 | $0.00219 |
| Sonnet 5.5 | $0.00008 | $0.00110 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
run-eventql-query scanned grade A with 1 finding 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 3mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s --no-buffer -X POST \ What it actually says
Run EventQL Query
Run an EventQL query against an EventSourcingDB instance.
Shared Instructions
First read ${CLAUDE_PLUGIN_ROOT}/shared/common.md. It explains how to determine the base URL and API token, how to handle NDJSON responses, and which conventions apply. Follow it throughout this skill.
Also read ${CLAUDE_PLUGIN_ROOT}/shared/cloudevents.md when query results contain full events. It explains how events are structured, including the EventSourcingDB-specific metadata fields.
Request
This endpoint returns NDJSON:
curl -s --no-buffer -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
-H "content-type: application/json" \
-d '<REQUEST_BODY>' \
"${ESDB_URL:-http://localhost:3000}/api/v1/run-eventql-query" \
| grep -v '"type":"heartbeat"'
Request Body
{
"query": "<EventQL query>"
}
Example
curl -s --no-buffer -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
-H "content-type: application/json" \
-d "{\"query\": \"FROM e IN events PROJECT INTO e\"}" \
"${ESDB_URL:-http://localhost:3000}/api/v1/run-eventql-query" \
| grep -v '"type":"heartbeat"'
Common EventQL Patterns
- All events:
FROM e IN events PROJECT INTO e - Filter by type:
FROM e IN events WHERE e.type == "io.eventsourcingdb.library.book-acquired" PROJECT INTO e - Filter by subject:
FROM e IN events WHERE e.subject == "/books/42" PROJECT INTO e - Count:
FROM e IN events WHERE e.type == "io.eventsourcingdb.library.book-borrowed" PROJECT INTO { total: COUNT() } - Group by type:
FROM e IN events GROUP BY e.type PROJECT INTO { type: UNIQUE(e.type), count: COUNT() } - Latest N events:
FROM e IN events ORDER BY e.time DESC TOP 10 PROJECT INTO e
Response
NDJSON stream with one line per result row:
{"type":"row","payload":{...}}
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.
- 3mo ago First seen · 65 lines · 40 tokens per session scan A 19558c55c334
run-eventql-query is a skill published in the GitHub repository thenativeweb/claude-plugins (6 stars, last pushed 8d ago), licensed MIT. It adds 40 tokens to every session and 548 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
run-eventql-query compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| run-eventql-querythenativeweb/claude-plugins | Skill | 6 | 8d ago | MIT | A | 40 | Claude Code |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.9k | today | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| pentesting-mysqlxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 65 | Claude Code, Codex |
| nornicdb-cypher-queriesorneryd/NornicDB | Skill | 937 | today | MIT | A | 79 | Claude Code, Codex |