From esdb
Run an EventQL query against an EventSourcingDB instance. Use when the user wants to query, filter, aggregate, or analyze events using the EventQL query language.
npx claudepluginhub thenativeweb/claude-plugins --plugin esdbThis skill is limited to using the following tools:
Run an EventQL query against an EventSourcingDB instance.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Dynamically discovers and combines enabled skills into cohesive, unexpected delightful experiences like interactive HTML or themed artifacts. Activates on 'surprise me', inspiration, or boredom cues.
Run an EventQL query against an EventSourcingDB instance.
Read configuration from environment variables:
echo "ESDB_URL: ${ESDB_URL:-http://localhost:3000}"
echo "ESDB_API_TOKEN: ${ESDB_API_TOKEN:-(not set)}"
ESDB_URL if set, otherwise default to http://localhost:3000.ESDB_API_TOKEN is not set, use AskUserQuestion to ask the user for the API token.This endpoint returns NDJSON. Use --no-buffer and filter out heartbeats:
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"'
{
"query": "<EventQL query>"
}
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"'
FROM e IN events PROJECT INTO eFROM e IN events WHERE e.type == "io.example.book-acquired" PROJECT INTO eFROM e IN events WHERE e.subject == "/books/42" PROJECT INTO eFROM e IN events WHERE e.type == "io.example.book-borrowed" PROJECT INTO { total: COUNT() }FROM e IN events GROUP BY e.type PROJECT INTO { type: UNIQUE(e.type), count: COUNT() }FROM e IN events ORDER BY e.time DESC TOP 10 PROJECT INTO eNDJSON stream with one line per result row:
{"type":"row","payload":{...}}