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/register-event-schema)<a href="https://agentmods.dev/skills/thenativeweb/claude-plugins/register-event-schema"><img src="https://agentmods.dev/badge/skills/thenativeweb/claude-plugins/register-event-schema/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/register-event-schema"><img src="https://agentmods.dev/badge/skills/thenativeweb/claude-plugins/register-event-schema.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.00041 | $0.00506 |
| Opus 5.5 | $0.00016 | $0.00202 |
| Sonnet 5.5 | $0.00008 | $0.00101 |
| Haiku 4.5 | $0.00004 | $0.00051 |
Grade A, and why
register-event-schema 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 -i -X POST \ What it actually says
Register Event Schema
Register a JSON Schema for an event type on an EventSourcingDB instance. Once registered, all incoming events of that type are validated against the schema.
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. It explains how event types are validated and which constraints apply to the data field that the schema describes.
Request
curl -s -i -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
-H "content-type: application/json" \
-d '<REQUEST_BODY>' \
"${ESDB_URL:-http://localhost:3000}/api/v1/register-event-schema"
Request Body
{
"eventType": "<reverse.domain.event-type>",
"schema": {
"type": "object",
"properties": {
"title": { "type": "string" }
},
"required": ["title"],
"additionalProperties": false
}
}
Example
curl -s -i -X POST \
-H "authorization: Bearer ${ESDB_API_TOKEN}" \
-H "content-type: application/json" \
-d "{
\"eventType\": \"io.eventsourcingdb.library.book-acquired\",
\"schema\": {
\"type\": \"object\",
\"properties\": {
\"title\": { \"type\": \"string\" },
\"author\": { \"type\": \"string\" }
},
\"required\": [\"title\", \"author\"],
\"additionalProperties\": false
}
}" \
"${ESDB_URL:-http://localhost:3000}/api/v1/register-event-schema"
Response
JSON in CloudEvents format on success.
Schemas cannot be modified or removed once registered. Returns 409 Conflict if a schema already exists for the event type.
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 · 69 lines · 41 tokens per session scan A cb6ed5b5cebe
register-event-schema is a skill published in the GitHub repository thenativeweb/claude-plugins (6 stars, last pushed 8d ago), licensed MIT. It adds 41 tokens to every session and 506 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.
register-event-schema compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| register-event-schemathenativeweb/claude-plugins | Skill | 6 | 8d ago | MIT | A | 41 | Claude Code |
| event-store-designwshobson/agents | Skill | 43k | 2d ago | MIT | A | 33 | Claude Code |
| platform-custom-field-generateforcedotcom/sf-skills | Skill | 1.2k | 4d ago | Apache-2.0 | A | 139 | Claude Code |
| durable-objectsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 22 | Claude Code |
| field-service-sobject-create-configureforcedotcom/sf-skills | Skill | 1.2k | 4d ago | Apache-2.0 | A | 74 | Claude Code |
| nornicdb-grpcorneryd/NornicDB | Skill | 937 | today | MIT | A | 98 | Claude Code, Codex |
| firebaseericrisco/rsc-harness | Skill | 695 | today | MIT | A | 77 | Claude Code, Codex |