From workos
Integrates WorkOS Widgets for User Management, User Profile, Admin Portal SSO Connection, and Domain Verification into Next.js, React Router, SvelteKit, Ruby, Python, Go, PHP, Java apps. Detects stack, auth flows, and implements with OpenAPI spec.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workos:workos-widgetsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. Identify widget target from the user request (`user-management`, `user-profile`, `admin-portal-sso-connection`, `admin-portal-domain-verification`).
references/detection.mdreferences/fetching-apis.mdreferences/framework-go.mdreferences/framework-java.mdreferences/framework-mixed-repositories.mdreferences/framework-nextjs.mdreferences/framework-php.mdreferences/framework-python.mdreferences/framework-react-router.mdreferences/framework-ruby.mdreferences/framework-sveltekit.mdreferences/framework-tanstack-router.mdreferences/framework-tanstack-start.mdreferences/framework-vite.mdreferences/react-ts-standards.mdreferences/scripts/query-spec.cjsreferences/scripts/query-spec.tsreferences/styling-and-components.mdreferences/token-strategies.mdreferences/widget-admin-portal-domain-verification.mduser-management, user-profile, admin-portal-sso-connection, admin-portal-domain-verification).npx workos@latest install, wait for confirmation, then continue.Accept these inputs from the user request when available:
When input is missing, infer from existing project conventions and detected stack.
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:
Then load exactly one widget reference:
node references/scripts/query-spec.cjs --widget <widget-name>
Use --list to see available widget groups.fetch/HTTP calls (or equivalent server HTTP client) for endpoint calls.npx workos@latest install before continuing.Before finishing, verify all relevant items:
accessToken: string when component-level integration is in scope.className or style props to override its built-in styling. Use each component as-is or via its own props API (variant, size, etc.).npx claudepluginhub workos/skills --plugin workosRoutes to WorkOS references for implementing, debugging authentication like SSO, SAML, MFA, RBAC, Directory Sync, and SDKs across Next.js, React, Node.js, Python, PHP.
Sets up Microsoft Entra ID login/logout authentication and role-based authorization for Power Pages code sites. Creates framework-specific auth services, UI components, and access controls.
Use when adding authentication or login to any app - detects your stack (React, Next.js, Vue, Nuxt, Angular, Express, Fastify, FastAPI, ASP.NET Core, React Native, Expo, Android, Swift), sets up an Auth0 account if needed, and routes to the correct SDK setup workflow.