Index of every page on this site: llms.txt
All skills
cloudflare avatar

/k2

@5108325 official
by cloudflarecloudflare/skills3.4k stars
357
Run it yourself

Build and troubleshoot Cloudflare K2 or K2 Streams durable logs. Use for stream setup, producing from Workers or HTTP, configuring retention and inputs, and consuming through subscriptions.

Use this Skill: https://skilld.dev/gh/cloudflare/skills/k2

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈48 tokens for metadata: the name and description. ≈595 when used: this file. ≈691 more on demand in 1 file.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈194 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Cloudflare K2

K2 is a durable log for decoupling event producers and consumers. Start with the K2 overview, then retrieve the relevant current documentation before giving setup instructions, code, limits, availability, permissions, or API details. The docs are the source of truth over this skill. K2 is in public beta on the Workers Paid plan; check the overview for current availability and beta storage limits.

Documentation

Task Docs Check for
Create a stream and try K2 Get started Prerequisites, setup sequence, current API examples
Understand streams and subscriptions Concepts Record model and delivery behavior
Configure a stream Configuration Inputs, authentication, CORS, retention
Produce from HTTP or a Worker Produce records Request and binding syntax, encoding, errors, retries
Consume through subscriptions Consume records Leases, acknowledgements, retries, errors
Reason about duplicates and redelivery Delivery guarantees At-least-once delivery, leases, retention effects
Size a stream or consumer Limits Current quotas and size limits
Estimate cost Pricing Billing status, data produced, consumed, and retained

Retrieve the matching pages above for each task and use their current examples. For capacity or cost questions, check current limits and pricing before quoting values, and state whether billing is enabled yet.

For SQL transformation and delivery to R2 Iceberg tables, use the basin skill. For task processing, consult Queues.

Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2d3 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    This skill facilitates the setup and troubleshooting of Cloudflare K2 durable logs and provides a mechanism for submitting feedback. It includes strong privacy considerations, such as explicitly instructing the agent to sanitize sensitive data and obtain user approval before any public data submission via the GitHub CLI.

  • Socket2d

    No alerts

  • Snyk3d

    Risk: LOW · No issues

Signed by skilld at 5108325. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 4 days ago

README badge

README badge for cloudflare/skills/k2