wrangler Skill for Claude Code: Run and Fix Wrangler Commands for Workers
Makes Claude run and troubleshoot the Wrangler CLI in projects that already have a Wrangler config, from local dev to previews and deploys.
- Installs
- 136.2K
- on skills.sh
- Stars
- 3.2K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
The wrangler skill makes Claude work with the Wrangler CLI, but only in projects that have a wrangler.jsonc, wrangler.json or wrangler.toml file and no cloudflare.config.ts, or when you ask for Wrangler. For new projects it tells Claude to use the Cloudflare cf CLI and not add Wrangler.
Claude inspects the project's own Wrangler version first and fetches current docs before writing commands, because flags change. It covers local dev, config and bindings, environments, secrets, types, Workers Previews, rollbacks and dry-run checks. Before any remote command it identifies the account and the narrowest role needed. It bundles one file, a skill-feedback guide, and no scripts.
Good for
- Developers with an existing Cloudflare Workers project that uses wrangler.jsonc, wrangler.json or wrangler.toml
- Teams setting up branch and pull request preview environments
- Anyone fixing Wrangler config, bindings, secrets or deploy errors
Install wrangler
Claude Code
- 1
Copy this prompt.
Install the wrangler skill in Claude Code. Run this command: /plugin marketplace add cloudflare/skills /plugin install cloudflare@cloudflare Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Pick one route, not both, or you get the skills twice. The README says the plugin installs the repo's skills together with the main Cloudflare remote MCP server. Run the two /plugin lines inside Claude Code.
From the project README. Source.
What's in the skill
When it loads
Run or troubleshoot Wrangler CLI commands in projects that have a wrangler.jsonc, wrangler.json, or wrangler.toml file, including local development, Previews, deployment, and resource management. For new projects and projects without a Wrangler configuration file, use the cf CLI instead.
Sections in SKILL.md
- Inspect the Project
- Retrieve What the Task Needs
- Apply the Change
- Work with Workers Previews
- Validate
- Skill feedback
Key facts
- License
- Apache-2.0
- Installs on skills.sh
- 136,154 (Nov 2, 2026)
- GitHub stars
- 3,244 (Nov 2, 2026)
- skills.sh audits
- Gen Agent Trust Hub: pass, Socket: pass, Snyk: pass
- Last commit
- 2026-10-31
- Previews requirement
- Project-local Wrangler 4.135.0 or later
What it includes
Finds package manager, Wrangler version, config and target account
Claude runs commands through the project's own scripts so they use its local Wrangler version.
Runs code ·
Inspect the projectFetches the exact Cloudflare docs page for a command or setting
Uses the Cloudflare MCP docs tool if it is available, or fetches the page directly.
Network ·
Retrieve what the task needsEdits config, bindings, environments and secrets carefully
Checks environment inheritance and keeps secret values out of arguments, code and logs.
Runs code ·
Apply the changeTreats wrangler secret put and delete as immediate deployments
For staged changes it uses the wrangler versions secret workflow instead.
Runs code ·
SecretsBranch and pull request environments under one Worker
Warns that Preview URLs are public unless you set access controls, and does not assume Preview resources are isolated.
Runs code ·
Workers PreviewsChecks rollback limits before rolling back
Connected resources and their data are not rolled back with the Worker code.
Runs code ·
RollbacksRegenerates types, runs checks, and uses wrangler deploy --dry-run
A dry run checks build and packaging, not that remote resources work.
Runs code ·
ValidateDrafts a GitHub issue about the skill, only if you approve it
Described in references/skill-feedback.md, which the SKILL.md tells Claude to read when you report bad guidance.
Write ·
Skill feedback
From the official docs
Permissions
High risk
This skill runs Wrangler against your Cloudflare account, which can deploy code, change secrets and delete resources. Use an API token with narrow permissions and approve each command.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Wrangler commands can deploy and delete
Deploys, rollbacks, secret changes and deleting named Previews all go through your account. Check the target account and environment, and approve each command.
Secret changes deploy immediately
wrangler secret put and delete create a version and deploy it. Ask for the staged versions secret workflow if that is not what you want.
Preview URLs are public by default
Unless you configure access controls, anyone with the URL can open a Preview. Decide on protection before you share it.
A running Worker can reach real resources
The SKILL.md notes that local dev can still use real remote bindings. Check which bindings are selected before testing writes.
Technical details
| Talks to | developers.cloudflare.com documentation. Cloudflare API, through Wrangler |
|---|---|
| Scopes |
|
Questions
What does the wrangler skill do?
It makes Claude run and troubleshoot Wrangler in a Workers project that already has a Wrangler config. It looks up current docs first, so it does not rely on remembered flags.
How do I install it in Claude Code?
Use the install box above, which adds it from the cloudflare/skills repo. Then ask, for example, "deploy a preview of this Worker" or "fix my wrangler.jsonc binding".
Should I use wrangler or cf?
The skill uses Wrangler only for projects with a Wrangler config and no cloudflare.config.ts, or when you ask. For new projects it points to the cf CLI and says not to add Wrangler.
What is the difference from the cloudflare skill?
The cloudflare skill helps choose products and picks the CLI. wrangler is the one for running Wrangler commands. Both are in the same repo. The cloudflare SKILL.md calls its sibling skills optional.
Does it need an API token?
Remote commands need an authenticated account. The SKILL.md says wrangler login does not support granular access, so use an account-owned API token for that, and never paste the token value into chat.
Will a secret command deploy my Worker?
Yes. The skill says wrangler secret put and delete create a version and deploy it at once. It uses the versions secret workflow when you need a staged change.
Is it safe to install?
The skill is guidance. The Wrangler commands Claude runs can deploy, change secrets and delete named Previews, so approve each one and use a narrowly scoped token.
Information
updated Nov 2, 2026
- Repository
- cloudflare/skills
- Folder
skills/wrangler
Sources
Docs, issue trackers and discussions this page is built from.
Show all 6Hide
- cloudflare/skills README · github.com
- SKILL.md · github.com
- skills.sh listing · skills.sh
- GitHub repo · github.com
- cloudflare SKILL.md · github.com
- skill-feedback.md · github.com