适用于AI编码代理的WorkOS技能。两项技能和40个参考文件,涵盖AuthKit、SSO、目录同步、RBAC、Vault、迁移、后端SDK等。
概览
适用于AI编码代理的WorkOS技能。两项技能和40个参考文件,涵盖AuthKit、SSO、目录同步、RBAC、Vault、迁移、后端SDK等。 这会安装两个技能:workos 和 workos-widgets。workos 技能作为路由器,自动加载你的任务所需的正确引用(AuthKit 设置、单点登录、迁移等),所以你不需要单独安装引用。 支持Claude Code、Codex、Goose以及任何支持 skills.sh 格式的代理。 从光标市场安装(搜索“WorkOS”),或本地克隆并关联符号链接——详见下方的本地开发部分。 对于对技能/参考内容的程序访问(例如,来自WorkOS CLI): 路径辅助工具也适用于需要文件路径的消费者(例如技能发现): 其他所有内容都是参考文献/。路由器通过渐进披露向正确的参考分发。 参考不是独立的技能。它们会根据你的任务自动加载 Workos 技能。
概述(AI 翻译)
适用于AI编码代理的WorkOS技能。两项技能和40个参考文件,涵盖AuthKit、SSO、目录同步、RBAC、Vault、迁移、后端SDK等。
安装为 Claude Code 插件
这会安装两个技能:workos 和 workos-widgets。workos 技能作为路由器,自动加载适合你任务的引用(AuthKit 设置、单点登录、迁移等),所以你不需要单独安装引用。
支持Claude Code、Codex、Goose以及任何支持 skills.sh 格式的代理。
安装为光标插件
从光标市场安装(搜索“WorkOS”),或本地克隆并关联符号链接——详见下方的本地开发部分。
安装为npm包
对于对技能/参考内容的程序访问(例如,来自WorkOS CLI):
路径辅助工具也适用于需要文件路径的消费者(例如技能发现):
出口
| 功能 | 返回 |
|---|---|
getReference(name) |
Promise — 参考文件内容 |
getSkill(skillName) |
Promise — 技能 SKILL.md 内容 |
getReferencePath(name) |
绝对路径 references/{name}.md |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
@workos/skills
WorkOS skills for AI coding agents. Two skills and 40 reference files covering AuthKit, SSO, Directory Sync, RBAC, Vault, Migrations, backend SDKs, and more.
Install as Claude Code Plugin
npx skills add workos/skills
This installs two skills: workos and workos-widgets. The workos skill acts as a router that automatically loads the right reference for your task (AuthKit setup, SSO, migrations, etc.) so you don’t need to install references individually.
Works with Claude Code, Codex, Goose, and any agent that supports the skills.sh format.
Install as Cursor Plugin
Install from the Cursor Marketplace (search “WorkOS”), or clone and symlink locally — see Local Development below.
Install as npm Package
For programmatic access to skill/reference content (e.g., from the WorkOS CLI):
npm install @workos/skills
import { getReference, getSkill } from '@workos/skills';
// Read reference content directly
const content = await getReference('workos-authkit-nextjs');
// Read a skill's SKILL.md content
const router = await getSkill('workos');
Path helpers are also available for consumers that need file paths (e.g., skill discovery):
import { getReferencePath, getSkillsDir, getSkillPath } from '@workos/skills';
const refPath = getReferencePath('workos-authkit-nextjs'); // absolute path to .md file
const skillsDir = getSkillsDir(); // directory containing workos/ and workos-widgets/
const skillPath = getSkillPath('workos'); // absolute path to SKILL.md
Exports
| Function | Returns |
|---|---|
getReference(name) |
Promise — reference file content |
getSkill(skillName) |
Promise — skill SKILL.md content |
getReferencePath(name) |
Absolute path to references/{name}.md |
getSkillsDir() |
Absolute path to the skills/ directory |
getSkillPath(skillName) |
Absolute path to skills/{skillName}/SKILL.md |
Skills
Two registered skills:
| Skill | Description |
|---|---|
workos |
Router — identifies which reference to load based on the user’s task |
workos-widgets |
Multi-framework widget integration with on-demand OpenAPI spec querying |
Everything else is a reference file under references/. The router dispatches to the right reference via progressive disclosure.
References
Note: References are not standalone skills. They are loaded automatically by the
workosskill based on your task. You do not need to install them individually.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add workos/skills