# Cloudevents

> Cloudevents is an open-source agent skill for developer tools. Lets your agent write, validate and map CloudEvents 1.0 events across transports. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/cloudevents
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** cloudevents
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an AI coding agent through designing CloudEvents 1.0 event payloads, choosing between the JSON, Avro and Protobuf formats, and mapping events onto HTTP, webhooks, Kafka, AMQP, MQTT and NATS. It walks the agent through a fixed sequence of steps: pick the version, design the type and source, add documented extensions, select a format, map to a content mode and secure webhook delivery. Reference files hold the detailed rules for attributes, formats, bindings and upgrades.

The skill also covers upgrading events written against the superseded 0.3 specification to 1.0, including renaming schemaurl to dataschema and replacing datacontentencoding with data_base64. It includes a checklist for verifying events against the 1.0.2 JSON Schema and checking header naming and size limits. Subscriptions and Pagination are treated as drafts that the agent should check before relying on them.

The skill has no scripts. It expects the agent to work with the event definitions and transport details supplied by the user, and it cites the CloudEvents 1.0.2 specification and its bindings throughout.

## When your agent uses it

> CloudEvents 1.0 (1.0.2): describe events in a common format, with context attributes, extensions, the JSON, Avro and Protobuf formats, and the HTTP, Kafka, AMQP, MQTT and NATS bindings, plus upgrades from CloudEvents 0.3. Use when designing event payloads or webhooks, publishing to a queue or topic, choosing binary or structured content mode, mapping ce- headers, validating against the CloudEvents JSON Schema, adding traceparent or partitionkey, upgrading specversion 0.3 events (schemaurl, datacontentencoding), or checking the Subscriptions and Pagination drafts. Triggers: CloudEvents, CNCF CloudEvents, specversion 1.0, application/cloudevents+json, application/cloudevents-batch+json, ce-id, ce-type, ce_ Kafka headers, data_base64, datacontenttype, dataschema, event envelope, webhook delivery, WebHook-Request-Origin, xRegistry.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/cloudevents)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/cloudevents)

## Features

- **Required attribute rules:** Covers the four mandatory context attributes and the naming and uniqueness rules for id and source.
- **Format selection:** Explains when to use JSON, Avro or Protobuf and how to encode data, including data_base64.
- **Transport bindings:** Maps events to HTTP binary, structured and batched modes, plus Kafka, AMQP, MQTT and NATS.
- **Webhook delivery checks:** Describes the webhook abuse-protection handshake and the response codes that webhook targets must return.
- **Version upgrade checklist:** Lists the steps to move CloudEvents 0.3 events to 1.0 while keeping their identity and data.
- **Documented extensions:** Covers the traceparent and partitionkey extensions and the rules for adding new extension attributes.

## Good for

- Wrap webhook payloads in a CloudEvents envelope
- Publish events to a Kafka topic with ce_ headers
- Choose binary or structured content mode for an HTTP endpoint
- Upgrade 0.3 events to CloudEvents 1.0
- Validate an event payload against the CloudEvents JSON Schema
- Add traceparent tracing to outgoing events

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/cloudevents`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cloudevents &&
cp -R "$tmp/.agents/skills/cloudevents" ~/.claude/skills/cloudevents &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/cloudevents` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/cloudevents` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cloudevents &&
cp -R "$tmp/.agents/skills/cloudevents" ~/.agents/skills/cloudevents &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/cloudevents` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/cloudevents` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cloudevents &&
cp -R "$tmp/.agents/skills/cloudevents" ~/.cursor/skills/cloudevents &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/cloudevents` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/cloudevents
```

Or copy the folder to `~/.gemini/skills/cloudevents` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cloudevents`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cloudevents &&
cp -R "$tmp/.agents/skills/cloudevents" ~/.copilot/skills/cloudevents &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/cloudevents` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/cloudevents` into your agent's skills folder as `cloudevents`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It has no scripts. It works from the event designs and transport details you provide and cites the CloudEvents 1.0.2 specification.

### Which version of CloudEvents does it target?

CloudEvents 1.0, pinned at 1.0.2. The 0.3 version is treated as legacy and is only used as the source for upgrades.

### Does Cloudevents cover Subscriptions or Pagination?

It covers them only as drafts, and it tells the agent to check their status before relying on them in production.

### Which transports does Cloudevents handle?

HTTP including webhooks, Kafka, AMQP, MQTT and NATS, with the binary, structured and batched HTTP content modes.

### How do I install Cloudevents in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cloudevents to use it in all your projects, or to .claude/skills/cloudevents in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does Cloudevents run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Cloudevents?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Cloudevents?

The closest alternatives to Cloudevents are Asyncapi, API integration, Ag UI, Agents SDK and Audio event map authoring.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Asyncapi](https://ai-powered.com/skills/asyncapi): Asyncapi is an open-source agent skill for developer tools.
- [API integration](https://ai-powered.com/skills/api-integration): API integration is an open-source agent skill for developer tools.
- [Ag UI](https://ai-powered.com/skills/ag-ui): Ag UI is an open-source agent skill for developer tools.
- [Agents SDK](https://ai-powered.com/skills/agents-sdk): Agents SDK is an open-source agent skill for developer tools.
- [Audio event map authoring](https://ai-powered.com/skills/audio-event-map-authoring): Audio event map authoring is an open-source agent skill for developer tools.
- [Contract design](https://ai-powered.com/skills/contract-design): Contract design is an open-source agent skill for developer tools.
- [Azure eventgrid java](https://ai-powered.com/skills/azure-eventgrid-java): Azure eventgrid java is an open-source agent skill for cloud and infrastructure.
- [JSON schema](https://ai-powered.com/skills/json-schema): JSON schema is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cloudevents
