wrangler

wrangler is Cloudflare's agent skill for running and troubleshooting the Wrangler CLI: configuring Worker projects, local development, Previews, secrets, deployments, rollbacks and Cloudflare resources such as KV, R2 and D1.

Checked by CookiesForAI on : license and last change of the skill re-read from GitHub.

Written by

Install Wrangler

Install this skill with the skills CLI

Terminal
npx skills add cloudflare/skills --skill wrangler

Or, in Claude Code, add Cloudflare's plugin marketplace

Agent chat
/plugin marketplace add cloudflare/skills

Then install the cloudflare plugin (all 16 skills plus Cloudflare's MCP server)

Agent chat
/plugin install cloudflare@cloudflare

Or, in Codex, add the same marketplace from your terminal

Terminal
codex plugin marketplace add cloudflare/skills

Then install the cloudflare plugin and start a new Codex session

Terminal
codex plugin add cloudflare@cloudflare

In VS Code with GitHub Copilot, Cloudflare's README says to enable chat.plugins.enabled, run Chat: Install Plugin From Source, and enter https://github.com/cloudflare/skills. In Cursor, install it from the Cursor Marketplace.

Or paste this into your coding agent: Install the agent skill wrangler from github.com/cloudflare/skills. Checked by CookiesForAI on : license and last change of the skill re-read from GitHub. A skill can include scripts that run on your computer, so read its source first.

What Wrangler does

wrangler is an agent skill from Cloudflare for work done through the Wrangler CLI. Before writing any command it has the agent inspect the project: package manager, the locally installed Wrangler version, scripts, framework and the config file actually used for build and deploy. It tells the agent not to rely on memorized flags and not to upgrade Wrangler silently, and to look up the exact command or config field in Cloudflare's docs.

The wrangler skill carries guardrails for changes that touch real resources. The agent confirms the target account, Worker and environment first, checks which bindings are local and which are remote, reconciles dashboard edits that a deploy would overwrite, and keeps secret values out of commands and logs. It treats wrangler secret put as a deployment, because it ships a new version at once, and warns that rollbacks do not roll back data.

A section on Workers Previews covers branch and pull request environments, which need project-local Wrangler 4.135.0 or later, and reminds the agent that Preview URLs are public unless protected. Validation means regenerating types, running tests and a dry-run deploy, then reporting what changed and what stayed unverified.

When to use Wrangler

  • You want to deploy a Worker or a framework app to Cloudflare from the terminal.
  • You need a KV, R2, D1 or Queues binding added to your Wrangler config.
  • You want a preview environment for each pull request.
  • A wrangler command fails with an authentication or permissions error.

When to pick something else

  • Projects that use cloudflare.config.ts or the newer cf CLI: the skill itself says to follow Cloudflare's cf CLI docs instead.

What Wrangler needs

  • A Cloudflare account and Wrangler installed in the project; Workers Previews need Wrangler 4.135.0 or later

Which agents Wrangler works in

Cloudflare documents Wrangler for Claude Code, Codex, GitHub Copilot in VS Code, Cursor, OpenCode, Pi. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on ). See where each agent looks for skills.

The skill prefers the docs tool of Cloudflare's MCP server when the agent has it, which the Claude Code and Codex plugins install; without it the agent fetches the linked documentation pages directly.

We also list this company's other pages: Cloudflare MCP server.

Wrangler license

Wrangler is published under Apache-2.0.

More from Cloudflare

Lists that include wrangler