一键导入
verify-api-token
Verify an API token against an EventSourcingDB instance. Use when the user wants to check if their API token is valid.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify an API token against an EventSourcingDB instance. Use when the user wants to check if their API token is valid.
用 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.
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.
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.
| name | verify-api-token |
| description | Verify an API token against an EventSourcingDB instance. Use when the user wants to check if their API token is valid. |
| allowed-tools | Bash, Read, AskUserQuestion |
Verify that an API token is valid for 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.
curl -s -i -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
"${ESDB_URL:-http://localhost:3000}/api/v1/verify-api-token"
Returns 200 OK if the token is valid. Returns 401 Unauthorized if the token is invalid. Inform the user accordingly.