clerk-chrome-extension-patterns

clerk chrome extension patterns

clerk ↓ 7.7k
Claude Code
View source ↗

What it does

  • clerk-setup - Initial Clerk install
  • clerk-custom-ui - Custom flows & appearance

Requirements & configuration

  • Use this when you need OAuth, SAML, or want the extension to reflect sign-in from your web app.
  • .then((token) => sendResponse({ token }))
  • sendResponse({ token: null })
  • Requires hostpermissions for the sync host domain in package.json.
  • resolve(response?.token ?? null)

Configuration: CRX_PUBLIC_KEYPLASMO_PUBLIC_CLERK_SYNC_HOSTCLERK_FRONTEND_APIPLASMO_PUBLIC_

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

clerk chrome extension patterns

Source

Repository: https://github.com/clerk/skills

clerk-chrome-extension-patterns FAQ

What does the clerk-chrome-extension-patterns skill do?

Chrome Extension auth with @clerk/chrome-extension -- popup/sidepanel setup, syncHost for OAuth/SAML via web app, createClerkClient for service workers and headless extensions, stable CRX ID. Triggers on: Chrome extension auth, Plasmo clerk, popup sign-in, syncHost, background service worker token, createClerkClient, headless extension. clerk-setup - Initial Clerk install clerk-custom-ui - Custom flows & appearance

What does clerk-chrome-extension-patterns require?

Use this when you need OAuth, SAML, or want the extension to reflect sign-in from your web app. .then((token) => sendResponse({ token })) sendResponse({ token: null }) Requires hostpermissions for the sync host domain in package.json. resolve(response?.token ?? null) Configuration keys: CRX_PUBLIC_KEY, PLASMO_PUBLIC_CLERK_SYNC_HOST, CLERK_FRONTEND_API, PLASMO_PUBLIC_.

How do I install clerk-chrome-extension-patterns?

Run: npx -y skills add https://github.com/clerk/skills --skill clerk-chrome-extension-patterns --agent claude-code — the source lives at github.com/clerk/skills.

Maintain clerk-chrome-extension-patterns?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

clerk-chrome-extension-patterns on getagentictools
[![clerk-chrome-extension-patterns on getagentictools](https://getagentictools.com/badge/skills/clerk-skills-clerk-chrome-extension-patterns.svg)](https://getagentictools.com/skills/clerk-skills-clerk-chrome-extension-patterns?ref=badge)
npx agentictools info skills/clerk-skills-clerk-chrome-extension-patterns

The second line is the CLI lookup for this page — handy in READMEs and docs.