/workos:workos-widgetsfrom workos
Helps implement, embed, or debug WorkOS Widgets (User Management, User Profile, Admin Portal SSO/Domain Verification) across frontend frameworks and backend SDKs. Handles stack detection, token generation, and component wiring.
Ships in workos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
UserButton / account requests, recommend actual Widgets plus an app-specific menu/navigation shell, not exact parity; UserSecurity, UserSessions and OrganizationSwitcher are covered in references/component-setup.md.user-management, user-profile, admin-portal-sso-connection, admin-portal-domain-verification).WORKOS_MODE=agent npx workos@latest install, wait for confirmation, then continue.Always load these core references:
For React/TypeScript stacks (Next.js, React Router, TanStack Router, TanStack Start, Vite), also load:
Load stack-specific reference guidance:
For profile/security/sessions/organization selection in a React-rendered UI, use component-setup.md. Published Widgets are React components: do not import them into .svelte or other non-React templates. For SvelteKit or another non-React frontend, use only an existing React rendering boundary; otherwise ask whether to add one or build a custom UI against the Client API. Additionally load the relevant widget reference when applicable (these describe desired behavior, not a mandate to rebuild published components):
POST /client/graphql. Read references/fetching-apis.md for the boundary. The bundled REST spec is a legacy snapshot, not authoritative for all current requests; do not regenerate or migrate API layers just to add a component.@workos-inc/widgets components (UsersManagement, UserProfile, AdminPortalSsoConnection, ...), they must sit inside <WorkOsWidgets>, need the peer deps @radix-ui/themes and @tanstack/react-query, and take authToken (a string or () => Promise<string>), not accessToken.WORKOS_MODE=agent keeps the installer deterministic (no prompts, no browser, no host-trust); pass --json when you need to parse its output.createToken and { token }, bound to the authenticated user and authorized organization. Other installed versions/languages are checked independently.UserSessions' string/getter authToken union and OrganizationSwitcher's callback; respect permission and renewal requirements.variant, size, etc.), not overridden with className/style.references/component-setup.md (opens in a new tab)references/detection.md (opens in a new tab)references/fetching-apis.md (opens in a new tab)references/framework-go.md (opens in a new tab)references/framework-java.md (opens in a new tab)references/framework-mixed-repositories.md (opens in a new tab)references/framework-nextjs.md (opens in a new tab)references/framework-php.md (opens in a new tab)references/framework-python.md (opens in a new tab)references/framework-react-router.md (opens in a new tab)references/framework-ruby.md (opens in a new tab)references/framework-sveltekit.md (opens in a new tab)references/framework-tanstack-router.md (opens in a new tab)references/framework-tanstack-start.md (opens in a new tab)references/framework-vite.md (opens in a new tab)references/react-ts-standards.md (opens in a new tab)references/scripts/query-spec.cjs (opens in a new tab)references/scripts/query-spec.ts (opens in a new tab)references/styling-and-components.md (opens in a new tab)references/token-strategies.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub workos/skills --plugin workosOther plugins' skills for the same job