wrangler-pages-deploy

wrangler-pages-deploy is a skill for Claude Code, Codex from humanerd-drew/opencode-drewgent. It costs 0 tokens per session (3,112 once invoked), scanned A, original, MIT.

A troubleshooting guide for deploying websites to Cloudflare Pages with Wrangler, Cloudflare's command-line deployment tool. It covers account-selection, authentication, and configuration errors.

In plain words
What is it for?
Use it to identify deployment symptoms, select the correct Cloudflare account, fix authentication issues, and check Wrangler configuration.
Why use it?
It helps diagnose failed non-interactive deployments when an OAuth login has multiple Cloudflare accounts or the configuration uses the wrong Pages format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify deployment symptoms, select the correct Cloudflare account, fix authentication issues, and check Wrangler configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/humanerd-drew/opencode-drewgent/wrangler-pages-deploy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add humanerd-drew/opencode-drewgent --skill wrangler-pages-deploy
Clone the repo
git clone --depth 1 https://github.com/humanerd-drew/opencode-drewgent

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-pages-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/wrangler-pages-deploy.svg)](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/wrangler-pages-deploy)
Your own site
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/wrangler-pages-deploy"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/wrangler-pages-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,112 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 original No closer match found 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.00000 $0.03112
Opus 5 $0.00000 $0.01556
Sonnet 5 $0.00000 $0.00622
Haiku 4.5 $0.00000 $0.00311

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

Security

Grade A, and why

wrangler-pages-deploy 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 3d 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 -s -o /dev/null -w "%{http_code}\n" https://YOUR_DOMAIN/
skills/devops/wrangler-pages-deploy/SKILL.md · 282 lines

How it starts

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


name: wrangler-pages-deploy title: "wrangler-pages-deploy — Cloudflare Pages + wrangler OAuth multi-account gotcha 해결" description: "Cloudflare Pages에 wrangler로 deploy할 때 발생하는 'More than one account available but unable to select one in non-interactive mode' 또는 403 Authentication error 해결 절차. OAuth token에 여러 CF 계정이 연결돼 있을 때 (personal + org 흔함) 발생하는 multi-account selection 문제 + wrangler.toml이 Pages 형식과 안 맞는 문제. YOUR_DOMAIN, Quartz publishing pipeline, fswatch 자동 deploy 등 영향." type: skill space: growth tags: [skill, wrangler, cloudflare, pages, deploy, auth, oauth, devops, YOUR_SITE] created: 2026-06-01 updated: 2026-06-1 links:

  • "[[skills/YOUR_SITE]]"
  • "[[skills/quartz-remove-drafts-customization]]"
  • "[[@action/gateway/{{AGENT_NAME_LOWER}}-architecture-dataflow]]"
  • "[[@identity/brain/rules]]"---

wrangler-pages-deploy

npx wrangler pages deploy가 실패할 때의 진단 + 해결 절차. {{AGENT_NAME}} 6/1 incident에서 4번의 dead end 후 5번째에 해결한 패턴.

문제 — 4가지 가능한 증상

증상 A: More than one account available but unable to select one

✘ [ERROR] More than one account available but unable to select one in non-interactive mode.

  Please set the appropriate `account_id` in your Wrangler configuration file or assign it to the `CLOUDFLARE_ACCOUNT_ID` environment variable.
  Available accounts are (`<name>`: `<account_id>`):
    `YOUR_ACCOUNT`: `YOUR_CF_ACCOUNT_ID`
    `YOUR_ORG`: `YOUR_CF_ORG_ID`

원인: OAuth token에 CF 계정 2개 이상 연결. dev/sandbox 환경에서 흔함.

증상 B: 403 Authentication error

✘ [ERROR] A request to the Cloudflare API (/accounts/.../pages/projects/...) failed.

  Authentication error [code: 10000]

원인: OAuth token 권한 부족, 또는 token expired. 계정을 지정해도 발생 가능 (token 자체가 권한 잃은 경우).

증상 C: Missing top-level field "name" (Pages wrangler.toml)

✘ [ERROR] Running configuration file validation for Pages:
  - Missing top-level field "name" in configuration file.
  - Configuration file for Pages projects does not support "account_id"

원인: wrangler.toml 형식이 Workers용으로 작성됨. Pages는 별도 형식.

Read the full file on GitHub · 282 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. 3d ago First seen · 282 lines · 0 tokens per session scan A e40a9df74bc0

Subscribe to this mod's changes

wrangler-pages-deploy is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,112 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens