k2

द्वारा cloudflare

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.

npx skills add https://github.com/cloudflare/skills --skill k2

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

TaskDocsCheck for
Create a stream and try K2Get startedPrerequisites, setup sequence, current API examples
Understand streams and subscriptionsConceptsRecord model and delivery behavior
Configure a streamConfigurationInputs, authentication, CORS, retention
Produce from HTTP or a WorkerProduce recordsRequest and binding syntax, encoding, errors, retries
Consume through subscriptionsConsume recordsLeases, acknowledgements, retries, errors
Reason about duplicates and redeliveryDelivery guaranteesAt-least-once delivery, leases, retention effects
Size a stream or consumerLimitsCurrent quotas and size limits
Estimate costPricingBilling 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.

cloudflare की और Skills

add-autogate
cloudflare
वर्करड में नए ऑटोगेट को जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें एनम पंजीकरण, स्ट्रिंग मैपिंग, उपयोग पैटर्न और… शामिल है
add-autogate
cloudflare
workerd में नए autogate जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जोखिम भरे बदलावों के क्रमिक रोलआउट के लिए, जिसमें enum पंजीकरण, स्ट्रिंग मैपिंग, उपयोग पैटर्न, और…
add-compat-flag
cloudflare
वर्कर्ड में नया संगतता फ़्लैग जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें कैपएनपी स्कीमा, C++ उपयोग, परीक्षण और दस्तावेज़ीकरण आवश्यकताएँ शामिल हैं।
add-compat-flag
cloudflare
workerd में नया संगतता फ़्लैग जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें capnp स्कीमा, C++ उपयोग, परीक्षण और दस्तावेज़ीकरण आवश्यकताएँ शामिल हैं।
agents-sdk
cloudflare
Cloudflare Workers पर Agents SDK का उपयोग करके AI एजेंट बनाएं। स्टेटफुल एजेंट, टिकाऊ वर्कफ़्लो, रीयल-टाइम WebSocket ऐप्स, शेड्यूल किए गए कार्य बनाते समय लोड करें,…
architecture
cloudflare
कोडबेस में पहली बार नेविगेट करते समय, नया क्लाइंट मेथड जोड़ते समय, नया कंटेनर हैंडलर/सर्विस जोड़ते समय, या यह समझने के लिए उपयोग करें कि अनुरोध कैसे प्रवाहित होता है…
basin
cloudflare
Build and troubleshoot Cloudflare Basin analytics workflows with Basin Pipelines, Basin Catalog, and Basin SQL. Use for streaming data into R2 Iceberg tables, managing catalogs, or querying those tables; also use for requests using the former Data Platform, Pipelines, R2 Data Catalog, or R2 SQL names.
data-analysisawsdatabase
bazel-test-hygiene
cloudflare
विकास के दौरान bazel परीक्षण चलाने के लिए अनिवार्य नियम। किसी भी bazel परीक्षण कमांड को चलाने से पहले इस कौशल को लोड करें, विशेष रूप से सुधारों या… को मान्य करते समय।