Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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_KEY in the shell or the project's env file, and no active workos CLI 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_ID and WORKOS_CLAIM_TOKEN to .env.local when the project has a package.json, or to .env otherwise, and adds that file to .gitignore. JavaScript projects also get a generated WORKOS_COOKIE_PASSWORD and 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 workos CLI 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.md next.
  • Git: in agent mode, 0.23.0 creates a new branch and commits its changes by default. Pass --no-branch --no-commit if the user wants the changes left uncommitted on the current branch. Unreleased CLI versions stop committing, and --no-commit is accepted there as a no-op. If it stops with git_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 a WORKOS_API_KEY), and agent mode cannot open a browser login. Ask the user to run npx workos@latest install in their own terminal. Don't write keys yourself.
  • Prefer the error.recovery.hints in the structured error and the debug log path the CLI prints.
  • "AuthKit already installed": don't pass --force without 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

Полный SKILL.md на GitHub

Установить workos в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonreferences/workos-admin-portal.mdreferences/workos-api-authkit.mdreferences/workos-api-organization.mdreferences/workos-audit-logs.mdreferences/workos-authkit-base.mdreferences/workos-authkit-nextjs.mdreferences/workos-authkit-react-router.mdreferences/workos-authkit-react.mdreferences/workos-authkit-setup.mdreferences/workos-authkit-sveltekit.mdreferences/workos-authkit-tanstack-start.mdreferences/workos-authkit-vanilla-js.mdreferences/workos-cli-upgrade.mdreferences/workos-custom-domains.mdreferences/workos-directory-sync.mdreferences/workos-dotnet.mdreferences/workos-elixir.mdreferences/workos-email.mdreferences/workos-events.mdreferences/workos-feature-flags.mdreferences/workos-fga.mdreferences/workos-go.mdreferences/workos-integrations.mdreferences/workos-kotlin.mdreferences/workos-management.mdreferences/workos-mcp.mdreferences/workos-mfa.mdreferences/workos-migrate-auth0.mdreferences/workos-migrate-aws-cognito.mdreferences/workos-migrate-better-auth.mdreferences/workos-migrate-clerk.mdreferences/workos-migrate-descope.mdreferences/workos-migrate-firebase.mdreferences/workos-migrate-other-services.mdreferences/workos-migrate-stytch.mdreferences/workos-migrate-supabase-auth.mdreferences/workos-migrate-the-standalone-sso-api.mdreferences/workos-node.mdreferences/workos-php-laravel.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить workos с