wrangler-pages-deploy

Resolve OAuth token and wrangler.toml issues for Cloudflare Pages deployments.

2|7|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/humanerd-drew/opencode-drewgent --skill wrangler-pages-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler-pages-deploy
Source: https://github.com/humanerd-drew/opencode-drewgent/tree/main/skills/devops/wrangler-pages-deploy
Command: npx skills add https://github.com/humanerd-drew/opencode-drewgent --skill wrangler-pages-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses common deployment issues with Cloudflare Pages when using wrangler, such as multi-account selection errors, OAuth token issues, and wrangler.toml configuration mismatches.

Core Features & Use Cases

  • OAuth Token Management: Resolves 'More than one account available but unable to select one' and 403 Authentication errors due to multiple accounts in OAuth token.
  • wrangler.toml Configuration: Provides the correct wrangler.toml format for Cloudflare Pages, ensuring 'name' and 'pages_build_output_dir' fields are present.
  • Deployment Verification: Includes steps to verify deployment success and troubleshoot common pitfalls like CF Pages edge cache propagation delay.

Quick Start

Use the wrangler-pages-deploy skill to resolve deployment issues for your Cloudflare Pages site.

Frequently Asked Questions about wrangler-pages-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix the "More than one account available but unable to select one" error in Cloudflare Pages?

Fix this Cloudflare Pages OAuth error by updating your OAuth token management to specify a single active account, which resolves multi-account selection conflicts during wrangler deployments.

What should be included in wrangler.toml for Cloudflare Pages deployment?

A valid wrangler.toml configuration for Cloudflare Pages requires the 'name' field and the 'pages_build_output_dir' field to correctly route and deploy your website build output directory.

Why does my Cloudflare Pages deployment show a 403 Authentication error with wrangler?

A 403 Authentication error during Cloudflare Pages deployment indicates an OAuth token issue. Resolve it by refreshing the OAuth token and verifying single-account selection to restore wrangler authentication.

How do I verify a successful Cloudflare Pages deployment after using wrangler?

Verify Cloudflare Pages deployment success by reviewing wrangler output logs and testing the live URL, while accounting for potential CF Pages edge cache propagation delays that delay immediate content visibility.

Do I need a specific wrangler version to configure wrangler.toml for Cloudflare Pages?

Using wrangler for Cloudflare Pages requires the wrangler CLI and a properly configured wrangler.toml file containing the 'name' and 'pages_build_output_dir' fields to match Pages deployment specifications.