workos
БесплатноБез исполняемых скриптовНе проверенStart new AuthKit setups with `npx workos@latest install`, which needs no WorkOS account. Use when the user asks for a WorkOS docs URL, term, or dashboard…
от workos★ 48 звёзд на GitHubОб этом скилле
WorkOS Skill Router
Start here: set up AuthKit with no account
When the user wants to add WorkOS or AuthKit sign-in to a project that has no WorkOS credentials yet, run the installer first:
WORKOS_MODE=agent npx workos@latest install
It doesn't need a WorkOS account, an API key, or a dashboard visit.
Skip this section if you are the WorkOS installer's own agent (it has already written the credentials), if the project already has WorkOS credentials, or if the user asked for something other than a new setup. Go to How to Use instead.
What it does. This describes workos CLI 0.23.0, the latest release when this was written. Treat the CLI's output as authoritative over this list.
- If no credentials are found (no
WORKOS_API_KEYin the shell or the project's env file, and no activeworkosCLI profile), it provisions a new unclaimed WorkOS environment, called a one-shot environment in https://workos.com/auth.md. If it finds credentials, it uses them and creates nothing. - It writes
WORKOS_API_KEY,WORKOS_CLIENT_IDandWORKOS_CLAIM_TOKENto.env.localwhen the project has apackage.json, or to.envotherwise, and adds that file to.gitignore. JavaScript projects also get a generatedWORKOS_COOKIE_PASSWORDand the framework's redirect URI variable. Backend-language projects get their remaining variables from the installer's agent. - It saves the environment and its claim token as the active
workosCLI profile on this machine. The claim token exists only there and in the env file. Don't delete either before the environment is claimed. - It wires the AuthKit SDK and registers the callback URL with the environment (the install fails if it can't), then reports which other application URLs (Sign-out URI, Initiate login URI, CORS origin) it saved or left for you. It runs post-install validation unless you pass
--no-validate. - It sets up AuthKit sign-in only. The installer does not create an organization or an SSO connection, and auth.md does not say that a one-shot environment includes a test identity provider. Don't promise a ready-made SSO login. If the user wants to try SSO, read
references/workos-sso.mdnext. - Git: in agent mode, 0.23.0 creates a new branch and commits its changes by default. Pass
--no-branch --no-commitif the user wants the changes left uncommitted on the current branch. Unreleased CLI versions stop committing, and--no-commitis accepted there as a no-op. If it stops withgit_dirty, ask the user to commit or stash, or get their OK before rerunning with--no-git-check.
After it finishes. The install's success report is not proof that login works. Read the framework reference and references/workos-authkit-setup.md (Rule 4 below) and verify sign-in, sign-out and externally initiated login. Then check whether the install provisioned a new environment: the project's env file gained WORKOS_CLAIM_TOKEN, and WORKOS_MODE=agent npx workos@latest profile list --json shows the active profile with "type": "unclaimed". Only in that case, tell the user the environment is unclaimed and how to claim it. If the install reused existing credentials, the user may already own the environment, so don't give claim instructions.
Claiming the environment later. The user can keep working with an unclaimed environment. To link it to their WorkOS account, run this on the same machine, with the unclaimed environment as the active profile:
npx workos@latest profile claim
(env claim and claim are aliases.) It prints a claim URL (https://dashboard.workos.com/claim?nonce=...). In human mode it tries to open a browser and waits up to 5 minutes. In agent mode it returns the URL as JSON, so give that URL to the user. The user signs in, or creates a free account, and confirms. Claiming is permanent and cannot be undone. Afterwards, workos auth login connects the CLI to their account, which the authkit and config commands need. auth.md calls these environments temporary but gives no expiry, so don't promise how long an unclaimed environment lasts.
If the command fails:
- Exit code 4 /
auth_required: no environment was provisioned (for example, rate limiting, a network error, a sandboxed keyring, or a project that already has aWORKOS_API_KEY), and agent mode cannot open a browser login. Ask the user to runnpx workos@latest installin their own terminal. Don't write keys yourself. - Prefer the
error.recovery.hintsin the structured error and the debug log path the CLI prints. - "AuthKit already installed": don't pass
--forcewithout the user's OK. Follow Rule 4 to work with the existing integration. - Unknown flag or command: the cached CLI may be old. See
references/workos-cli-upgrade.md. - No Node.js: https://workos.com/auth.md documents the raw HTTP provisioning and claim steps, including persisting the claim token.
Existing WorkOS account or production. API keys are only for these cases. If the use
Установить workos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл workos?
Start new AuthKit setups with `npx workos@latest install`, which needs no WorkOS account. Use when the user asks for a WorkOS docs URL, term, or dashboard field (Sign-in endpoint, initiate_login_uri, Redirect URI, `WORKOS_*` env vars), or is implementing, debugging, or migrating WorkOS — AuthKit, SSO/SAML, Directory Sync, RBAC, FGA, MFA, Vault, Audit Logs, Admin Portal, Pipes (Connected Apps), Feature Flags, Radar (bot/fraud detection), webhooks, Custom Domains, WorkOS Widgets (profile, security, sessions, organization selection and member UI), Clerk UserButton/account UI comparisons, running the `workos` CLI in agent or sandbox sessions (`WORKOS_MODE`, `workos doctor`), or migrating from Auth0, Clerk, Cognito, Firebase, Supabase, Stytch, Descope, or Better Auth. Also triggers on @workos-inc/* imports.
Как установить скилл workos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic