Agent skill · Backend & API

cloudflare-workers-runtime-apis

Cloudflare Workers Runtime APIs including Fetch, Streams, Crypto, Cache, WebSockets, and Encoding. Use for HTTP requests, streaming, encryption, caching, real-time connections, or encountering API compatibility, response handling, stream processing errors.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill cloudflare-workers-runtime-apis-secondsky-claude-skills-3 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/api/cloudflare-workers-runtime-apis-secondsky-claude-skills-3/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Cloudflare Workers Runtime APIs Master the Workers runtime APIs: Fetch, Streams, Crypto, Cache, WebSockets, and text encoding. ## Quick Reference | API | Purpose | Common Use | |-----|---------|------------| | **Fetch** | HTTP requests | External APIs, proxying | | **Streams** | Data streaming | Large files, real-time | | **Crypto** | Cryptography | Hashing, signing, encryption | | **Cache** | Response caching | Performance optimization | | **WebSockets** | Real-time connections | Chat, live updates | | **Encoding** | Text encoding | UTF-8, Base64 | ## Quick Start: Fetch API ```typescript export default { async fetch(request: Request, env: Env): Promise<Response> { // Basic fetch const response = await fetch('https://api.example.com/data'); // With options const postResponse = await fetch('https://api.example.com/users', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${env.API_KEY}`, }, body: JSON.stringify({ name: 'John' }), }); // Clone for multiple reads const clone = response.clone(); const json = await response.json(); const text = await clone.text(); return Response.json(json); } }; ``` ## Critical Rules 1. **Always set timeouts fo

What's inside
Steps it walks through
  1. Quick Reference
  2. Quick Start: Fetch API
  3. Critical Rules
  4. Top 10 Errors Prevented
  5. Fetch API Patterns
  6. With Timeout
  7. With Retry
  8. Streams API
  9. Transform Stream
  10. Stream Large Response
  11. Crypto API
  12. Hashing
  13. HMAC Signing
  14. Cache API
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the cloudflare-workers-runtime-apis skill do?

Cloudflare Workers Runtime APIs including Fetch, Streams, Crypto, Cache, WebSockets, and Encoding. Use for HTTP requests, streaming, encryption, caching, real-time connections, or encountering API compatibility, response handling, stream processing errors.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill cloudflare-workers-runtime-apis-secondsky-claude-skills-3 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going