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.

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

Terminal
/plugin marketplace add cloudflare/skills

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

Terminal
/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. 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 October 1, 2026). 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.

Wrangler license

Wrangler is published under Apache-2.0.

  • Azure deploy: azure-deploy is Microsoft's agent skill for deploying an already prepared and validated app to Azure with azd, Bicep or Terraform, with error recovery, role checks and verified https endpoints at the end. (1,522 repository stars on October 2, 2026)
  • Azure diagnostics: azure-diagnostics is Microsoft's agent skill for debugging Azure production problems with AppLens, Azure Monitor and resource health, with guides for App Service, Functions, Container Apps, AKS, VMs and messaging. (1,522 repository stars on October 2, 2026)
  • Deploy to Vercel: Deploy to Vercel is Vercel's agent skill for getting a project live: the agent checks how your project is set up, picks a deploy method and returns a preview link unless you ask for production. (31,813 repository stars on October 2, 2026)
  • Vercel CLI with Tokens: Vercel CLI with Tokens is Vercel's agent skill for running the Vercel CLI with an access token instead of vercel login: deploys, environment variables, logs and domains. (31,813 repository stars on October 2, 2026)

More from Cloudflare

  • Workers best practices: workers-best-practices is Cloudflare's agent skill for writing, reviewing and configuring production Cloudflare Workers, built around a table of anti-patterns to flag and current docs over memorized APIs. (2,965 repository stars on October 2, 2026)

Lists that include wrangler