wrangler

officialscriptablecloud
$ npm i -g wrangler
Summary

Workers, queues, and kv and r2 from the terminal.

  • wrangler fits deploy well, especially for workers, queues, and kv and r2 from the terminal.
  • It is the official CLI from Cloudflare.
  • Good for scripts and agents.
  • Good fit for coding-agent workflows and repeatable scripts.
  • Structured output is available for automation and parsing.
deploy-wrangler-SKILL.md

Wrangler guide

The official CLI from Cloudflare. Workers, queues, and kv and r2 from the terminal. Start with `wrangler login` and go from there. Supports structured output — good for scripts and agents.

Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.

When to apply

  • workers, queues, and kv and r2 from the terminal.
  • You're on Cloudflare and want the official terminal experience.
  • You need workers.
  • You need queues.
  • You need kv and r2.

Quick reference

Installnpm i -g wrangler
Verifywrangler whoami
First real commandwrangler login && wrangler init hello-workers

Open CLI × skills.sh

Open CLI integrates wrangler with the right skills.sh companions so you get the tool and the workflow together.

Deployment Automation

Recommended pairing

Open CLI recommends this skills.sh skill because it fits cloud workflows. Safer deployment routines with approvals, checks, and repeatable steps.

View on skills.sh
$ npx skills add https://github.com/supercent-io/skills-template --skill deployment-automation
Starter prompt

Use wrangler together with the Deployment Automation skills.sh skill. Inspect the current project, verify prerequisites, and suggest the safest next deployment step before changing anything.

Why this tool

  • wrangler fits deploy well, especially for workers, queues, and kv and r2 from the terminal.
  • It is the official CLI from Cloudflare.
  • Good for scripts and agents.

Watch-outs

  • Sign in before real work.
  • Needs network access.
  • Start with read-only or dry-run commands.

Example workflow

1. wrangler login
2. wrangler dev
3. wrangler deploy

Safe start

Step 1

Install wrangler.

Step 2

Run `wrangler whoami` first.

Step 3

Start with `wrangler login && wrangler init hello-workers`.

Step 4

Authenticate wrangler before asking the agent to do real work.

Alternatives worth considering