Borrowing it
Nothing to install: this file belongs to praveenjuge/teak. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/praveenjuge/teak/main/.agents/skills/workos/SKILL.mdgit clone --depth 1 https://github.com/praveenjuge/teakWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/praveenjuge/teak/workos)<a href="https://agentmods.dev/skills/praveenjuge/teak/workos"><img src="https://agentmods.dev/badge/skills/praveenjuge/teak/workos/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/praveenjuge/teak/workos"><img src="https://agentmods.dev/badge/skills/praveenjuge/teak/workos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00159 | $0.05993 |
| Opus 5.5 | $0.00064 | $0.02397 |
| Sonnet 5.5 | $0.00032 | $0.01199 |
| Haiku 4.5 | $0.00016 | $0.00599 |
Grade A, and why
workos scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
92% identical to workos — 136 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WorkOS Skill Router
How to Use
This file is a router, NOT the answer. Before responding to the user:
- Match the request to a reference file using Rule 0 and the decision tree below.
- You MUST Read the matched reference file with the Read tool before producing any answer, URL, or code. If you have not Read a reference, you have not followed this skill.
- Follow the instructions inside the reference (it will tell you which live docs to fetch with WebFetch and which gotchas to avoid).
Exception: Widget requests use the workos-widgets skill via the Skill tool — it has its own multi-framework orchestration.
Guardrails (apply to every response)
These apply regardless of which routing rule fires. They exist because the most common failure mode of past WorkOS agent interactions has been plausibly-shaped fabrication of CLI commands and Dashboard paths.
- Check for the WorkOS MCP server before reaching for the CLI on workspace-management tasks. If the session has WorkOS MCP tools connected (a server exposing
whoami,list_operations,query, andmutate— tool names may carry a client-specific prefix), prefer those tools for reading and changing workspace resources: they already run as the signed-in dashboard user, with no CLI install and no API key. The CLI remains the right surface for bootstrap, seeding, local project config, and diagnostics. The full decision guide is the "Choosing a surface" section ofreferences/workos-management.md. - Recover a broken WorkOS MCP connection before relying on it — but never treat MCP setup as a prerequisite for CLI work. When the user asks to set up the WorkOS MCP server, or expects MCP tools that turn out to be missing, unauthenticated, or interrupted during startup, read
references/workos-mcp.mdfirst: identify the MCP client and requested configuration scope, and do not modify user-global agent configuration without explicit intent. Authentication that depends on a browser, credential store, or host certificates must be completed in the user's normal host shell. If no MCP server is configured and the user hasn't asked for one, do not divert the request into MCP setup — the CLI path inreferences/workos-management.mdfully supports it. - Never invent
workosCLI commands. Verify named commands withWORKOS_MODE=agent workos --help --json. Before declaring an operation unsupported, also checkWORKOS_MODE=agent workos api ls --jsonfor REST endpoints usable throughworkos api. Do not assume acreatesubcommand exists becauselist/get/deletedo, or that a GraphQL operation is a REST endpoint. Seereferences/workos-management.md. - Every AuthKit integration must configure and verify application URLs. For setup and migrations, read
references/workos-authkit-setup.mdalongside the framework or language reference. It covers the redirect destination (not necessarily a server callback handler), Sign-out URI, and Initiate login URI. A build passing is not proof that these settings or flows work. - Prefer
WORKOS_MODE=agentwhen invoking theworkosCLI from a coding-agent session. The CLI auto-detects most agent environments (CLAUDECODE,CLAUDE_CODE,CURSOR_AGENT,CODEX_SANDBOX, non-TTY), but the explicit env var is more reliable across sandbox configurations. See the WorkOS CLI in Coding-Agent Sessions section below. - Never invent Dashboard click-paths. Phrases like "Dashboard > Organizations > X > Roles > Map Groups" or
dashboard.workos.com/some/specific/pathshould not appear unless you have verified them against a docs page you just fetched. The Dashboard UI reorganizes; docs pages are stable. Cite the docs URL and describe the destination conceptually ("the Authorization page", "the directory's settings") instead of committing to a click-path. - When the user wants to do something not supported by the CLI, say so plainly. Users are better served by "this isn't in the CLI; here's the docs URL for how to do it" than by a fabricated command that fails. See the "Not in the CLI" section of
references/workos-management.md. - Prefer docs URLs over prose when writing recipes. If a reference file tells you to cite a specific docs URL, cite it literally; don't paraphrase the URL's slug.
What ships with it
49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 21 KB
- references/workos-admin-portal.md 1.7 KB
- references/workos-api-authkit.md 14 KB
- references/workos-api-organization.md 1009 B
- references/workos-audit-logs.md 2.5 KB
- references/workos-authkit-base.md 7.2 KB
- references/workos-authkit-nextjs.md 17 KB
- references/workos-authkit-react-router.md 7.5 KB
- references/workos-authkit-react.md 7.4 KB
- references/workos-authkit-setup.md 14 KB
- references/workos-authkit-sveltekit.md 7.3 KB
- references/workos-authkit-tanstack-start.md 9.5 KB
- references/workos-authkit-vanilla-js.md 6.5 KB
- references/workos-cli-upgrade.md 3.5 KB
- references/workos-custom-domains.md 1.6 KB
- references/workos-directory-sync.md 4.0 KB
- references/workos-dotnet.md 4.3 KB
- references/workos-elixir.md 6.5 KB
- references/workos-email.md 1.2 KB
- references/workos-events.md 1.5 KB
- references/workos-feature-flags.md 2.4 KB
- references/workos-fga.md 3.8 KB
- references/workos-go.md 6.8 KB
- references/workos-integrations.md 17 KB
- references/workos-kotlin.md 6.1 KB
- references/workos-management.md 31 KB
- references/workos-mcp.md 3.4 KB
- references/workos-mfa.md 1.2 KB
- references/workos-migrate-auth0.md 916 B
- references/workos-migrate-aws-cognito.md 1.1 KB
- references/workos-migrate-better-auth.md 933 B
- references/workos-migrate-clerk.md 1016 B
- references/workos-migrate-descope.md 783 B
- references/workos-migrate-firebase.md 1.3 KB
- references/workos-migrate-other-services.md 1.3 KB
- references/workos-migrate-stytch.md 1.1 KB
- references/workos-migrate-supabase-auth.md 971 B
- references/workos-migrate-the-standalone-sso-api.md 1.4 KB
- references/workos-node.md 6.3 KB
- references/workos-php-laravel.md 5.4 KB
- references/workos-php.md 4.5 KB
- references/workos-pipes.md 2.4 KB
- references/workos-python.md 6.4 KB
- references/workos-radar.md 3.0 KB
- references/workos-rbac.md 6.9 KB
- references/workos-ruby.md 5.7 KB
- references/workos-sso.md 5.6 KB
- references/workos-terms.md 6.7 KB
- references/workos-vault.md 2.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 363 lines · 159 tokens per session scan A 2e05fc178126
workos is a skill published in the GitHub repository praveenjuge/teak (25 stars, last pushed today), licensed MIT. It adds 159 tokens to every session and 5,993 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to workos, differing in 136 lines, and is treated as a copy.
Other skills, from other repositories
wegent-knowledge
Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.
design-mcp-server
Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.
add-tool
Scaffold a new MCP tool definition. Use when the user asks to add a tool, create a new tool, or implement a new capability for the server.
api-context
Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.clientCapabilities, ctx.enrich, ctx.content), and when to use each.
api-errors
McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.
api-telemetry
Catalog of OpenTelemetry instrumentation built into framework @cyanheads/mcp-ts-core — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up…