shell
$ npx -y skills add cloudflare/skills --agent claude-codeShips with cloudflare. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/build-agent
Context preview
What this command does when you run it.
Build an AI agent on Cloudflare using the Agents SDK
Stats
Stars2,459
Forks228
LanguageShell
LicenseApache-2.0
Ships with cloudflare
Command definition
build-agent.md
--- description: Build an AI agent on Cloudflare using the Agents SDK argument-hint: [agent-description] allowed-tools: [Read, Glob, Grep, Bash, Write, Edit, WebFetch] --- # Build AI Agent on Cloudflare ## Arguments The user invoked this command with: $ARGUMENTS ## Instructions When this command is invoked: 1. Read the skill file at `agents-sdk/SKILL.md` for core SDK guidance, APIs, and wrangler config 2. Based on what the user wants to build, read the relevant references from `agents-sdk/references/`: - For chat/AI agents: `streaming-chat.md`, `client-sdk.md` - For state management: `state-scheduling.md` - For RPC methods: `callable.md` - For background work: `workflows.md`, `durable-execution.md`, `queue-retries.md` - For MCP integration: `mcp.md` - For email handling: `email.md` - For webhooks/push: `webhooks-push.md` - For approval flows: `human-in-the-loop.md` - For voice: `voice.md` - For browser tools: `browse-the-web.md` - For higher-level chat: `think.md` 3. Fetch the relevant pages from https://developers.cloudflare.com/agents/ for the latest API details 4. Always start with `configuration.md` and `routing.md` for project setup
