一键导入
read-event-types
Read all event types from an EventSourcingDB instance. Use when the user wants to list or discover all event types that exist in the event store.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read all event types from an EventSourcingDB instance. Use when the user wants to list or discover all event types that exist in the event store.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read details about a single event type from an EventSourcingDB instance. Use when the user wants to inspect a specific event type, check if it has a schema, or see its details.
Register a JSON Schema for an event type on an EventSourcingDB instance. Use when the user wants to add validation, define a schema, or enforce structure for an event type.
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.
Write events to an EventSourcingDB instance. Use when the user wants to store, append, or publish events, optionally with preconditions such as optimistic locking or subject constraints.
Observe events in real time from an EventSourcingDB instance. Use when the user wants to watch, monitor, or stream live events as they are written.
Ping an EventSourcingDB instance to check if it is reachable. Use when the user wants to verify connectivity or check if EventSourcingDB is running.
| name | read-event-types |
| description | Read all event types from an EventSourcingDB instance. Use when the user wants to list or discover all event types that exist in the event store. |
| allowed-tools | Bash, Read, AskUserQuestion |
List all event types from an EventSourcingDB instance.
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.
This endpoint returns NDJSON. No request body is required.
curl -s --no-buffer -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
"${ESDB_URL:-http://localhost:3000}/api/v1/read-event-types" \
| grep -v '"type":"heartbeat"'
NDJSON stream with one line per event type:
{"type":"eventType","payload":{"eventType":"io.eventsourcingdb.library.book-acquired","isPhantom":false,"schema":{...}}}