Agent skill · Cloudflare
Durable Objects skill for Claude Code, Codex and Cursor
Officialname: durable-objects★ 3.2k (repo)pushed 2026-10-19Apache-2.0SKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install Durable Objects
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add cloudflare/skills --skill durable-objects
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (cloudflare), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add cloudflare/skills /plugin install <plugin>@cloudflare # or only this skill: npx skills add cloudflare/skills --skill durable-objects -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/cloudflare/skills.git /tmp/durable-objects-src cp -r /tmp/durable-objects-src/skills/durable-objects ./durable-objects zip -r durable-objects.zip durable-objects
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add cloudflare/skills --skill durable-objects -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install cloudflare/skills durable-objects
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add cloudflare/skills --skill durable-objects -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/cloudflare/skills.git --path skills/durable-objects
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add cloudflare/skills --skill durable-objects -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add cloudflare/skills --skill durable-objects -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- Retrieval Sources
- When to Use
- Reference Documentation
- Core Principles
- Use Durable Objects For
- Do NOT Use For
- Quick Reference
- Wrangler Configuration
- Basic Durable Object Pattern
- Critical Rules
- Authorization
- Anti-Patterns (NEVER)
- Stub Creation
- Storage Operations
- Alarms
- Testing
- Skill feedback
Bundled files
- references/rules.md
- references/skill-feedback.md
- references/testing.md
- references/workers.md
Loaded only when the instructions point to them.
Facts
- Skill name
- durable-objects
- Publisher
- Cloudflare (official)
- Repo
- cloudflare/skills
- License
- Apache-2.0
- SKILL.md size
- 503 words, 180 lines
- Bundled files
- 4, 4 docs
- Repo stars
- 3.2k (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the Cloudflare MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from cloudflare/skills
- Cloudflare Agents SDK: Builds, debugs and reviews agents written with Cloudflare's agents package.
- Cloudflare Platform: Helps pick Cloudflare products for an app's compute, storage, AI, networking and security needs.
- Next.js on Cloudflare: Builds or moves Next.js apps to Cloudflare Workers, comparing vinext and OpenNext.
- Web Performance Audit: Diagnoses slow pages and improves Core Web Vitals and Lighthouse performance scores.
- Workers Best Practices: Production guidance for writing, configuring and reviewing Cloudflare Workers.
- Wrangler CLI: Runs and troubleshoots Wrangler commands for local dev, previews, deploys and resources.
Related backend & databases skills
- Optimize EF Core Queries · Microsoft (.NET)
- Supabase · Supabase
- Postgres Best Practices (Supabase) · Supabase
- Firebase Basics · Firebase (Google)
- Cloud Firestore · Firebase (Google)
- Sanity Best Practices · Sanity
- MongoDB Schema Design · MongoDB
- Neon Postgres · Neon
FAQ
What does the durable-objects skill do?+
Writes and reviews Durable Objects code for stateful coordination on Cloudflare. In its own SKILL.md, Cloudflare describes it as: "Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination."
How do I install the durable-objects skill?+
Run npx skills add cloudflare/skills --skill durable-objects and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/durable-objects/SKILL.md; in Codex and Cursor in .agents/skills/durable-objects/.
Does Durable Objects work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains Durable Objects?+
Cloudflare, the company or project behind it, in the cloudflare/skills repo on GitHub, last pushed 2026-10-19. License: Apache-2.0.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers