Dev & Engineering

Cloudflare Durable Objects Builder

Build and review stateful coordination applications on Cloudflare.

48/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 3.1k
Last updated
13d ago
License
Apache-2.0
cloudflaredurable-objectsworkerssqlite
+2websocketsvitest

What does this skill do, and when should you use it?

This is the Durable Objects skill in the cloudflare/skills repository, intended for building stateful applications at the Cloudflare edge with Workers. It covers Durable Object classes, RPC methods, SQLite storage, alarms, WebSockets, Wrangler configuration, and Vitest testing. The skill favors retrieving current Cloudflare documentation because APIs and configuration may change. It is a good fit for strong consistency, per-entity persistence, and persistent-connection workloads, but not for stateless request handling or highly distributed independent fan-out requests.

It guides agents through creating and reviewing Durable Object classes, modeling coordination around rooms, games, or users, configuring Wrangler bindings and migrations, and writing code for RPC, SQLite, KV, alarms, and WebSockets. It recommends retrieving the relevant Durable Objects documentation, API reference, best-practices, and examples pages during implementation. It also supplies TypeScript examples for stub creation, storage operations, alarms, and tests using @cloudflare/vitest-pool-workers.

Good fit
  • A developer is designing a Durable Object for a chat room, multiplayer game, or collaborative document.
  • A Workers application needs RPC methods, WebSockets, or per-entity scheduled work.
  • A team must configure Durable Object bindings, SQLite migrations, and Wrangler project settings.
  • A developer is reviewing concurrency, persistence, sharding, or parent-child relationships in existing Durable Objects code.
  • A developer is writing unit or integration tests for Durable Objects with @cloudflare/vitest-pool-workers.

How do you install this skill?

Before you use it
  • Before execution, verify the current Durable Objects API, compatibility date, Wrangler configuration, and Vitest dependency versions.
  • Do not adopt the open CORS or production deployment examples directly; confirm authorization, environment, data scope, and rollback plans first.
  • Core retrieval depends on Cloudflare-hosted overseas sites; confirm mainland-China reachability and prepare offline or mirrored references.
Before you start
Your agent needs
  • Network access
  • Local filesystem

The repository follows the Agent Skills standard. Install the full collection with npx skills add https://github.com/cloudflare/skills; for OpenAI Codex, copy the skill folder into ~/.codex/skills/. You can also clone the repository and copy skills/durable-objects into the appropriate agent skill directory. The source does not document a dedicated command for installing only this skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/cloudflare/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/durable-objects" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Create a Cloudflare Durable Object chat room using SQLite and RPC, and write Vitest tests for it.

Ask the agent for a Durable Objects task, for example: “Create a Cloudflare Durable Object chat room using SQLite and RPC, and write Vitest tests for it.” The skill is contextually loaded when its triggers match; during implementation, retrieve the relevant Cloudflare documentation page.

What are this skill's strengths and limitations?

Pros
  • Covers the Durable Objects workflow from Workers integration and Wrangler configuration through storage, RPC, alarms, and testing.
  • Includes directly applicable TypeScript configuration, implementation, and test examples.
  • States concrete rules and anti-patterns for coordination scope, persistence, and concurrency control.
  • Its retrieval-first approach is useful for Cloudflare tasks where APIs and configuration can change.
Limitations
  • Its scope is limited to Durable Objects rather than the sibling skills in the repository.
  • It relies on access to Cloudflare documentation for current API and configuration details.
  • The source provides no standalone automated test results or version compatibility matrix.
  • The examples assume a Cloudflare Workers, Durable Objects, and Vitest development setup without providing a complete project scaffold.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Cloudflare Durable Objects Builder this page 48 · Use with care ★ 3.1k 13d ago Apache-2.0
Cloudflare Agents SDK Builder 49 · Use with care ★ 3.1k 13d ago Apache-2.0
Cloudflare Email Service Skill 52 · Use with care ★ 3.1k 13d ago Apache-2.0
Engram Persistent Memory Protocol 68 · Recommended ★ 7.2k 12d ago MIT
DeepChat Data Import Skill 62 · Recommended ★ 6.4k 14d ago Apache-2.0

