cloudflare-mining/cloudflare-datamining/k2
Claude Code and agent skill by cloudflare-mining/cloudflare-datamining
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install cloudflare-mining/cloudflare-datamining/k2SKILL.md
The same SKILL.md was published earlier as cloudflare-mining/cloudflare-datamining/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
| 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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/middlecache/v1/cloudflare-skills/skills/k2/SKILL.md
Popularity
- Repository stars
- 199
- Repository forks
- 26
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloudflare-mining/cloudflare-datamining/k2)