workos-setup
Installation
SKILL.md
Set up WorkOS
The WorkOS CLI adds AuthKit sign-in to a project. When it finds no WorkOS credentials, it provisions a temporary WorkOS environment, so the user doesn't need a WorkOS account to start. They can claim the environment into their account later.
Before you start
Tell the user what you will do and wait for a yes:
- Add WorkOS AuthKit sign-in to this project, or scaffold a new Next.js app if the directory is empty.
- Use the project's existing WorkOS credentials if it has them. Otherwise, create a temporary WorkOS environment they can claim later.
If the project already uses a different auth provider, stop and agree on a migration plan before changing anything. Don't remove existing auth without approval.