Cloudflare Worker Dev
curiositech/some_claude_skills
Cloudflare Workers, KV, Durable Objects, and edge computing development.
Cloudflare Workers KV global key-value storage. An agent skill from secondsky/claude-skills.
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install secondsky/claude-skills cloudflare-kv --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .claude/skills/cloudflare-kv && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .claude/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kvType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install secondsky/claude-skills cloudflare-kv --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .agents/skills/cloudflare-kv && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .agents/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install secondsky/claude-skills cloudflare-kv --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .cursor/skills/cloudflare-kv && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .cursor/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/secondsky/claude-skills.git --path plugins/cloudflare-kv/skills/cloudflare-kv--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install secondsky/claude-skills cloudflare-kv --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .gemini/skills/cloudflare-kv && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .gemini/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install secondsky/claude-skills cloudflare-kvInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .github/skills/cloudflare-kv && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .github/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add secondsky/claude-skills --skill cloudflare-kv -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install secondsky/claude-skills cloudflare-kv --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/cloudflare-kv/skills/cloudflare-kv .opencode/skills/cloudflare-kv && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cloudflare-kv" agent skill from https://github.com/secondsky/claude-skills/tree/main/plugins/cloudflare-kv/skills/cloudflare-kv into .opencode/skills/cloudflare-kv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudflare-kv", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cloudflare-kvCloudflare Workers KV global key-value storage. An agent skill from secondsky/claude-skills.
Cloudflare Kv is an agent skill from secondsky/claude-skills. Cloudflare Workers KV global key-value storage. Use for namespaces, caching, TTL, or encountering KVERROR, 429 rate limits, consistency issues.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 40 other files, including scripts and reference files (for example `agents/kv-debugger.md`, `agents/kv-optimizer.md` and `commands/optimize-kv.md`).
It sits in Backend & APIs, covering Rate limiting and Caching. It works with Cloudflare and Cloudflare Workers. The repository describes itself as: Production-ready skills for Claude Code CLI - Cloudflare, React, Tailwind v4, and AI integrations. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8837836. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (TypeScript, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
bunxFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
developers.cloudflare.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cloudflare Kv loads about 2.4k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 40 tokens; SKILL.md has 622 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from secondsky/claude-skills at commit 8837836, republished under its MIT licence (© secondsky). 622 words, ~2,440 tokens.
.claude/skills/cloudflare-kv/SKILL.md (or your agent's skills folder). This skill also uses 33 other files; get the full folder from GitHub.Status: Production Ready ✅ | Last Verified: 2025-12-27
Global key-value storage on Cloudflare edge:
bunx wrangler kv namespace create MY_NAMESPACE
bunx wrangler kv namespace create MY_NAMESPACE --preview{
"name": "my-worker",
"main": "src/index.ts",
"compatibility_date": "2025-10-11",
"kv_namespaces": [
{
"binding": "MY_NAMESPACE",
"id": "<PRODUCTION_ID>",
"preview_id": "<PREVIEW_ID>"
}
]
}export default {
async fetch(request, env, ctx) {
// Write
await env.MY_NAMESPACE.put('key', 'value');
// Read
const value = await env.MY_NAMESPACE.get('key');
// Delete
await env.MY_NAMESPACE.delete('key');
return new Response(value);
}
};Load references/setup-guide.md for complete setup.
// Basic
await env.MY_NAMESPACE.put('key', 'value');
// With TTL (1 hour)
await env.MY_NAMESPACE.put('key', 'value', {
expirationTtl: 3600
});
// With expiration timestamp
await env.MY_NAMESPACE.put('key', 'value', {
expiration: Math.floor(Date.now() / 1000) + 3600
});
// With metadata
await env.MY_NAMESPACE.put('key', 'value', {
metadata: { role: 'admin', created: Date.now() }
});// Simple get
const value = await env.MY_NAMESPACE.get('key');
// With type
const text = await env.MY_NAMESPACE.get('key', 'text');
const json = await env.MY_NAMESPACE.get('key', 'json');
const buffer = await env.MY_NAMESPACE.get('key', 'arrayBuffer');
const stream = await env.MY_NAMESPACE.get('key', 'stream');
// With metadata
const { value, metadata } = await env.MY_NAMESPACE.getWithMetadata('key');await env.MY_NAMESPACE.delete('key');// Basic list
const { keys } = await env.MY_NAMESPACE.list();
// With prefix
const { keys } = await env.MY_NAMESPACE.list({
prefix: 'user:',
limit: 100
});
// Pagination
const { keys, cursor } = await env.MY_NAMESPACE.list({
cursor: previousCursor
});const cacheKey = `api:${url}`;
let cached = await env.MY_NAMESPACE.get(cacheKey, 'json');
if (!cached) {
cached = await fetch(url).then(r => r.json());
await env.MY_NAMESPACE.put(cacheKey, JSON.stringify(cached), {
expirationTtl: 300 // 5 minutes
});
}
return Response.json(cached);const userId = '123';
const preferences = {
theme: 'dark',
language: 'en'
};
await env.MY_NAMESPACE.put(
`user:${userId}:preferences`,
JSON.stringify(preferences),
{
metadata: { updated: Date.now() }
}
);const key = `ratelimit:${ip}`;
const count = parseInt(await env.MY_NAMESPACE.get(key) || '0');
if (count >= 100) {
return new Response('Rate limit exceeded', { status: 429 });
}
await env.MY_NAMESPACE.put(key, String(count + 1), {
expirationTtl: 60 // 1 minute window
});const { keys } = await env.MY_NAMESPACE.list({
prefix: 'user:',
limit: 100
});
const users = await Promise.all(
keys.map(({ name }) => env.MY_NAMESPACE.get(name, 'json'))
);export default {
async fetch(request, env, ctx) {
// Don't wait for KV write
ctx.waitUntil(
env.MY_NAMESPACE.put('analytics', JSON.stringify(data))
);
return new Response('OK');
}
};Key Limits:
Rate Limits:
For detailed limits, pricing, and optimization strategies, load references/limits-quotas.md
KV is eventually consistent:
Pattern:
// Write
await env.MY_NAMESPACE.put('key', 'value');
// May not be visible immediately in other regions
const value = await env.MY_NAMESPACE.get('key'); // Might be nullLoad specific reference files based on task context:
For Setup & Configuration:
references/setup-guide.md when creating namespaces or configuring bindingsFor Performance Optimization:
references/best-practices.md when implementing caching or optimizing performancereferences/performance-tuning.md for advanced optimization scenarios, cacheTtl strategies, or benchmarkingFor API Usage:
references/workers-api.md when implementing KV operations or need method signaturesFor Troubleshooting:
references/troubleshooting.md when debugging errors or consistency issuesFor Limits & Quotas:
references/limits-quotas.md when planning capacity or encountering quota errorsFor Migration:
references/migration-guide.md when migrating from localStorage, Redis, D1, R2, or other storage solutionsReferences (references/):
best-practices.md - Production patterns, caching strategies, rate limit handling, error recoverysetup-guide.md - Complete setup with Wrangler CLI commands, namespace creation, bindings configurationworkers-api.md - Complete API reference, consistency model (eventual consistency), limits & quotas, performance optimizationtroubleshooting.md - Comprehensive error catalog with solutionslimits-quotas.md - Detailed limits, quotas, pricing, and optimization tipsmigration-guide.md - Complete migration guides from localStorage, Redis, D1, R2, and other storage solutionsperformance-tuning.md - Advanced cacheTtl strategies, bulk operations, key design, benchmarking techniquesTemplates (templates/):
kv-basic-operations.ts - Basic KV operations (get, put, delete, list)kv-caching-pattern.ts - HTTP caching with KVkv-list-pagination.ts - List with cursor paginationkv-metadata-pattern.ts - Metadata usage patternswrangler-kv-config.jsonc - KV namespace bindingsScripts (scripts/):
check-versions.sh - Validate KV API endpoints and package versionstest-kv-connection.sh - Test KV namespace connection and operationssetup-kv-namespace.sh - Interactive namespace setup wizardvalidate-kv-config.sh - Validate wrangler.jsonc configurationanalyze-kv-usage.sh - Analyze code for KV usage patterns and optimizationsCommands:
/cloudflare-kv:setup - Interactive KV namespace setup wizard/cloudflare-kv:test - Test KV operations and connection/cloudflare-kv:optimize - Analyze and optimize KV usageAgents:
kv-optimizer - Analyzes KV usage and suggests performance optimizationskv-debugger - Helps debug KV errors and consistency issuesExamples (examples/):
rate-limiting/ - Complete rate limiting implementation (fixed window, sliding window, token bucket, multi-tier)session-management/ - Production session store with TTL expiration, metadata tracking, and admin controlsapi-caching/ - HTTP response caching patterns (cache-aside, stale-while-revalidate, conditional caching, ETag)config-management/ - Feature flags, A/B testing, environment configs, version tracking, hot-reloadQuestions? Issues?
references/setup-guide.md for complete setup© secondsky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 33 other files (scripts, references) in plugins/cloudflare-kv/skills/cloudflare-kv of secondsky/claude-skills.
Open the folder on GitHubat commit 8837836
Cloudflare Kv next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cloudflare Kv this skillsecondsky/claude-skills | 227 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Cloudflare Worker Devcuriositech/some_claude_skills | 243 | — | ~3.4k | Automated safety check: Notes | MIT | |
| Apikerhodgef/apiker | 127 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Olore Opennext Latestolorehq/olore | 103 | — | ~825 | Automated safety check: Pass | MIT | |
| Durable Objectscloudflare/skills | 3k | 2 repos | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Durable Objectshodgef/apiker | 127 | 4 repos | ~1.5k | Automated safety check: Pass | MIT |
curiositech/some_claude_skills
Cloudflare Workers, KV, Durable Objects, and edge computing development.
hodgef/apiker
Develop, review, and extend the Apiker library — a framework for building serverless REST APIs on Cloudflare Workers + Durable Objects.
olorehq/olore
Local opennext documentation reference (latest). An agent skill from olorehq/olore.
cloudflare/skills
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
hodgef/apiker
Create and review Cloudflare Durable Objects. An agent skill from hodgef/apiker.
hodgef/apiker
Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing).
secondsky/claude-skills
TanStack AI (alpha) provider-agnostic type-safe chat with streaming for OpenAI, Anthropic, Gemini, Ollama.
secondsky/claude-skills
AutoAnimate (@formkit/auto-animate) zero-config animations for React.
secondsky/claude-skills
MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills.
secondsky/claude-skills
This skill should be used when the user asks to "upload images to Cloudflare", "implement direct creator upload", "configure image transformations", "optimize WebP/AVIF", "create image variants"…
secondsky/claude-skills
Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare).
secondsky/claude-skills
Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge.
Works with
Categories
Cloudflare Workers KV global key-value storage. An agent skill from secondsky/claude-skills. Cloudflare Kv is an agent skill from secondsky/claude-skills. Cloudflare Workers KV global key-value storage.
Cloudflare Kv fits situations like: encountering KVERROR; 429 rate limits; consistency issues.
Run `npx skills add secondsky/claude-skills --skill cloudflare-kv -a claude-code`. Or copy the skill folder (plugins/cloudflare-kv/skills/cloudflare-kv in secondsky/claude-skills) into .claude/skills/cloudflare-kv in your project. Claude Code loads it when a task matches its description.
Run `npx skills add secondsky/claude-skills --skill cloudflare-kv -a codex`. Or copy the skill folder (plugins/cloudflare-kv/skills/cloudflare-kv in secondsky/claude-skills) into .agents/skills/cloudflare-kv in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/claude-skills --skill cloudflare-kv -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudflare-kv, .gemini/skills/cloudflare-kv, .github/skills/cloudflare-kv and .opencode/skills/cloudflare-kv in your project.
Going by SKILL.md and its folder, Cloudflare Kv needs TypeScript for the scripts in its folder and the command-line tools its instructions call (bunx). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: developers.cloudflare.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Cloudflare Kv is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cloudflare Kv: Cloudflare Worker Dev (curiositech/some_claude_skills, 243 stars), Apiker (hodgef/apiker, 127 stars), Olore Opennext Latest (olorehq/olore, 103 stars) and Durable Objects (cloudflare/skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
secondsky (a GitHub user) maintains it in secondsky/claude-skills, which has 227 GitHub stars. The repository holds 169 skills in this directory. The repository was last updated on September 28, 2026.
Source: secondsky/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.