← ClaudeAtlas

vercel-deployment-password-gatelisted

A free DIY reimplementation of Vercel's $150/mo Advanced Deployment Protection add-on — all three features (Password Protection, private/prod deployments, Deployment Protection Exceptions) plus named automation bypass tokens — a middleware gate for ANY framework on Vercel (Next.js proxy, or SvelteKit/Nuxt/Astro/Remix/static via Routing Middleware). Gates previews by default, production opt-in; fully branded unlock page; zero prod cost. Use when asked to password-protect or basic-auth a preview/staging URL, avoid or cancel that add-on, password-protect on a Hobby plan, brand/white-label a password wall, add a login that "shows once and stays unlocked", set or ROTATE the password, add/remove bypass tokens for CI or automation (Lighthouse, uptime), make one preview domain public, protect previews on an app with NO existing middleware, gate a production or pre-launch site with a shared password (coming-soon, client demo, internal tool), or choose between a DIY gate and Vercel Authentication (free team SSO).
stealth-engine/skills · ★ 2 · Web & Frontend · score 76
Install: claude install-skill stealth-engine/skills
# Vercel deployment password gate A free, portable password wall for **preview deployments by default** — and for **production too, opt-in** (see "Gating production too"). Humans see a brandable unlock form once (a signed 1-year cookie keeps them in); automation passes with named bypass tokens via header or query parameter. In the default preview-only posture, production ships **no middleware function at all** (Mode B) or a one-boolean short-circuit (Mode A), so the gate's production cost is zero. Only a **scrypt hash** of the password is stored; unlock cookies are keyed per-credential, so rotating the password or removing a bypass token revokes exactly the cookies it issued. ## What this reimplements A free, DIY reimplementation of Vercel's **Advanced Deployment Protection** add-on — **$150/mo on Pro** (30-day minimum before you can cancel), included on Enterprise, and apparently **not sold on Hobby at all** — rebuilt in one middleware file. Vercel bundles three features into the add-on — **all three are supported here**: | Advanced Deployment Protection | This skill | | --- | --- | | **Password Protection** | ✅ Unlock form + `DEPLOY_GATE_PASSWORD_HASH` (scrypt), mirroring the platform's semantics: enter once per deployment URL, and changing the password invalidates the cookies it issued. One difference: Vercel's change takes effect on existing deployments immediately; ours applies to new builds, so redeploy to revoke now. | | **Private Production Deployments** (password