AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 135

references/kv/api.md

KV API Reference

Read the relevant API page before implementing; it defines current options, result shapes, supported bulk operations, and constraints.

| Task | Documentation | |------|---------------| | Read one or several keys; choose text, JSON, binary, or stream results | Read key-value pairs | | Read metadata with values; tune read caching or coalesce related keys | Read guidance | | Write values and metadata; set absolute expiration or a relative lifetime | Write key-value pairs | | Delete a key | Delete key-value pairs | | Enumerate keys, filter by prefix, and paginate | List keys | | Access namespaces or perform bulk operations outside a Worker | KV REST API and Wrangler KV commands |

Handle missing values explicitly: JavaScript reads return null for absent keys; valid stored values can be falsy. Choose defaults separately from how you handle request failures.

For pagination, follow the returned cursor until list_complete is true, even if a page has no keys. Preserve the original prefix on subsequent calls. Listing returns key information, not stored values; use the listing guide to decide whether metadata avoids additional reads.

Use gotchas.md for consistency and contention decisions before adding retries or read-after-write verification.