Agent skill · Frontend

agents-sdk

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks.

shobcodergithub.com/shobcoderGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add shobcoder/shob --skill agents-sdk --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: packages/shob/test/fixture/skills/agents-sdk/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 583
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Cloudflare Agents SDK **STOP.** Your knowledge of the Agents SDK may be outdated. Prefer retrieval over pre-training for any Agents SDK task. ## Documentation Fetch current docs from `https://github.com/cloudflare/agents/tree/main/docs` before implementing. | Topic | Doc | Use for | | ------------------- | ----------------------------- | ---------------------------------------------- | | Getting started | `docs/getting-started.md` | First agent, project setup | | State | `docs/state.md` | `setState`, `validateStateChange`, persistence | | Routing | `docs/routing.md` | URL patterns, `routeAgentRequest`, `basePath` | | Callable methods | `docs/callable-methods.md` | `@callable`, RPC, streaming, timeouts | | Scheduling | `docs/scheduling.md` | `schedule()`, `scheduleEvery()`, cron | | Workflows | `docs/workflows.md` | `AgentWorkflow`, durable multi-step tasks | | HTTP/WebSockets | `docs/http-websockets.md` | Lifecycle hooks, hibernation | | Email | `docs/email.md` | Email routing, secure reply resolver | | MCP client | `docs/mcp-client.md` | Connecting to MCP servers | | MCP server | `docs/mcp-servers.md` | Building MCP servers with `McpAgent` | | Client SDK | `docs/client-sdk.md` |

What's inside
Steps it walks through
  1. Documentation
  2. Capabilities
  3. FIRST: Verify Installation
  4. Wrangler Configuration
  5. Agent Class
  6. Routing
  7. Core APIs
  8. React Client
  9. References
Ships with 1 file
  • references/callable.md
Commands it runs
npm ls agents  # Should show agents package
npm install agents
More from shob
All skills →
About this skill
What does the agents-sdk skill do?

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks.

How do I install it?

Run `npx skills add shobcoder/shob --skill agents-sdk --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From shobcoder/shob, a repository with 583 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going