kv

Manage Cloudflare KV namespaces, key-value operations, and TTL settings.

1|Updated Sep 17, 2025
One-click install
npx skills add https://github.com/mpazaryna/agentic-factory --skill kv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kv
Source: https://github.com/mpazaryna/agentic-factory/tree/main/platform/cloudflare/skills/kv
Command: npx skills add https://github.com/mpazaryna/agentic-factory --skill kv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management of Cloudflare KV (Key-Value) storage, enabling efficient caching, data persistence, and namespace organization for Cloudflare Workers.

Core Features & Use Cases

  • Caching: Implement effective caching strategies to improve application performance and reduce latency.
  • Key-Value Operations: Perform standard CRUD operations (Create, Read, Update, Delete) on data stored in KV namespaces.
  • TTL Management: Set Time-To-Live (TTL) for cache entries to ensure data freshness.
  • Namespace Organization: Manage multiple KV namespaces for different data types or application modules.
  • Use Case: Use this Skill to cache frequently accessed user profile data, reducing database load and speeding up user requests on a Cloudflare Worker.

Quick Start

Use the kv skill to write the key 'user:123' with the value '{"name": "Alice"}' to the FEED_CACHE namespace, expiring in 1 hour.

Frequently Asked Questions about kv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Cloudflare KV storage operations within Workers?

Cloudflare KV storage management handles caching, key-value manipulation, and TTL settings within Cloudflare Workers. It supports namespace declaration and access via environment bindings for persistent edge data retrieval and storage.

Can I set Time-To-Live configurations for cache entries in Cloudflare KV?

Yes, TTL configurations can be set for cache entries in Cloudflare KV. Setting Time-To-Live values ensures data freshness by automatically expiring keys, such as caching user profile data that expires after one hour.

What is the best way to organize multiple data types in Cloudflare KV namespaces?

Organizing multiple data types in Cloudflare KV involves managing multiple namespaces for different application modules. Namespace declaration and access via environment bindings allow structured separation of persistent edge data.

How do I handle value types when storing data in Cloudflare KV?

Cloudflare KV management utilizes specific value type handling for efficient data storage and retrieval. This ensures that structured data, like JSON user profiles, is correctly processed when written to or read from namespaces.

Does Cloudflare KV support persistent edge data access through environment bindings?

Yes, Cloudflare KV supports persistent edge data access through environment bindings. This mechanism allows Cloudflare Workers to directly interact with declared namespaces for caching and key-value operations.