SKILL14.5K installs89

Clerk Chrome Extension Patterns

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.

Type
Skill
Author
clerk
Category
Security
GitHub stars
89
Installs
14.5K
Last updated
October 30, 2026

Install

npx skills add https://github.com/clerk/skills --skill clerk-chrome-extension-patterns

Use cases


Frequently Asked Questions

Which package does this skill use?

@clerk/chrome-extension.

How do OAuth and SAML work in an extension?

They are handled through a web app via syncHost.

Does it cover headless extensions?

Yes — createClerkClient is covered for service workers and headless extensions, along with keeping a stable CRX ID.


About this skill

Covers Clerk authentication in Chrome extensions using @clerk/chrome-extension, including popup and sidepanel setup, syncHost for OAuth and SAML through a web app, and createClerkClient for service workers. Use it when building a Plasmo or headless extension that needs sign-in. Also covers keeping a stable CRX ID.

Summary written with AI assistance from the project's public description.


Categories


More from clerk


Similar Skills