agents-sdk
Skill171 starsChanged 8 months agoMITView on GitHub
Build or debug stateful applications that specifically use Cloudflare's `agents` package, including Agent classes, routing, callable methods, synchronized state, scheduling, AIChatAgent, durable execution, or Agents SDK client hooks. Do not trigger for generic AI-agent design, the OpenAI Agents SDK, or ordinary Durable Object work that does not use the Cloudflare Agents SDK.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- hencter/hencte.toptheir own version, first seen Oct 4, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- cloudflare/skillstheir own version, first seen Oct 1, 2026
- casoon/ai-agent-configtheir own version, first seen Sep 27, 2026
- meowdiocre/meowpitheir own version, first seen Sep 19, 2026
- leaf76/agent-skillstheir own version, first seen Aug 17, 2026
Used with
Projects with it also use sandbox-stable and playwright.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudflareSkillsandbox-stable
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations.
Also in 3 projects that use this
OpenAISkillplaywright
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- openai/plugins★ 7.3ksame name
- cloudflare/skills★ 3ksame name
- open-fox/agents★ 55same name
- delorenj/skills★ 15same name
- kevyder/banrepco_mcp★ 9same name
- openai/openai-developers-for-cursor★ 9same name
- adrienlupo/Claude-code-config★ 2same name
- GTMify/claude-skills-starter★ 2same name
- langgenius/mosoo-skills★ 2same name
- meowdiocre/meowpi★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository99 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accelevents-apiSkill
- accelevents-speaker-syncSkill
- ai-devblogSkill
- ai-engineeringSkill
- ai-readmeSkill
- align-meSkill
- antislop-codebaseSkill
- app-ux-paradigmsSkill
- autoreviewSkill
- babysit-runsSkill
- blog-system-designSkill
- cassandra-creatorSkill
- ceo-creatorSkill
- claude-session-introspectSkill
- cli-uxSkill
- cloudflare-do-turn-based-multiplayerSkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflare-production-builderSkill
- cloudflareSkill
- conference-developer-endpointsSkill
- conference-transcribeSkill
- coordinateSkill
- data-chatbotsSkill
- data-visualization-qualitySkill
- deep-trajectory-analysisSkill
- design-apps-with-imagegenSkill
- design-preferencesSkill
- diy-netlifySkill
- download-videoSkill
- download-x-videoSkill
- durable-objectsSkill
- europe-developer-apiSkill
- face-matchingSkill
- forgeSkill
- future-onlySkill
- generalizeSkill
- gsuite-setupSkill
- keep-it-simpleSkill
- latent-space-thumbnail-directorSkill
- live-ai-pipelinesSkill
- location-inputSkill
- long-running-operation-uxSkill
- media-heavy-workflowsSkill
- media-to-wiki-pipelineSkill
- media-transformSkill
- mobile-nativeSkill
- mobile-webapp-uxSkill
- multimodal-extractionSkill
- new-mac-setupSkill
- next-stepsSkill
- observability-hardeningSkill
- person-profile-writingSkill
- podcast-publishing-assistantSkill
- productionize-app-with-servicesSkill
- programmatic-agentsSkill
- provision-model-keysSkill
- public-qa-chatbotSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use current Cloudflare documentation and the installed agents package as the contract.
- Distinctive: line 14
Read the project's package version, Wrangler configuration, Agent exports, routing entrypoint, and generated binding types.
- Distinctive: line 27
Treat persisted Agent state, connection state, scheduled work, and client UI state as separate surfaces.
- Distinctive: line 31
Use stable operation identities for work that may be retried or resumed.
- Very specific: line 36
Keep routing and client naming consistent.
- Distinctive: line 38
Treat experimental integrations as version-specific.
- Distinctive: line 54
Read current first-party docs before relying on limits, package names, configuration fields, or experimental availability.
- Distinctive: line 59
Run the narrow type, route, and state tests for the changed seam.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cloudflare Agents SDK
Use current Cloudflare documentation and the installed agents package as the
contract. APIs in this SDK evolve quickly; do not trust remembered signatures or
examples without checking the relevant version.
Inspect first
- Read the project's package version, Wrangler configuration, Agent exports, routing entrypoint, and generated binding types.
- Retrieve the current docs for the feature being changed.
- Inspect installed exports and
.d.tsfiles before adding casts or adapters. - Identify the Agent instance name and who is authorized to select it. Instance naming is a state-partition and access-control decision, not just a URL detail.
Agents require Durable Objects. Verify the exact class export, binding, and lifecycle declaration used by the target environment. Do not copy a migration or configuration example without checking the current lifecycle model.
Preserve the runtime contract
- Treat persisted Agent state, connection state, scheduled work, and client UI state as separate surfaces.
- Validate client-originated state and callable methods at the server boundary; a callable method is not authorization by itself.
- Use stable operation identities for work that may be retried or resumed.
- Distinguish ordinary request work from SDK durable-execution primitives. Use the latter only when work must survive Durable Object eviction or restart.
- Expect the Agent constructor and in-memory state to be recreated. Persist anything required after eviction.
- Keep routing and client naming consistent. Test the actual route through
routeAgentRequestor the project's custom router. - Treat experimental integrations as version-specific. Pin and test the seam rather than spreading preview types through domain code.
Load only the relevant reference
| Need | Reference |
| State, SQL, schedules, or alarms | state-scheduling.md |
| Callable RPC, streaming, or timeouts | callable.md |
| Routing, bindings, or project setup | routing.md, configuration.md |
| React/browser clients or chat streaming | client-sdk.md, streaming-chat.md |
| Server-driven turns or approval flows | server-driven-messages.md, human-in-the-loop.md |
| Workflows, fibers, queues, or retries | workflows.md, durable-execution.md, queue-retries.md |
| MCP, email, webhooks, push, or observability | mcp.md, email.md, webhooks-push.md, observability.md |
| Preview features | think.md, voice.md, codemode.md, browse-the-web.md |
Read current first-party docs before relying on limits, package names, configuration fields, or experimental availability.
Verify proportionally
Run the narrow type, route, and state tests for the changed seam. For connection or recovery behavior, test disconnect/reconnect and a recreated Agent instance. For scheduled or durable work, prove that duplicate delivery converges and that the persisted result—not an in-memory flag—defines completion.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

