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/skills

Then: /plugin install cloudflare@cloudflare

Step by step

Deploy from chat

  1. 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. 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. 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. 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. 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

WorkersPages
Best forAPIs, edge logic, full-stack appsStatic sites and frontends
RuntimeAlways-on edge functionStatic assets + optional Functions
StorageKV, D1, R2 bindingsPair with Workers for storage
Deploy commandwrangler deployPages 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

Browse the full category: Web Hosting & Deploys Skills.