Compared with plain, stateless Cloudflare Workers, this skill targets workloads requiring coordination, strong consistency, per-entity storage, persistent connections, or scheduled work per entity. The source recommends plain Workers for stateless request handling.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
48/ 100 5-point scale 2.4 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The material is development guidance and shows no malware, credential theft, or covert exfiltration. However, it lacks least-privilege guidance, user confirmation, data-flow disclosure, sensitive-data boundaries, deployment rollback, and external-effect controls; examples include open CORS and production deployment commands, so points are deducted.

2Reliability7 / 20 · 1.8/5

The structure is internally coherent and covers Durable Objects, SQLite, RPC, alarms, WebSockets, testing, and error handling, with basic failure guidance. It is nevertheless static documentation without committed key-path tests; examples and dependency versions may change with Cloudflare APIs, and abnormal-input and diagnostic coverage is limited. The static ceiling therefore applies.

3Adaptability10 / 15 · 3.3/5

The audience, scenarios, and several non-fit cases are reasonably clear, with Workers, Wrangler, and Vitest environment guidance. Precise trigger exclusions, input/output contracts, and Chinese-language support are absent, and core retrieval depends on Cloudflare-hosted overseas documentation without evidence of mainland-China reachability, so points are deducted.

4Convention8 / 15 · 2.7/5

The skill uses a readable main document plus reference files and includes configuration, testing, limitations, examples, and an Apache-2.0 license. It lacks skill-specific versioning, changelog, named maintenance responsibility, update path, FAQ, and complete installation guidance; publisher identity is also unverified, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

It can directly guide common Durable Objects work through configuration, code patterns, tests, and anti-patterns, and its core value proposition is clear. However, no real output or execution is statically verified, while retrieval, version compatibility, and example correctness still require user review; the static ceiling limits this to 6.

6Verifiability3 / 10 · 1.5/5

The skill cites Cloudflare documentation, API, best-practice, and example sources, and the repository has limited Semgrep CI evidence. It lacks committed tests covering the skill's key paths and third-party execution evidence, so independent reproduction is thin and the score remains limited.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 70215303d44a Review evidence[1][2][3][4][5][6][7]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill deploy my Cloudflare application for me?
The source describes build, configuration, review, and testing guidance, but does not state that it performs automatic deployment.
When should I avoid Durable Objects?
The source advises against them for stateless request handling, maximum global distribution needs, and high-fan-out independent requests.
How does the skill address outdated Durable Objects APIs?
It recommends retrieving the relevant Cloudflare documentation, API reference, best practices, and examples instead of relying solely on pretrained knowledge.

More skills from this repository

All from cloudflare/skills

Dev & Engineering

Cloudflare Agents SDK Builder

Guides developers in building stateful, real-time, and durable AI agents on Cloudflare Workers.

★ 3.1k FS 49 Use with care 13d ago
Dev & Engineering

Cloudflare Email Service Skill

Guides agents through implementing transactional email sending, receiving, and routing on Cloudflare.

★ 3.1k FS 52 Use with care 13d ago
Dev & Engineering

Workers Production Review

Write and review production-ready Workers code using current Cloudflare guidance.

★ 3.1k FS 57 Use with care 13d ago
Dev & Engineering

Cloudflare Wrangler Deployment Guide

Helps agents reliably build, develop, deploy, and manage Cloudflare Workers with Wrangler.

★ 3.1k FS 49 Use with care 13d ago
Dev & Engineering

Cloudflare Sandbox Builder

Guides agents in building secure, isolated code execution on Cloudflare Workers.

★ 3.1k FS 46 Use with care 13d ago
Dev & Engineering

Cloudflare Platform Builder

Helps agents research and build applications on Cloudflare.

★ 3.1k FS 45 Not recommended 13d ago
Automation & Ops

Cloudflare One Migration Planner

Turns Zscaler, Palo Alto, legacy VPN, SWG, or SASE migrations into verifiable Cloudflare One plans.

★ 3.1k FS 58 Recommended 13d ago
Automation & Ops

Cloudflare One Zero Trust Advisor

Guides agents through designing, configuring, and troubleshooting Cloudflare One.

★ 3.1k FS 55 Use with care 13d ago
Dev & Engineering

Turnstile End-to-End Setup

Adds Cloudflare Turnstile to existing forms with frontend embedding, backend verification, and validation.

★ 3.1k FS 54 Use with care 13d ago
Dev & Engineering

Web Performance Auditor

Use Chrome DevTools MCP to diagnose page-load performance, Core Web Vitals, and accessibility gaps.

★ 3.1k FS 43 Not recommended 13d ago

Related skills