Back to skills

durable-objects

infrastructure

Durable Objects are Cloudflare's primitive for stateful, coordinated logic at the edge. Each instance has its own SQLite storage, in-memory state, and execution context. They handle WebSockets, alarms

Setup & Installation

npx skills add https://github.com/cloudflare/durable-objects --skill durable-objects
or paste the link and ask your coding assistant to install it
https://github.com/cloudflare/durable-objects
View on GitHub

What This Skill Does

Durable Objects are Cloudflare's primitive for stateful, coordinated logic at the edge. Each instance has its own SQLite storage, in-memory state, and execution context. They handle WebSockets, alarms, and RPC methods for scenarios where multiple clients need to share consistent state. Instead of running a separate stateful server or coordinating through an external database, Durable Objects let you place coordination logic at the edge, co-located with storage, without managing infrastructure.

When to use it

  • Working with durable objects functionality
  • Implementing durable objects features
  • Debugging durable objects related issues