Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

WorkOS CLI

$ workos Official Med Risk
WorkOS · Workspace & SaaS · Apache-2.0 · macos / linux / windows

WorkOS CLI (workos) analyzes web frameworks to scaffold AuthKit integrations, runs workos doctor diagnostics, manages environment configs, and installs WorkOS MCP/skills for coding agents. It supports headless environment overrides via WORKOS_ENVIRONMENTS_HEADLESS_API_KEY, though workos install is interactive and lacks --json.

FCRS-1.0 Score
76 /100
Good
Medium Confidence
Zero-Friction Install
brew install workos/tap/workos
CLI vs MCP Decision Hybrid (CLI + MCP)

Use workos doctor, workos install, and workos skills install locally, and pair with WorkOS's hosted MCP (workos mcp install) for API/SSO queries.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
✓ Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Supports headless env variables and workos skills/mcp installation, but install and env add are interactive and lack a global --json output flag.

  • Headless env overrides (WORKOS_ACTIVE_ENVIRONMENT=headless)
  • No global --json flag across subcommands
Trust & Safety 19 / 25

Separates Sandbox vs Production environments cleanly and keeps doctor and env list non-destructive.

  • Sandbox/Production environment separation
  • Read-only workos doctor diagnostics
Setup & Portability 13 / 15

Standalone native binary via Homebrew tap, GitHub releases, or thin npx workos launcher.

  • brew install workos/tap/workos and npm wrapper
Utility & Efficiency 12 / 15

Streamlines AuthKit framework setup, environment switching, and agent MCP/skill bootstrapping.

  • Includes install, doctor, env, mcp, and skills commands
Maintenance & Lineage 8 / 10

Official WorkOS CLI (workos/cli) maintained under Apache-2.0.

  • Official workos/cli GitHub repository
Docs & Verifiability 7 / 10

Clear documentation at workos.com/docs/cli plus built-in --help.

  • Official docs and GitHub README

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

Stores environment profiles and API keys in .workos.json, or runs headlessly when WORKOS_ACTIVE_ENVIRONMENT=headless and WORKOS_ENVIRONMENTS_HEADLESS_API_KEY are set.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; WorkOS AuthKit is free up to 1 million MAUs.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# WorkOS CLI Agent Rules
- Run `workos doctor` and `workos env list` to verify Sandbox vs Production before making changes.
- Use `WORKOS_ACTIVE_ENVIRONMENT=headless` with `WORKOS_ENVIRONMENTS_HEADLESS_API_KEY` in CI instead of interactive `workos auth login`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run AuthKit integration diagnostics
workos doctor

Checks local environment variables, redirect URIs, and AuthKit configuration mismatches.

List configured WorkOS environments
workos env list

Displays locally configured Sandbox and Production environment profiles.

Controlled Writes & Previews

Install WorkOS agent skills locally
workos skills install

Installs curated WorkOS AuthKit skill instructions for local coding agents.

Strengths for Agents

  • + Supports headless CI overrides via WORKOS_ACTIVE_ENVIRONMENT=headless.
  • + Ships first-party workos mcp install and workos skills install for coding agents.

Caveats & Pitfalls

  • ! Lacks --json output formatting and --dry-run on scaffolding commands.
  • ! workos install and workos env add are designed primarily for interactive developer terminals.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI