Skip to content
Skillpedia
Deploy & cloud (DevOps)7.4k · #13257

wrangler

What it does

This skill guides the agent through Cloudflare's Wrangler command line tool for hosting and running web apps on Cloudflare. It is for people who build or run Workers and need correct, safe commands.

When to use it

  • ✓When you want to deploy a Cloudflare Worker or check its live logs.
  • ✓When you need to manage Cloudflare storage such as KV, R2, D1 or Queues.
  • ✓When you want to confirm which Cloudflare account a command will change before making updates.

Skill link

https://github.com/steipete/agent-scripts/blob/main/skills/wrangler/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/steipete/agent-scripts/blob/main/skills/wrangler/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Deploy my Cloudflare Worker and tell me if anything fails.”

5 new skills a week. 1 minute to read.

How it works

The agent checks which account is active, looks up the correct command options, and then runs the Wrangler steps. It avoids printing secrets and stops any log stream it started.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Wrangler

Use for Cloudflare Wrangler CLI work: deploys, tails, KV/R2/D1/Queues/Workers, secrets, bindings, and account routing.

Defaults

  • Retrieval first for flags/config: wrangler --help, subcommand --help, local node_modules/wrangler/config-schema.json, then Cloudflare docs.
  • Prefer repo wrapper: npm exec --yes --package wrangler -- wrangler ... unless repo has its own script.
  • wrangler whoami before account-sensitive work.
  • ReleaseBar prod account: Steipete@gmail.com's Account / de09342a728de2c25c85cc6b34d68739.
  • OpenClaw projects: use OpenClaw account / 91b59577e757131d68d55a471fe32aca. Ask if unsure.

Pitfalls

  • Do not invent flags from memory. Wrangler 4 removed/changed some old flags; confirm with --help.
  • wrangler kv key list has no --limit; use --prefix and filter locally.
  • Run Wrangler KV/list/get/admin reads serially when workerd/local storage starts up; parallel runs can hit SQLite SQLITE_BUSY.
  • wrangler tail --sampling-rate must be >0 and <1; use 0.999 for near-full sampling, not 1.
  • Stop tails you start. Use a PTY when interactive stop matters; otherwise kill the exact wrangler tail <worker> process.
  • Never print secrets. Query exact secret names only; do not dump env.

Quick Commands

npm exec --yes --package wrangler -- wrangler whoami
npm exec --yes --package wrangler -- wrangler deploy
npm exec --yes --package wrangler -- wrangler tail <worker> --format json --sampling-rate 0.999 --search '<term>'
npm exec --yes --package wrangler -- wrangler kv key list --namespace-id <id> --prefix '<prefix>'
npm exec --yes --package wrangler -- wrangler kv key get '<key>' --namespace-id <id>

Account Check

For repo config, read wrangler.toml / wrangler.json(c) before commands. If config account and intended product disagree, stop and ask.

FAQ

Will this skill show my secret keys?

No. The skill tells the agent never to print secrets and to check only exact secret names.

Do I need to know the command line?

Not really. You describe what you want, and the agent runs the right Wrangler commands for you.

Which Cloudflare account does it use?

The agent checks the active account before making changes and asks you if it is unsure which one to use.

Details

Original description by the author

Wrangler CLI: Workers, KV, tail, deploy, account routing.

repo: steipete/agent-scripts

Popularity

GitHub stars
7.4k
Ranking position
#13257
License
MIT
Updated
10/30/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills