/cloudflare-vm:kvfrom cloudflare-vm
Cloudflare Workers KV: Globally-distributed, eventually-consistent key-value store optimized for high read volume and low latency.
Ships in cloudflare-vm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Vendored from themusebook/skills (derived from cloudflare/skills, Apache-2.0). This snapshot may be outdated: confirm limits, pricing, API signatures and config options against https://developers.cloudflare.com/ before you cite them. When this file and the docs disagree, trust the docs.
When invoked: read every file in this skill's directory before answering, so you have the full reference: api.md, configuration.md, gotchas.md, patterns.md. Then answer the user's question (or, if none was given, summarise the product: what it is, config, API, patterns and gotchas). Related products are sibling skills, linked as ../<product>/.
Globally-distributed, eventually-consistent key-value store optimized for high read volume and low latency.
KV provides:
Use cases: Config storage, user sessions, feature flags, caching, A/B testing
| Need | Recommendation |
|---|---|
| Strong consistency | → Durable Objects |
| SQL queries | → D1 |
| Object storage (files) | → R2 |
| High read, low write volume | → KV ✅ |
| Sub-10ms global reads | → KV ✅ |
Quick comparison:
| Feature | KV | D1 | Durable Objects |
|---|---|---|---|
| Consistency | Eventual | Strong | Strong |
| Read latency | <10ms | ~50ms | <1ms |
| Write limit | 1/s per key | Unlimited | Unlimited |
| Use case | Config, cache | Relational data | Coordination |
wrangler kv namespace create MY_NAMESPACE
# Add binding to wrangler.jsonc
// Write
await env.MY_KV.put("key", "value", { expirationTtl: 300 });
// Read
const value = await env.MY_KV.get("key");
const json = await env.MY_KV.get<Config>("config", "json");
| Method | Purpose | Returns |
|---|---|---|
get(key, type?) | Single read | string | null |
get(keys, type?) | Bulk read (≤100) | Map<string, T | null> |
put(key, value, options?) | Write | Promise<void> |
delete(key) | Delete | Promise<void> |
list(options?) | List keys | { keys, list_complete, cursor? } |
getWithMetadata(key) | Get + metadata | { value, metadata } |
| Task | Files to Read |
|---|---|
| Quick start | README → configuration.md |
| Implement feature | README → api.md → patterns.md |
| Debug issues | gotchas.md → api.md |
| Batch operations | api.md (bulk section) → patterns.md |
| Performance tuning | gotchas.md (performance) → patterns.md (caching) |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vmaia00/claude-specs --plugin cloudflare-vm64 skills in this plugin
/agents-sdkCloudflare Agents SDK: Cloudflare Agents SDK enables building AI-powered agents on Durable Objects with state, WebSockets, SQL, scheduling, and AI integration./ai-gatewayCloudflare AI Gateway: Expert guidance for implementing Cloudflare AI Gateway - a universal gateway for AI model providers with analytics, caching, rate limiting, and routing capabilities./ai-searchCloudflare AI Search Reference: Expert guidance for implementing Cloudflare AI Search (formerly AutoRAG), Cloudflare's managed semantic search and RAG service.Other plugins' skills for the same job