A high-performance AI coding assistant skill designed to build, optimize, and test stateful, coordinated applications using Cloudflare Durable Objects.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install durable-objects
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install durable-objects using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Cloudflare Durable Objects skill is a highly specialized asset within the ecosystem of Openclaw Skills, enabling AI agents to design, build, and optimize stateful, coordinated serverless applications at the edge. Durable Objects provide a powerful framework for applications requiring strong consistency, real-time messaging, and per-entity storage, solving the challenges of stateless computing in modern cloud environments. By integrating this skill, AI developers can seamlessly orchestrate real-time collaborative spaces, game servers, multi-tenant architectures, and transactional booking systems.
This capability empowers agents to draft optimized TypeScript code using the latest Durable Objects APIs, configure Wrangler deployment settings, implement embedded SQLite databases, and write comprehensive Vitest tests. By utilizing Openclaw Skills to handle stateful edge logic, developers ensure their AI code-generation workflows produce production-ready, highly parallelizable edge services that strictly adhere to Cloudflare's performance and consistency standards.
wrangler.jsonc configuration file, registering the class bindings and executing SQLite database migrations.DurableObject, applying blockConcurrencyWhile() in the constructor to safely initialize schema tables.@cloudflare/vitest-pool-workers to ensure correct object behaviors and alarm operations.To implement Durable Objects in your development workspace using Openclaw Skills, follow these steps to configure your environment:
First, ensure your project contains a configured wrangler.jsonc or wrangler.toml file to bind the Durable Object and register migrations:
// wrangler.jsonc
{
"durable_objects": {
"bindings": [{ "name": "MY_DO", "class_name": "MyDurableObject" }]
},
"migrations": [{ "tag": "v1", "new_sqlite_classes": ["MyDurableObject"] }]
}
Install the required testing suite to validate state and transitions:
npm install --save-dev @cloudflare/vitest-pool-workers vitest
Configure your AI coding assistant to leverage the Openclaw Skills ruleset by pointing the agent to look up specific documentation endpoints at runtime.
This skill operates with a highly structured layout for data modeling, migrations, and test environments:
| Component | Description | Default Storage Engine |
|---|---|---|
| Durable Object Class | Stateful code instance with lifecycles and constructors. | In-Memory & SQLite |
| Migrations Engine | Tracks schema progression for the embedded SQLite databases. | SQLite (new_sqlite_classes) |
| Wrangler Bindings | Associates Worker environments with specific namespace objects. | Cloudflare Config Schema |
| Vitest Pool Workers | Test environment configurations for verifying mock interactions. | Memory Isolation Pool |
Ensure that all critical state persists directly to storage (this.ctx.storage.sql or this.ctx.storage.put) before updating in-memory values to prevent data loss upon worker evictions or system crashes.
env.MY_DO.getByName(name).this.ctx.storage.sql.exec() without asynchronous waiting bottlenecks.setAlarm(timestamp) to process asynchronous task queues, automatic evictions, or polling cycles.blockConcurrencyWhile() to ensure schemas and configurations deploy before requests are handled.fetch() endpoints, replacing them with typed RPC methods for compatibility dates after 2024-04-03.Loading
An automated workflow skill that enables AI agents to configure Cloudflare Turnstile widgets, deploy verification Workers, and implement frontend bot protection end-to-end.

An open-source, local-first market basket analysis tool designed to extract product association rules and business strategy recommendations from Excel data using the Apriori algorithm.

MetricHub is a multi-tenant SaaS metrics platform featuring query building, ECharts visualization, and dashboard orchestration optimized for Openclaw Skills.

An LLM-driven epistemic reasoning engine that evaluates claims against retrieved evidence, outputting a structured belief state with calibrated confidence levels.

A powerful SDK for building secure, isolated code execution environments inside Cloudflare Workers to power AI interpreters, CI/CD pipelines, and runtime sandboxes.

A comprehensive developer guide and AI skill for configuring, sending, and routing transactional emails seamlessly using Cloudflare Email Service.








































