wrangler
Skill by cloudflare
Guides an AI assistant through running and troubleshooting Wrangler CLI commands in projects with a Wrangler configuration file. It is for developers who deploy and manage Cloudflare Workers.
Install wrangler
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cloudflare/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/wrangler ~/.claude/skills/wranglerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cloudflare/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/wrangler ~/.gemini/antigravity-cli/skills/wranglerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill tells an AI assistant how to run or troubleshoot Wrangler CLI commands in projects that contain a wrangler.jsonc, wrangler.json, or wrangler.toml file. It covers local development, Previews, deployment, and resource management. The assistant is directed to use the project's own Wrangler version, check installed help and the config schema, and retrieve current Cloudflare documentation before writing commands or configuration.
The skill also sets rules for safe changes. It asks the assistant to identify the target account, Worker, environment, and resource before changing anything, to keep secret values out of command arguments and logs, and to treat secret commands as immediate deployments. For new projects, or projects with cloudflare.config.ts, the skill points to the cf CLI instead. It is aimed at developers working on Cloudflare Workers projects with Wrangler.
Written from the project's SKILL.md and checked against it.
What it can do
- Project inspectionFinds the package manager, Wrangler version, scripts, framework, and config used by the build or deploy command.
- Documentation lookupRetrieves linked Cloudflare docs for the specific command or product before writing commands or configuration.
- Configuration and bindingsEdits Wrangler config and adds bindings, checking the installed config schema for supported fields.
- EnvironmentsChecks environment inheritance and configures staging or production settings separately per environment.
- Secrets handlingSets secrets through documented input methods and keeps secret values out of arguments, source code, and logs.
- Workers PreviewsGuides branch and pull request Previews, Preview URLs, access controls, and CI deployment paths.
- RollbacksChecks rollback limitations before rolling back, since connected resources and their data are not rolled back with code.
- ValidationRegenerates types with wrangler types and runs dry-run deploys, then reports the checks performed and any gaps.
What you need
- A project with wrangler.jsonc, wrangler.json, or wrangler.toml
- Project-local Wrangler installed as a dependency
- Wrangler 4.135.0 or later for Workers Previews
- A Cloudflare account for remote commands
Try asking
- Deploy this Worker to my staging environment using the project's Wrangler config
- Set up a Preview for my pull request branch with Wrangler
- Why does my wrangler dev command fail in this project?
Good to know
- Only for projects with a Wrangler config file and no cloudflare.config.ts; use the cf CLI for other projects
- The wrangler login OAuth flow does not support granular authorization
- Preview URLs are public unless access controls are configured
- wrangler secret put and secret delete deploy immediately
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/wrangler/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/skill-feedback.md3 KB
Alternatives to wrangler
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
wrangler: common questions
Which CLI should I use for a new Cloudflare project?
The source says to use the Cloudflare CLI (cf) for a new project, a project with cloudflare.config.ts, or a project with no Cloudflare configuration.
Which Wrangler version does Workers Previews need?
Workers Previews requires project-local Wrangler 4.135.0 or later. Project commands do not use a newer global installation.
Are Wrangler Preview URLs public?
The source states that Preview URLs are public unless access controls are configured, so the user decides whether to protect them.
How do I install wrangler?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is wrangler free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is wrangler safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to wrangler?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
