wrangler

wrangler is a skill for Claude Code, Codex from louisbrulenaudet/monorepo-template. It costs 75 tokens per session (4,668 once invoked), scanned A, a copy of wrangler, Apache-2.0.

A command-line tool for developing, deploying, and managing Cloudflare Workers and connected Cloudflare services. Workers are programs that run on Cloudflare's network, while services such as KV, R2, and D1 provide storage or other infrastructure.

In plain words
What is it for?
Use it to run Workers locally, deploy them, configure their resources, and manage services such as KV, R2, D1, Vectorize, queues, workflows, and secrets.
Why use it?
It provides the repository's documented way to work with these Cloudflare resources and helps avoid using outdated command or configuration syntax.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is wrangler types ./src/env.d.ts.

Good fit Use it to run Workers locally, deploy them, configure their resources, and manage services such as KV, R2, D1, Vectorize, queues, workflows, and secrets.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-template
agentmods
npx agentmods add skills/louisbrulenaudet/monorepo-template/wrangler

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wrangler

README.md
[![agentmods](https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/wrangler/github.svg)](https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/wrangler)
Your own site
<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/wrangler"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/wrangler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wrangler

Your own site · 80×15
<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/wrangler"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/wrangler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,668 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.04668
Opus 5 $0.00037 $0.02334
Sonnet 5 $0.00015 $0.00934
Haiku 4.5 $0.00007 $0.00467

Measured 11d ago against content hash 42abe11ba6c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wrangler scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:8787/__scheduled
Origin

This is a copy

100% identical to wrangler — 938 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/wrangler/SKILL.md · 923 lines

How it starts

The opening of the file, as written. The whole thing — 923 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wrangler CLI

Your knowledge of Wrangler CLI flags, config fields, and subcommands may be outdated. Prefer retrieval over pre-training for any Wrangler task.

Retrieval Sources

Fetch the latest information before writing or reviewing Wrangler commands and config. Do not rely on baked-in knowledge for CLI flags, config fields, or binding shapes.

Source How to retrieve Use for
Wrangler docs https://developers.cloudflare.com/workers/wrangler/ CLI commands, flags, config reference
Wrangler config schema node_modules/wrangler/config-schema.json Config fields, binding shapes, allowed values
Cloudflare docs Search tool or https://developers.cloudflare.com/workers/ API reference, compatibility dates/flags

FIRST: Check if Wrangler is installed, and if not, install it

Check if Wrangler is installed by running:

wrangler --version  # Requires v4.x+

If Wrangler is not installed, you should install it by running:

npm install -D wrangler@latest

Wherever possible, you should use Wrangler instead of manually constructing API requests.

Key Guidelines

  • Use wrangler.jsonc: Prefer JSON config over TOML. Newer features are JSON-only.
  • Set compatibility_date: Use a recent date (within 30 days). Check https://developers.cloudflare.com/workers/configuration/compatibility-dates/
  • Generate types after config changes: Run wrangler types to update TypeScript bindings.
  • Local dev defaults to local storage: Bindings use local simulation unless remote: true.
  • Profile Worker startup: Run wrangler check startup to measure startup time and detect scripts that exceed the startup time limit.
  • Use environments for staging/prod: Define env.staging and env.production in config.

Quick Start: New Worker

# Initialize new project
npx wrangler init my-worker

# Or with a framework
npx create-cloudflare@latest my-app

Quick Reference: Core Commands

Read the full file on GitHub · 923 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 923 lines · 75 tokens per session scan A 42abe11ba6c0

Subscribe to this mod's changes

wrangler is a skill published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 10d ago), licensed Apache-2.0. It adds 75 tokens to every session and 4,668 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to wrangler, differing in 938 lines, and is treated as a copy.