[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M781AKJQ69V985V2PWD5TV4P":3,"skill-same:01M781AKJQ69V985V2PWD5TV4P":136},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M781AKJQ69V985V2PWD5TV4P","agents-sdk",null,"Build, debug, or review Cloudflare Agents SDK applications using the agents package.","filippolmt\u002Fskills","filippolmt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F61194571?v=4","01M7808VK1A8QF8ZXGT2DWTKHS","Filippo Merante Caparrotta","01M7808VKN74HC3EZMK8EV35KS",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agents-sdk\ndescription: Build, debug, or review Cloudflare Agents SDK applications using the agents package.\n---\n\n# Cloudflare Agents SDK\n\nYour knowledge of the Agents SDK may be outdated. **Prefer retrieval over pre-training** for any Agents SDK task.\n\n## Retrieval Sources\n\nCloudflare docs: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Findex.md\n\n| Topic | Docs URL | Use for |\n|-------|----------|---------|\n| Getting started | [Quick start](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fgetting-started\u002Fquick-start\u002Findex.md) | First agent, project setup |\n| Adding to existing project | [Add to existing project](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fgetting-started\u002Fadd-to-existing-project\u002Findex.md) | Install into existing Workers app |\n| Configuration | [Configuration](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fconfiguration\u002Findex.md) | `wrangler.jsonc`, bindings, assets, deployment |\n| Agent class | [Agents API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fagents-api\u002Findex.md) | Agent lifecycle, patterns, pitfalls |\n| State | [Store and sync state](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Flifecycle\u002Fstate\u002Findex.md) | `setState`, `validateStateChange`, persistence |\n| Routing | [Routing](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Frouting\u002Findex.md) | URL patterns, `routeAgentRequest` |\n| Callable methods | [Callable methods](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Flifecycle\u002Fcallable-methods\u002Findex.md) | `@callable`, RPC, streaming, timeouts |\n| Scheduling | [Schedule tasks](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fschedule-tasks\u002Findex.md) | `schedule()`, `scheduleEvery()`, cron |\n| Workflows | [Run workflows](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Frun-workflows\u002Findex.md) | `AgentWorkflow`, durable multi-step tasks |\n| HTTP\u002FWebSockets | [WebSockets](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Fwebsockets\u002Findex.md) | Lifecycle hooks, hibernation |\n| Chat agents | [Chat agents](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fchat-agents\u002Findex.md) | `AIChatAgent`, streaming, tools, persistence |\n| Client SDK | [Client SDK](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fclient-sdk\u002Findex.md) | `useAgent`, `AgentClient`, state, RPC, HTTP |\n| Client tools | [Client tools](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fharnesses\u002Fthink\u002Fclient-tools\u002Findex.md) | Client-side tools, `autoContinueAfterToolResult` |\n| Server-driven messages | [Autonomous responses](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fautonomous-responses\u002Findex.md) | `saveMessages`, `waitUntilStable`, server-initiated turns |\n| Resumable streaming | [Chat agents](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fchat-agents\u002Findex.md#resumable-streaming) | Stream recovery on disconnect |\n| Email | [Email](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Femail\u002Findex.md) | Email routing, secure reply resolver |\n| MCP client | [MCP client](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fapis\u002Fclient-api\u002Findex.md) | Connecting to MCP servers |\n| MCP server | [MCP server](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fapis\u002Fhandler-api\u002Findex.md) | Building MCP servers with `createMcpHandler` |\n| MCP transports | [MCP transports](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fprotocol\u002Ftransport\u002Findex.md) | Streamable HTTP, SSE, RPC transport options |\n| Securing MCP servers | [Securing MCP](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fguides\u002Fsecuring-mcp-server\u002Findex.md) | OAuth, proxy MCP, hardening |\n| Human-in-the-loop | [Human-in-the-loop](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fconcepts\u002Fagentic-patterns\u002Fhuman-in-the-loop\u002Findex.md) | Workflow approvals, elicitation, timeout handling |\n| Durable execution | [Durable execution](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fdurable-execution\u002Findex.md) | `runFiber()`, `stash()`, surviving DO eviction |\n| Queue | [Queue](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fqueue-tasks\u002Findex.md) | Built-in FIFO queue, `queue()` |\n| Retries | [Retries](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fretries\u002Findex.md) | `this.retry()`, backoff\u002Fjitter |\n| Observability | [Observability](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fobservability\u002Findex.md) | Diagnostics-channel events |\n| Push notifications | [Push notifications](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fwebhooks\u002Fpush-notifications\u002Findex.md) | Web Push + VAPID from agents |\n| Webhooks | [Webhooks](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fwebhooks\u002Findex.md) | Receiving external webhooks |\n| Cross-domain auth | [Cross-domain auth](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fcross-domain-authentication\u002Findex.md) | WebSocket auth, tokens, CORS |\n| Readonly connections | [Readonly](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Freadonly-connections\u002Findex.md) | `shouldConnectionBeReadonly` |\n| Voice | [Voice](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fvoice\u002Findex.md) | Experimental STT\u002FTTS, `withVoice` |\n| Browse the web | [Browser tools](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Ftools\u002Fbrowser\u002Findex.md) | Experimental CDP browser automation |\n| Think | [Think](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fharnesses\u002Fthink\u002Findex.md) | Experimental higher-level chat agent class |\n| Migrations | [AI SDK v5](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagents\u002Fblob\u002Fmain\u002Fdocs\u002Fagents\u002Fmigration-to-ai-sdk-v5.md), [AI SDK v6](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagents\u002Fblob\u002Fmain\u002Fdocs\u002Fagents\u002Fmigration-to-ai-sdk-v6.md) | Upgrading `@cloudflare\u002Fai-chat` |\n\n## Capabilities\n\nThe Agents SDK provides:\n\n- **Persistent state** — SQLite-backed, auto-synced to clients via `setState`\n- **Callable RPC** — `@callable()` methods invoked over WebSocket\n- **Scheduling** — One-time, recurring (`scheduleEvery`), and cron tasks\n- **Workflows** — Durable multi-step background processing via `AgentWorkflow`\n- **Durable execution** — `runFiber()` \u002F `stash()` for work that survives DO eviction\n- **Queue** — Built-in FIFO queue with retries via `queue()`\n- **Retries** — `this.retry()` with exponential backoff and jitter\n- **MCP integration** — Connect to MCP servers or build your own with `createMcpHandler`\n- **Email handling** — Receive and reply to emails with secure routing\n- **Streaming chat** — `AIChatAgent` with resumable streams, message persistence, tools\n- **Server-driven messages** — `saveMessages`, `waitUntilStable` for proactive agent turns\n- **React hooks** — `useAgent`, `useAgentChat` for client apps\n- **Observability** — `diagnostics_channel` events for state, RPC, schedule, lifecycle\n- **Push notifications** — Web Push + VAPID delivery from agents\n- **Webhooks** — Receive and verify external webhooks\n- **Voice** (experimental) — STT\u002FTTS via `@cloudflare\u002Fvoice`\n- **Browser tools** (experimental) — CDP-powered browsing via `agents\u002Fbrowser`\n- **Think** (experimental) — Higher-level chat agent via `@cloudflare\u002Fthink`\n\n## FIRST: Verify Installation\n\n```bash\nnpm ls agents  # Should show agents package\n```\n\nIf not installed:\n```bash\nnpm install agents\n```\n\nFor chat agents:\n```bash\nnpm install agents @cloudflare\u002Fai-chat ai @ai-sdk\u002Freact\n```\n\n## Wrangler Configuration\n\n```jsonc\n{\n  \"compatibility_flags\": [\"nodejs_compat\"],\n  \"durable_objects\": {\n    \"bindings\": [{ \"name\": \"MyAgent\", \"class_name\": \"MyAgent\" }]\n  },\n  \"migrations\": [{ \"tag\": \"v1\", \"new_sqlite_classes\": [\"MyAgent\"] }]\n}\n```\n\n**Gotchas:**\n- Do NOT enable `experimentalDecorators` in tsconfig (breaks `@callable`)\n- Never edit old migrations — always add new tags\n- Each agent class needs its own DO binding + migration entry\n- Add `\"ai\": { \"binding\": \"AI\" }` for Workers AI\n\n## Agent Class\n\n```typescript\nimport { Agent, routeAgentRequest, callable } from \"agents\";\n\ntype State = { count: number };\n\nexport class Counter extends Agent\u003CEnv, State> {\n  initialState = { count: 0 };\n\n  validateStateChange(nextState: State, source: Connection | \"server\") {\n    if (nextState.count \u003C 0) throw new Error(\"Count cannot be negative\");\n  }\n\n  onStateUpdate(state: State, source: Connection | \"server\") {\n    console.log(\"State updated:\", state);\n  }\n\n  @callable()\n  increment() {\n    this.setState({ count: this.state.count + 1 });\n    return this.state.count;\n  }\n}\n\nexport default {\n  fetch: (req, env) => routeAgentRequest(req, env) ?? new Response(\"Not found\", { status: 404 })\n};\n```\n\n## Routing\n\nRequests route to `\u002Fagents\u002F{agent-name}\u002F{instance-name}`:\n\n| Class | URL |\n|-------|-----|\n| `Counter` | `\u002Fagents\u002Fcounter\u002Fuser-123` |\n| `ChatRoom` | `\u002Fagents\u002Fchat-room\u002Flobby` |\n\nClient: `useAgent({ agent: \"Counter\", name: \"user-123\" })`\n\nCustom routing: use `getAgentByName(env.MyAgent, \"instance-id\")` then `agent.fetch(request)`.\n\n## Core APIs\n\n| Task | API |\n|------|-----|\n| Read state | `this.state.count` |\n| Write state | `this.setState({ count: 1 })` |\n| SQL query | `` this.sql`SELECT * FROM users WHERE id = ${id}` `` |\n| Schedule (delay) | `await this.schedule(60, \"task\", payload)` |\n| Schedule (cron) | `await this.schedule(\"0 * * * *\", \"task\", payload)` |\n| Schedule (interval) | `await this.scheduleEvery(30, \"poll\")` |\n| RPC method | `@callable() myMethod() { ... }` |\n| Streaming RPC | `@callable({ streaming: true }) stream(res) { ... }` |\n| Start workflow | `await this.runWorkflow(\"ProcessingWorkflow\", params)` |\n| Durable fiber | `await this.runFiber(\"name\", async (ctx) => { ... })` |\n| Enqueue work | `this.queue(\"handler\", payload)` |\n| Retry with backoff | `await this.retry(fn, { maxAttempts: 5 })` |\n| Broadcast to clients | `this.broadcast(message)` |\n| Get connections | `this.getConnections(tag?)` |\n\n## React Client\n\nRead [client-sdk.md](references\u002Fclient-sdk.md) for client selection and current connection examples. For chat UI and tools, also read [streaming-chat.md](references\u002Fstreaming-chat.md).\n\n## References\n\n### Core\n- **[references\u002Fstate-scheduling.md](references\u002Fstate-scheduling.md)** — State persistence, scheduling, SQL\n- **[references\u002Fcallable.md](references\u002Fcallable.md)** — RPC methods, streaming, timeouts\n- **[references\u002Frouting.md](references\u002Frouting.md)** — URL patterns, custom routing, `getAgentByName`\n- **[references\u002Fconfiguration.md](references\u002Fconfiguration.md)** — Wrangler config, bindings, Vite setup\n\n### Chat & Streaming\n- **[references\u002Fstreaming-chat.md](references\u002Fstreaming-chat.md)** — AIChatAgent, resumable streams, tools\n- **[references\u002Fclient-sdk.md](references\u002Fclient-sdk.md)** — `useAgent`, `useAgentChat`, `AgentClient`\n- **[references\u002Fserver-driven-messages.md](references\u002Fserver-driven-messages.md)** — Trigger patterns, `saveMessages`\n- **[references\u002Fhuman-in-the-loop.md](references\u002Fhuman-in-the-loop.md)** — Approval flows, `needsApproval`\n\n### Background Processing\n- **[references\u002Fworkflows.md](references\u002Fworkflows.md)** — Durable Workflows integration\n- **[references\u002Fdurable-execution.md](references\u002Fdurable-execution.md)** — `runFiber`, `stash`, surviving eviction\n- **[references\u002Fqueue-retries.md](references\u002Fqueue-retries.md)** — Built-in queue, retry with backoff\n\n### Integrations\n- **[references\u002Fmcp.md](references\u002Fmcp.md)** — MCP client and server, transports, securing\n- **[references\u002Femail.md](references\u002Femail.md)** — Email routing and handling\n- **[references\u002Fwebhooks-push.md](references\u002Fwebhooks-push.md)** — Webhooks, push notifications\n- **[references\u002Fobservability.md](references\u002Fobservability.md)** — Diagnostics-channel events\n\n### Experimental\n- **[references\u002Fthink.md](references\u002Fthink.md)** — `@cloudflare\u002Fthink` higher-level chat agent\n- **[references\u002Fvoice.md](references\u002Fvoice.md)** — `@cloudflare\u002Fvoice` STT\u002FTTS\n- **[references\u002Fcodemode.md](references\u002Fcodemode.md)** — Code Mode for tool orchestration\n- **[references\u002Fbrowse-the-web.md](references\u002Fbrowse-the-web.md)** — CDP browser tools\n\n## Skill feedback\n\nIf the user reports that this skill gave incorrect or outdated guidance, or is missing information, read [references\u002Fskill-feedback.md](references\u002Fskill-feedback.md).\n","# Cloudflare Agents SDK\n\nYour knowledge of the Agents SDK may be outdated. **Prefer retrieval over pre-training** for any Agents SDK task.\n\n## Retrieval Sources\n\nCloudflare docs: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Findex.md\n\n| Topic | Docs URL | Use for |\n|-------|----------|---------|\n| Getting started | [Quick start](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fgetting-started\u002Fquick-start\u002Findex.md) | First agent, project setup |\n| Adding to existing project | [Add to existing project](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fgetting-started\u002Fadd-to-existing-project\u002Findex.md) | Install into existing Workers app |\n| Configuration | [Configuration](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fconfiguration\u002Findex.md) | `wrangler.jsonc`, bindings, assets, deployment |\n| Agent class | [Agents API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fagents-api\u002Findex.md) | Agent lifecycle, patterns, pitfalls |\n| State | [Store and sync state](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Flifecycle\u002Fstate\u002Findex.md) | `setState`, `validateStateChange`, persistence |\n| Routing | [Routing](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Frouting\u002Findex.md) | URL patterns, `routeAgentRequest` |\n| Callable methods | [Callable methods](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Flifecycle\u002Fcallable-methods\u002Findex.md) | `@callable`, RPC, streaming, timeouts |\n| Scheduling | [Schedule tasks](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fschedule-tasks\u002Findex.md) | `schedule()`, `scheduleEvery()`, cron |\n| Workflows | [Run workflows](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Frun-workflows\u002Findex.md) | `AgentWorkflow`, durable multi-step tasks |\n| HTTP\u002FWebSockets | [WebSockets](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Fwebsockets\u002Findex.md) | Lifecycle hooks, hibernation |\n| Chat agents | [Chat agents](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fchat-agents\u002Findex.md) | `AIChatAgent`, streaming, tools, persistence |\n| Client SDK | [Client SDK](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fclient-sdk\u002Findex.md) | `useAgent`, `AgentClient`, state, RPC, HTTP |\n| Client tools | [Client tools](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fharnesses\u002Fthink\u002Fclient-tools\u002Findex.md) | Client-side tools, `autoContinueAfterToolResult` |\n| Server-driven messages | [Autonomous responses](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fautonomous-responses\u002Findex.md) | `saveMessages`, `waitUntilStable`, server-initiated turns |\n| Resumable streaming | [Chat agents](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fchat\u002Fchat-agents\u002Findex.md#resumable-streaming) | Stream recovery on disconnect |\n| Email | [Email](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Femail\u002Findex.md) | Email routing, secure reply resolver |\n| MCP client | [MCP client](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fapis\u002Fclient-api\u002Findex.md) | Connecting to MCP servers |\n| MCP server | [MCP server](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fapis\u002Fhandler-api\u002Findex.md) | Building MCP servers with `createMcpHandler` |\n| MCP transports | [MCP transports](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fprotocol\u002Ftransport\u002Findex.md) | Streamable HTTP, SSE, RPC transport options |\n| Securing MCP servers | [Securing MCP](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fmodel-context-protocol\u002Fguides\u002Fsecuring-mcp-server\u002Findex.md) | OAuth, proxy MCP, hardening |\n| Human-in-the-loop | [Human-in-the-loop](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fconcepts\u002Fagentic-patterns\u002Fhuman-in-the-loop\u002Findex.md) | Workflow approvals, elicitation, timeout handling |\n| Durable execution | [Durable execution](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fdurable-execution\u002Findex.md) | `runFiber()`, `stash()`, surviving DO eviction |\n| Queue | [Queue](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fqueue-tasks\u002Findex.md) | Built-in FIFO queue, `queue()` |\n| Retries | [Retries](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fexecution\u002Fretries\u002Findex.md) | `this.retry()`, backoff\u002Fjitter |\n| Observability | [Observability](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fobservability\u002Findex.md) | Diagnostics-channel events |\n| Push notifications | [Push notifications](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fwebhooks\u002Fpush-notifications\u002Findex.md) | Web Push + VAPID from agents |\n| Webhooks | [Webhooks](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fwebhooks\u002Findex.md) | Receiving external webhooks |\n| Cross-domain auth | [Cross-domain auth](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Foperations\u002Fcross-domain-authentication\u002Findex.md) | WebSocket auth, tokens, CORS |\n| Readonly connections | [Readonly](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fruntime\u002Fcommunication\u002Freadonly-connections\u002Findex.md) | `shouldConnectionBeReadonly` |\n| Voice | [Voice](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fcommunication-channels\u002Fvoice\u002Findex.md) | Experimental STT\u002FTTS, `withVoice` |\n| Browse the web | [Browser tools](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Ftools\u002Fbrowser\u002Findex.md) | Experimental CDP browser automation |\n| Think | [Think](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagents\u002Fharnesses\u002Fthink\u002Findex.md) | Experimental higher-level chat agent class |\n| Migrations | [AI SDK v5](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagents\u002Fblob\u002Fmain\u002Fdocs\u002Fagents\u002Fmigration-to-ai-sdk-v5.md), [AI SDK v6](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagents\u002Fblob\u002Fmain\u002Fdocs\u002Fagents\u002Fmigration-to-ai-sdk-v6.md) | Upgrading `@cloudflare\u002Fai-chat` |\n\n## Capabilities\n\nThe Agents SDK provides:\n\n- **Persistent state** — SQLite-backed, auto-synced to clients via `setState`\n- **Callable RPC** — `@callable()` methods invoked over WebSocket\n- **Scheduling** — One-time, recurring (`scheduleEvery`), and cron tasks\n- **Workflows** — Durable multi-step background processing via `AgentWorkflow`\n- **Durable execution** — `runFiber()` \u002F `stash()` for work that survives DO eviction\n- **Queue** — Built-in FIFO queue with retries via `queue()`\n- **Retries** — `this.retry()` with exponential backoff and jitter\n- **MCP integration** — Connect to MCP servers or build your own with `createMcpHandler`\n- **Email handling** — Receive and reply to emails with secure routing\n- **Streaming chat** — `AIChatAgent` with resumable streams, message persistence, tools\n- **Server-driven messages** — `saveMessages`, `waitUntilStable` for proactive agent turns\n- **React hooks** — `useAgent`, `useAgentChat` for client apps\n- **Observability** — `diagnostics_channel` events for state, RPC, schedule, lifecycle\n- **Push notifications** — Web Push + VAPID delivery from agents\n- **Webhooks** — Receive and verify external webhooks\n- **Voice** (experimental) — STT\u002FTTS via `@cloudflare\u002Fvoice`\n- **Browser tools** (experimental) — CDP-powered browsing via `agents\u002Fbrowser`\n- **Think** (experimental) — Higher-level chat agent via `@cloudflare\u002Fthink`\n\n## FIRST: Verify Installation\n\n```bash\nnpm ls agents  # Should show agents package\n```\n\nIf not installed:\n```bash\nnpm install agents\n```\n\nFor chat agents:\n```bash\nnpm install agents @cloudflare\u002Fai-chat ai @ai-sdk\u002Freact\n```\n\n## Wrangler Configuration\n\n```jsonc\n{\n  \"compatibility_flags\": [\"nodejs_compat\"],\n  \"durable_objects\": {\n    \"bindings\": [{ \"name\": \"MyAgent\", \"class_name\": \"MyAgent\" }]\n  },\n  \"migrations\": [{ \"tag\": \"v1\", \"new_sqlite_classes\": [\"MyAgent\"] }]\n}\n```\n\n**Gotchas:**\n- Do NOT enable `experimentalDecorators` in tsconfig (breaks `@callable`)\n- Never edit old migrations — always add new tags\n- Each agent class needs its own DO binding + migration entry\n- Add `\"ai\": { \"binding\": \"AI\" }` for Workers AI\n\n## Agent Class\n\n```typescript\nimport { Agent, routeAgentRequest, callable } from \"agents\";\n\ntype State = { count: number };\n\nexport class Counter extends Agent\u003CEnv, State> {\n  initialState = { count: 0 };\n\n  validateStateChange(nextState: State, source: Connection | \"server\") {\n    if (nextState.count \u003C 0) throw new Error(\"Count cannot be negative\");\n  }\n\n  onStateUpdate(state: State, source: Connection | \"server\") {\n    console.log(\"State updated:\", state);\n  }\n\n  @callable()\n  increment() {\n    this.setState({ count: this.state.count + 1 });\n    return this.state.count;\n  }\n}\n\nexport default {\n  fetch: (req, env) => routeAgentRequest(req, env) ?? new Response(\"Not found\", { status: 404 })\n};\n```\n\n## Routing\n\nRequests route to `\u002Fagents\u002F{agent-name}\u002F{instance-name}`:\n\n| Class | URL |\n|-------|-----|\n| `Counter` | `\u002Fagents\u002Fcounter\u002Fuser-123` |\n| `ChatRoom` | `\u002Fagents\u002Fchat-room\u002Flobby` |\n\nClient: `useAgent({ agent: \"Counter\", name: \"user-123\" })`\n\nCustom routing: use `getAgentByName(env.MyAgent, \"instance-id\")` then `agent.fetch(request)`.\n\n## Core APIs\n\n| Task | API |\n|------|-----|\n| Read state | `this.state.count` |\n| Write state | `this.setState({ count: 1 })` |\n| SQL query | `` this.sql`SELECT * FROM users WHERE id = ${id}` `` |\n| Schedule (delay) | `await this.schedule(60, \"task\", payload)` |\n| Schedule (cron) | `await this.schedule(\"0 * * * *\", \"task\", payload)` |\n| Schedule (interval) | `await this.scheduleEvery(30, \"poll\")` |\n| RPC method | `@callable() myMethod() { ... }` |\n| Streaming RPC | `@callable({ streaming: true }) stream(res) { ... }` |\n| Start workflow | `await this.runWorkflow(\"ProcessingWorkflow\", params)` |\n| Durable fiber | `await this.runFiber(\"name\", async (ctx) => { ... })` |\n| Enqueue work | `this.queue(\"handler\", payload)` |\n| Retry with backoff | `await this.retry(fn, { maxAttempts: 5 })` |\n| Broadcast to clients | `this.broadcast(message)` |\n| Get connections | `this.getConnections(tag?)` |\n\n## React Client\n\nRead [client-sdk.md](references\u002Fclient-sdk.md) for client selection and current connection examples. For chat UI and tools, also read [streaming-chat.md](references\u002Fstreaming-chat.md).\n\n## References\n\n### Core\n- **[references\u002Fstate-scheduling.md](references\u002Fstate-scheduling.md)** — State persistence, scheduling, SQL\n- **[references\u002Fcallable.md](references\u002Fcallable.md)** — RPC methods, streaming, timeouts\n- **[references\u002Frouting.md](references\u002Frouting.md)** — URL patterns, custom routing, `getAgentByName`\n- **[references\u002Fconfiguration.md](references\u002Fconfiguration.md)** — Wrangler config, bindings, Vite setup\n\n### Chat & Streaming\n- **[references\u002Fstreaming-chat.md](references\u002Fstreaming-chat.md)** — AIChatAgent, resumable streams, tools\n- **[references\u002Fclient-sdk.md](references\u002Fclient-sdk.md)** — `useAgent`, `useAgentChat`, `AgentClient`\n- **[references\u002Fserver-driven-messages.md](references\u002Fserver-driven-messages.md)** — Trigger patterns, `saveMessages`\n- **[references\u002Fhuman-in-the-loop.md](references\u002Fhuman-in-the-loop.md)** — Approval flows, `needsApproval`\n\n### Background Processing\n- **[references\u002Fworkflows.md](references\u002Fworkflows.md)** — Durable Workflows integration\n- **[references\u002Fdurable-execution.md](references\u002Fdurable-execution.md)** — `runFiber`, `stash`, surviving eviction\n- **[references\u002Fqueue-retries.md](references\u002Fqueue-retries.md)** — Built-in queue, retry with backoff\n\n### Integrations\n- **[references\u002Fmcp.md](references\u002Fmcp.md)** — MCP client and server, transports, securing\n- **[references\u002Femail.md](references\u002Femail.md)** — Email routing and handling\n- **[references\u002Fwebhooks-push.md](references\u002Fwebhooks-push.md)** — Webhooks, push notifications\n- **[references\u002Fobservability.md](references\u002Fobservability.md)** — Diagnostics-channel events\n\n### Experimental\n- **[references\u002Fthink.md](references\u002Fthink.md)** — `@cloudflare\u002Fthink` higher-level chat agent\n- **[references\u002Fvoice.md](references\u002Fvoice.md)** — `@cloudflare\u002Fvoice` STT\u002FTTS\n- **[references\u002Fcodemode.md](references\u002Fcodemode.md)** — Code Mode for tool orchestration\n- **[references\u002Fbrowse-the-web.md](references\u002Fbrowse-the-web.md)** — CDP browser tools\n\n## Skill feedback\n\nIf the user reports that this skill gave incorrect or outdated guidance, or is missing information, read [references\u002Fskill-feedback.md](references\u002Fskill-feedback.md).\n",{"name":5,"description":7},"main","e63612d78f9099c1970584ea3faef109f42d20bb","skills\u002Fagents-sdk",0,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills","https:\u002F\u002Fgithub.com\u002Ffilippolmt","2026-11-14 22:46:00",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add filippolmt\u002Fskills --skill agents-sdk",{"tool":38,"command":39},"bunx","bunx skills add filippolmt\u002Fskills --skill agents-sdk",{"tool":41,"command":42},"pnpm","pnpm dlx skills add filippolmt\u002Fskills --skill agents-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002FSKILL.md",true,[46,50,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132],{"path":47,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":16},"LICENSE","许可证",11357,{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fbrowse-the-web.md","REFERENCE","参考文档",1627,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fbrowse-the-web.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcallable.md",2127,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fcallable.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fclient-sdk.md",1216,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fclient-sdk.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcodemode.md",2916,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fcodemode.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fconfiguration.md",1850,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fconfiguration.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fdurable-execution.md",1717,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fdurable-execution.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Femail.md",3556,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Femail.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fhuman-in-the-loop.md",929,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fhuman-in-the-loop.md",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fmcp.md",1325,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fmcp.md",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fobservability.md",1352,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fobservability.md",{"path":93,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fqueue-retries.md",1463,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fqueue-retries.md",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Frouting.md",1844,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Frouting.md",{"path":101,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fserver-driven-messages.md",868,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fserver-driven-messages.md",{"path":105,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fskill-feedback.md",2787,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fskill-feedback.md",{"path":109,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fstate-scheduling.md",1542,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fstate-scheduling.md",{"path":113,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fstreaming-chat.md",1464,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fstreaming-chat.md",{"path":117,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fthink.md",2933,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fthink.md",{"path":121,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fvoice.md",1918,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fvoice.md",{"path":125,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fwebhooks-push.md",2466,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fwebhooks-push.md",{"path":129,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fworkflows.md",2378,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002Freferences\u002Fworkflows.md",{"path":133,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":134,"sourceHtmlUrl":135},"SOURCE.md",392,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fagents-sdk\u002FSOURCE.md",[137,146,154,162,170,178],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":141,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":20},"01M781ZJN9KDK0YY8EAQ8WXPRQ","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","MIT","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":20},"01M781ZDZ8CQ30GRY5XNT1RF91","wrangler","Run or troubleshoot Wrangler CLI commands in projects that have a wrangler.jsonc, wrangler.json, or wrangler.toml file, including local development, Previews, deployment, and resource management. For new projects and projects without a Wrangler configuration file, use the cf CLI instead.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":20},"01M781ZA1MB7E7T1R1TE0BTTJS","workers-profiling","Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-profiling\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-profiling\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":166,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":20},"01M781Z52Q7PBMDA2YBC3SCTYM","workers-development","Run, inspect, and debug Cloudflare Workers during local development with cf dev, wrangler dev, or the Cloudflare Vite plugin, using Local Explorer to read and seed binding data and query local traces and logs. Also routes production debugging to Workers observability. Use for debugging requests whether or not the project uses Wrangler.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-development\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-development\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":174,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":20},"01M781Z193MG7SHF4DSD1WK583","workers-best-practices","Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":141,"licenseFileUrl":182,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":20},"01M781YT0JB3GVA1HTFZ9QJHM7","wordpress-pro","Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwordpress-pro\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwordpress-pro\u002FSKILL.md",[],[]]