wrangler
Wrangler skill guides you through Cloudflare's command-line tool for deploying Workers and managing associated services like KV, R2, D1, and Queues. It covers deployment workflows, account routing, secrets handling, and common pitfalls to avoid when working with Wrangler 4.
Wrangler skill provides CLI guidance for deploying and managing Cloudflare Workers and related services.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-23
Wrangler skill provides CLI guidance for deploying and managing Cloudflare Workers and related services. Wrangler skill guides you through Cloudflare's command-line tool for deploying Workers and managing associated services like KV, R2, D1, and Queues. It covers deployment workflows, account routing, secrets handling, and common pitfalls to avoid when working with Wrangler 4.
Use it when
- Wrangler provides commands for each resource type: `wrangler kv` for key-value storage, `wrangler r2` for object storage.
- Wrangler secrets and bindings are configured in your `wrangler.toml` file or via CLI commands.
Verify before relying
Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.
Install
steipete/agent-scripts/wrangler · repository language: Shell
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I deploy with wrangler to Cloudflare?
Wrangler deploys your Worker code to Cloudflare using the `wrangler deploy` command. First, authenticate with `wrangler login`, configure your `wrangler.toml` with your account ID and worker name, then run `wrangler deploy` from your project root. Wrangler will upload your code and any bound resources (KV, R2, D1, Queues) to Cloudflare's edge network.
What are the main Wrangler CLI commands for managing resources?
Wrangler provides commands for each resource type: `wrangler kv` for key-value storage, `wrangler r2` for object storage, `wrangler d1` for databases, and `wrangler queues` for message queues. Use `wrangler tail` to stream live worker logs, `wrangler secret` to manage secrets, and `wrangler whoami` to verify your account identity. Each command has subcommands for create, list, delete, and other operations.
How do I configure secrets and bindings in Wrangler?
Wrangler secrets and bindings are configured in your `wrangler.toml` file or via CLI commands. Use `wrangler secret put KEY` to add environment secrets interactively. Bindings are declared in `wrangler.toml` under `[env.production]` or similar sections, specifying resource type, namespace ID, and other metadata. Secrets remain encrypted and are injected at runtime; bindings expose resource handles to your Worker code.
How can I stream and filter worker logs with the tail command?
Wrangler's `wrangler tail` command streams live logs from your deployed Worker. Run `wrangler tail` to see all logs, or use `--format json` for structured output. You can filter by status, message content, or sampling rate using flags like `--status error` or `--sampling-rate 0.1`. The tail command is useful for debugging production issues and monitoring Worker behavior in real time.
What does wrangler account routing do and how is it configured?
Wrangler account routing allows you to manage which Cloudflare account and zone your Worker is deployed to. Configure it in `wrangler.toml` by setting `account_id` and `route` fields, or use `wrangler publish` with environment-specific settings. This is essential when managing multiple accounts or deploying to different zones with a single codebase.
How do I verify my account identity and resolve Wrangler config conflicts?
Use `wrangler whoami` to verify your authenticated account and email. Config conflicts typically arise from mismatched `account_id` values or missing `wrangler.toml` settings. Run `wrangler login` to re-authenticate, check your `wrangler.toml` for typos, and ensure environment-specific configs override defaults correctly. Clear your local auth cache if needed with `wrangler logout`.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
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, localnode_modules/wrangler/config-schema.json, then Cloudflare docs. - Prefer repo wrapper:
npm exec --yes --package wrangler -- wrangler ...unless repo has its own script. wrangler whoamibefore 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 listhas no--limit; use--prefixand 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-ratemust be>0and<1; use0.999for near-full sampling, not1.- Stop tails you start. Use a PTY
(truncated - see the full file via the links below)
File tree — 2 files
skills/wrangler/SKILL.md
skills/wrangler/agents/openai.yaml
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Deploy and manage Cloudflare Workers using Wrangler CLI”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Wrangler skill provides command-line access to Cloudflare's full platform stack. Manage Workers deployments, configure key-value storage, handle object storage buckets, run SQLite databases, and publish Pages projects—all through straightforward CLI commands. Includes authentication, secrets management, and local development workflows.
Wrangler is a tool designed to help you manage and work with web development tasks more effectively. This skill introduces you to Wrangler's fundamental features and explains how it fits into modern development workflows. Gain clarity on what makes Wrangler useful and when to apply it in your projects.
Wrangler is Cloudflare's command-line tool for building and deploying Workers across the edge platform. It handles local development, deployment, and management of Workers alongside bindings for KV storage, R2 buckets, D1 databases, Vectorize indexes, and Workers AI. The skill prioritizes current documentation over cached knowledge to ensure commands and config syntax stay accurate.
This skill equips you to build and deploy serverless functions directly on Cloudflare's global edge infrastructure using JavaScript or TypeScript. Execute compute workloads with minimal latency by leveraging Cloudflare's distributed network, ideal for APIs, middleware, and real-time request handling.
This skill guides you through building production edge APIs with Cloudflare Workers, KV storage for caching and state, and Durable Objects for real-time coordination. It covers request routing, CORS handling, geohash-based caching patterns, IP rate limiting, and wrangler configuration to deploy across environments.
Cloudflare Expert provides in-depth knowledge for building serverless applications on Cloudflare's edge platform. Learn to deploy code globally with Workers, optimize caching and CDN performance, implement security features like WAF and DDoS protection, and manage distributed state using Workers KV and Durable Objects.
More skills Cloudflare Manager (unlicensed)