Guide
Deploy a website to Cloudflare Workers & Pages with an AI agent
To deploy to Cloudflare from chat, install Cloudflare's first-party cloudflare platform Skill, authenticate Wrangler once, then ask your agent to deploy. It deploys both Workers and Pages, configures wrangler.toml, and manages KV, D1, and R2 storage — all from the conversation.
It ships in the official cloudflare/skills marketplace (Apache-2.0). It is the right pick for edge-first apps on Workers/Pages, or static sites that want unlimited bandwidth at the edge.
Install
Add the Skill
Full editorial entry, composite score, and license on the cloudflare page.
Claude Code
/plugin marketplace add cloudflare/skillsThen: /plugin install cloudflare@cloudflare
Step by step
Deploy from chat
- 1
Build the project
For a Worker, have your agent write the Worker entrypoint; for Pages, produce a static build or a framework output. The Skill knows both Cloudflare deploy targets.
- 2
Install the Skill from the marketplace
Add the cloudflare/skills marketplace and install the cloudflare plugin with the commands above. This brings in the platform Skill plus the wrangler and workers-best-practices Skills.
- 3
Authenticate Wrangler
Cloudflare deploys run through Wrangler, which needs auth. Run wrangler login (or let the Skill prompt you) to connect your Cloudflare account.
- 4
Deploy Workers or Pages
Ask the agent to deploy. For a Worker it runs wrangler deploy; for Pages it pushes the build to a Pages project. The Skill configures wrangler.toml correctly and returns the live URL.
- 5
Wire storage if needed
For dynamic apps, ask the agent to provision and bind KV, D1 (SQL), or R2 (object storage). The Skill handles the wrangler bindings so your Worker can read and write them.
Workers vs Pages
Which Cloudflare target to deploy to
| Workers | Pages | |
|---|---|---|
| Best for | APIs, edge logic, full-stack apps | Static sites and frontends |
| Runtime | Always-on edge function | Static assets + optional Functions |
| Storage | KV, D1, R2 bindings | Pair with Workers for storage |
| Deploy command | wrangler deploy | Pages build + upload |
The platform Skill covers both. Use Workers when you need server-side logic at the edge; use Pages when you are shipping a static or mostly-static frontend.
FAQ
Common questions
Is this an official Cloudflare Skill?
Yes. The platform Skill is published by Cloudflare in the cloudflare/skills marketplace under Apache-2.0, and Cloudflare documents the Claude Code install path in its own agent-setup docs.
Can it deploy both Workers and Pages?
Yes. It handles Workers deploys via wrangler deploy and Pages deploys by pushing a build to a Pages project, and it configures wrangler.toml for either target.
Does it manage KV, D1, and R2?
Yes — the Skill can provision and bind KV (key-value), D1 (SQL), and R2 (object storage) so your Worker can use them, which is the main reason to deploy to Workers rather than a static host.
Which agents support it?
It is catalogued as verified for Claude Code, where Cloudflare documents the marketplace install. Check the skill page for the current verified-agent list.
Related
More deploy guides
- How to deploy a website with AI agent Skills
The full guide — platform matrix, decision tree, every host.
- Best agent Skills for deploying websites
The six best verified agent Skills for deploying and publishing websites in 2026, ranked by what they deploy, who maintains them, and which agents they support.
- Deploy a website to Vercel from chat with an AI agent
Use the vercel-deploy-claimable Skill to ship a site to a live Vercel URL from Claude Code or Cursor, then claim it into your own account.
- Deploy a website to Netlify with an AI agent
Use Netlify's first-party netlify-deploy Skill to authenticate, create Deploy Previews, and promote a production deploy from Claude Code.
- Deploy a static site to GitHub Pages with an AI agent
Use the github-pages Skill to enable Pages, generate the GitHub Actions workflow, and set up a custom domain for a static site straight from a repo.
Browse the full category: Web Hosting & Deploys Skills.