$npx skillfedfor your agent

Clerk Chrome Extension Patterns

This skill covers authentication patterns for Chrome extensions built with Clerk, including popup and side panel UIs, OAuth delegation via syncHost, and service worker token management. Learn which auth methods work in each extension context, configure stable extension IDs, and handle session syncing with your web app.

Clerk Chrome Extension Patterns teaches you to add Clerk authentication to Chrome extensions using popup, side panel, or headless setups.

AI-generated summary based on this skill's SKILL.md

63 4 unlicensed, metadata onlyupdated by clerk

Decision gist · record as of 2026-07-23

Clerk Chrome Extension Patterns teaches you to add Clerk authentication to Chrome extensions using popup, side panel, or headless setups. This skill covers authentication patterns for Chrome extensions built with Clerk, including popup and side panel UIs, OAuth delegation via syncHost, and service worker token management. Learn which auth methods work in each extension context, configure stable extension IDs, and handle session syncing with your web app.

manual: git clone https://github.com/clerk/skills → cp -r skills ~/.claude/skills/clerk-chrome-extension-patterns

Use it when

  • Clerk Chrome Extension Patterns teaches architectural best practices including proper OAuth delegation setup.
  • Clerk Chrome Extension Patterns explains that different extension contexts require different auth approaches.
Same gist for agents: .md · .json

Install

clerk/skills/clerk-chrome-extension-patterns · repository language: Shell

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I add Clerk to a Chrome extension?

Clerk Chrome Extension Patterns provides guidance on integrating Clerk authentication into your Chrome extension. The skill covers popup and side panel UI approaches, OAuth delegation via syncHost, and service worker token management. Start by configuring a stable extension ID, then choose your UI pattern based on whether you need a popup interface or persistent side panel. Clerk handles session syncing between your extension and web app automatically.

What are the best practices for Clerk in Chrome extensions?

Clerk Chrome Extension Patterns teaches architectural best practices including proper OAuth delegation setup, secure token handling in service workers, and session synchronization strategies. Key practices include using syncHost for OAuth flows, managing tokens safely outside the main thread, and aligning your extension's auth state with your web application. The skill emphasizes context-aware auth methods for popup versus side panel UIs.

Which authentication methods work in each Chrome extension context?

Clerk Chrome Extension Patterns explains that different extension contexts require different auth approaches. Popup UIs and side panels have distinct constraints; Clerk's patterns guide you on which methods work best in each. The skill covers OAuth delegation via syncHost as a primary pattern, service worker token management for background operations, and maintaining session state across extension contexts while staying synchronized with your main web app.

How do I configure Clerk extension setup and stable IDs?

Clerk Chrome Extension Patterns covers configuration and setup guidance including how to establish a stable extension ID, which is essential for consistent OAuth redirects and session management. The skill walks through the setup process step-by-step, ensuring your extension ID remains constant across deployments so Clerk can reliably route authentication callbacks and maintain user sessions.

What implementation examples does Clerk provide for extensions?

Clerk Chrome Extension Patterns includes concrete code examples demonstrating popup and side panel authentication flows, OAuth delegation patterns, and service worker token handling. These examples show how to integrate Clerk into real Chrome extensions, handle session syncing with your web app, and implement secure token management. The skill provides working patterns you can adapt to your extension architecture.

How do I handle session syncing between extension and web app?

Clerk Chrome Extension Patterns teaches session synchronization strategies that keep your extension's auth state aligned with your main web application. The skill covers how Clerk automatically syncs sessions, manages token lifecycle in service workers, and handles OAuth flows through syncHost. This ensures users remain authenticated consistently across both your extension and web app without manual session management.

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn how to integrate Clerk authentication into Chrome extensions”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Clerk React Patterns
by clerk · clerk/skills

Master authentication in React single-page apps with Clerk's @clerk/react library. This skill covers ClerkProvider initialization, essential hooks like useAuth and useUser, protecting routes with React Router, and building custom sign-in experiences. Get patterns for token retrieval, loading states, and common setup mistakes.

no license declared → metadata onlyupdated Jul 2026
★ 63repo stars
Clerk Expo
by clerk · clerk/skills

Clerk Expo integrates authentication into Expo and React Native projects via prebuilt native components or custom flows. Support includes email/password, SMS/phone OTP, MFA, OAuth/SSO, native Google/Apple sign-in, protected routes, biometrics, and push notifications.

no license declared → metadata onlyupdated Jul 2026
★ 63repo stars
Clerk Vue Patterns
by clerk · clerk/skills

Clerk Vue Patterns teaches you how to build authenticated Vue 3 apps using Clerk's composables—useAuth, useUser, useClerk, and useOrganization—plus Vue Router guards and Pinia store setup. Covers common pitfalls and org switching workflows.

no license declared → metadata onlyupdated Jul 2026
★ 63repo stars
Clerk Setup
by clerk · clerk/skills

Clerk Setup guides you through adding Clerk authentication to any project by detecting your framework and following official quickstart instructions. The skill supports CLI-driven provisioning for new and existing apps, automatic key generation via Keyless, or manual Dashboard configuration. It covers Next.js, React, Vue, Nuxt, Astro, React Router, TanStack Start, Express, Fastify, Expo, and other platforms.

no license declared → metadata onlyupdated Jul 2026
★ 63repo stars
Integrating Clerk Expo
by tristanmanchester · tristanmanchester/agent-skills

Add Clerk authentication to Expo apps using @clerk/clerk-expo with secure token storage via Expo SecureStore. Build custom sign-in and sign-up screens, protect routes with Expo Router or React Navigation, and integrate OAuth, SSO, and Apple Sign-in for iOS.

no license declared → metadata onlyupdated Jun 2026
★ 2repo stars
Clerk Webhooks
by clerk · clerk/skills

Build event-driven features by listening to Clerk authentication and organization events through webhooks. Verify every webhook using the framework-specific verifyWebhook function, then sync data to your database, send notifications, or trigger downstream integrations. Complete working examples show how to handle user lifecycle events, organization membership changes, and multi-service workflows like welcome emails and Slack alerts.

no license declared → metadata onlyupdated Jul 2026
★ 63repo stars

More skills Clerk Tanstack Patterns (unlicensed) · Clerk React Router Patterns (unlicensed) · Clerk Android (unlicensed) · App Builder (unlicensed) · templates (MIT)

Tags
browser-extension-authidentity-integrationextension-developmentauthentication-patternschrome-plugin-guide