Site Pin Gate — Development skill for Claude Code
Agent Skill: put a shared-PIN gate in front of a whole Next.js site from proxy.ts or middleware.ts — one env var arms it, a self-contained unlock page sets an HMAC-derived HttpOnly cookie, origin-reso.
How to install Site Pin Gate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open timerise-ai/site-pin-gate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Site Pin Gate does
Agent Skill: put a shared-PIN gate in front of a whole Next.js site from proxy.ts or middleware.ts — one env var arms it, a self-contained unlock page sets an HMAC-derived HttpOnly cookie, origin-resolved return path, 303 unlock redirect, constant-time compares, attempt budget answering 429 with Retry-After — in Next.js App Router
Alternatives in Development
- CORS — Scan an endpoint for CORS misconfiguration — arbitrary-origin reflection, null-origin trust, credential exposu 4.5k ★
- Openwolf — Sharper context 699 ★
- Solopreneur Başlangıç Rehberi — 989 skill var 248 ★
README
site-pin-gate
[](https://agentskills.io) [](https://www.skills.sh) [](https://docs.claude.com/en/docs/claude-code/skills) [](https://developers.openai.com/codex/skills) [](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/skills.md)
An [Agent Skill](https://agentskills.io) that teaches an agent to put a shared-PIN gate in front of an entire **Next.js App Router** site from the proxy or middleware layer: one env var arms it, a self-contained unlock page sets an HMAC-derived `HttpOnly` cookie, and the app behind it stays untouched. Unset the variable and the gate is gone.
**Everything dangerous in a gate lives in the two places it touches the outside world: the return path it redirects to, and the cookie it hands out.** The rest is a form and a cookie check. Get those two right and one shared PIN is a complete answer for the weeks before a launch, a client or investor preview, or a staging domain: everyone who should see the site can be told the PIN, and nobody else, crawlers included, sees anything but a 401 page. It is not user authentication and not per-route authorization, because a shared PIN cannot be revoked for one person.
This skill was written by the engineer who has shipped this module. The earlier implementation it was audited against was a temporary gate on a marketing site kept private ahead of its launch. The templates hold the properties a gate has to hold: an unlock that can only return to the site's own origin, a redirect the browser follows as a GET so the PIN is never sent twice, a cookie that is opaque to anyone without the server's secret, comparisons that take the sa
Related Skills
Clawed Apps
Clawed Apps, a Claude Code plugin: put an app you built with Claude Code in front of people without anyone hol
Resume Fleet
Auto-resume a fleet of Claude Code CLI sessions that hit the usage limit. A hands-off launchd daemon (recommen
Technical Cofounder
Your technical cofounder and his senior dev team: a fleet of variable agent loadouts with complementary suppor
Dsh Agent Relay
Local multi-agent collaboration relay for DeepSeek Harness — HMAC-authenticated loopback message broker for ds
Ldd Autonomy Ack
Pre-grant, list, check, or revoke autonomy acks so architect-mode's creativity=inventive can fire in autonomou
Verify Chain
Verify the full receipt chain offline — structure (single unbroken chain from GENESIS, content hashes) and eve
Related Agents
API Platform Reviewer
API platform / dev-API pre-implementation reviewer. Specialises in rate-limit design (token-bucket / sliding-w
Trisakion Security Audit Agent
보안 취약점(trisakion-dev-convention-skill 14장) — S2S HMAC 인증(14.1), SQL Injection(14.2), 비밀번호 저장(14.3), XSS/CSRF/h
POC Engineer
Given a confirmed finding + its context worksheet, produces the smallest self-contained crate that reproduces