LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/cloudflare/skills --skill durable-objects
or paste the link and ask your coding assistant to install it
https://github.com/cloudflare/skills/tree/main/skills/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

  • Building a multiplayer game room where turn order and scores must stay consistent across players
  • Coordinating a booking system so two users cannot reserve the same slot simultaneously
  • Managing per-tenant SQLite storage in a multi-tenant SaaS app without a separate database
  • Scheduling per-entity alarms for things like subscription renewal reminders or session timeouts
  • Handling persistent WebSocket connections for a live collaboration tool with shared document state