wrangler-accounts

Isolate Cloudflare Wrangler accounts per profile using shadow HOME environments.

2|1|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/leeguooooo/wrangler-accounts --skill wrangler-accounts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler-accounts
Source: https://github.com/leeguooooo/wrangler-accounts/tree/main/plugins/wrangler-accounts/skills/wrangler-accounts
Command: npx skills add https://github.com/leeguooooo/wrangler-accounts --skill wrangler-accounts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

wrangler-accounts runs Wrangler under per-invocation shadow HOME isolation, allowing multiple shells to operate on different Cloudflare accounts in parallel without clobbering global state.

Core Features & Use Cases

  • Isolates credentials per-profile with a shadow HOME and per-profile cache directory to prevent cross-profile leakage.
  • Supports per-profile management commands (login, token-add, list, default, exec, remove, and deploy) and one-shot profile usage for parallel workflows.
  • Enables deploying, testing, and developing against multiple accounts in a single workspace without interference.

Quick Start

Use wrangler-accounts to deploy a worker to the work account by running wrangler-accounts --profile work deploy.

Frequently Asked Questions about wrangler-accounts

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

FAQPage Schema
How do I run wrangler commands across multiple Cloudflare accounts in parallel?

Run wrangler commands across multiple Cloudflare accounts by isolating per-profile environments using a shadow HOME and per-profile cache. This enables different shells to operate on separate accounts in parallel without clobbering global state.

How do I deploy a worker to a specific Cloudflare account profile?

Deploy a worker to a specific Cloudflare account profile by executing a one-shot profile command like `wrangler-accounts --profile work deploy`. This targets the designated profile without cross-profile interference.

Why does my wrangler login keep overwriting credentials when I switch accounts?

Wrangler overwrites credentials because it defaults to a single global state. Using a per-profile shadow HOME isolates the login context, preventing cross-profile leakage and credential clobbering when switching accounts.

Do I need the wrangler binary installed to use wrangler-accounts?

Yes, you need the wrangler binary available on your system PATH to use wrangler-accounts. The tool isolates per-profile environments but relies on the existing wrangler binary to execute the actual Cloudflare commands.

Can I manage login and token credentials for isolated wrangler profiles?

Yes, you can manage login and token credentials for isolated wrangler profiles. The tool supports per-profile management commands including login, token-add, list, default, exec, remove, and deploy to keep account context separated.