skills/setup-scalekit/SKILL.md
Use when a developer is new to Scalekit and needs guidance on where to start, doesn't know which auth plugin or skill to choose, wants to connect an AI agent or agentic workflow to third-party services (Gmail, Slack, Notion, Google Calendar), needs OAuth or tool-calling auth for agents, wants to add authentication to a project but hasn't chosen an approach yet, or needs to install the Scalekit plugin for their AI coding tool (Claude Code, Codex, Copilot CLI, Cursor, or other agents).
npx skillsauth add scalekit-inc/skills setup-scalekitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Important: This skill guides you through installing Scalekit yourself. You'll execute the commands and make the choices — the AI assistant is here to provide clear instructions and answer questions along the way.
First, identify which AI coding tool you're using. If you're not sure, check your current environment or tell the assistant what tool you're working in.
Then find the matching section below for your tool.
Review the table below and select the plugin that matches what you're building:
| Plugin name | When to use |
|-------------|-------------|
| agent-auth | AI agent needs OAuth access to third-party services (Gmail, Slack, Notion, etc.) |
| full-stack-auth | Web app needs login, signup, sessions, and RBAC |
| mcp-auth | Building an MCP server that needs OAuth 2.1 to secure its tools |
| modular-sso | Adding enterprise SSO to an existing app without replacing its auth |
| modular-scim | Automated user provisioning and deprovisioning via directory sync |
You'll use this plugin name in the install commands in the next step.
When setting up Scalekit, you (the user) should:
The AI assistant can:
You remain in control of executing commands and making changes to your environment.
Run these commands inside Claude Code (the REPL prompt, not the terminal):
/plugin marketplace add scalekit-inc/claude-code-authstack
# Pick one based on your auth needs:
/plugin install agent-auth@scalekit-auth-stack
/plugin install full-stack-auth@scalekit-auth-stack
/plugin install mcp-auth@scalekit-auth-stack
/plugin install modular-sso@scalekit-auth-stack
/plugin install modular-scim@scalekit-auth-stack
After running the commands, restart Claude Code for the plugin to take effect.
Run these commands in your terminal:
copilot plugin marketplace add scalekit-inc/github-copilot-authstack
# Pick one based on your auth needs:
copilot plugin install agent-auth@scalekit-auth-stack
copilot plugin install full-stack-auth@scalekit-auth-stack
copilot plugin install mcp-auth@scalekit-auth-stack
copilot plugin install modular-sso@scalekit-auth-stack
copilot plugin install modular-scim@scalekit-auth-stack
After running the commands, the plugin will be installed and ready to use.
Run this installer script in your terminal:
curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash
After the script completes, you'll need to:
These manual steps are required to activate the plugin in Codex.
Cursor marketplace review is pending — install locally by running this script in your terminal:
curl -fsSL https://raw.githubusercontent.com/scalekit-inc/cursor-authstack/main/install.sh | bash
After the script completes, you'll need to:
These manual steps are required to activate the plugin in Cursor.
For OpenCode, Windsurf, Cline, Gemini CLI, and 35+ other agents — use the Vercel Skills CLI.
First, see all available Scalekit skills:
npx skills add scalekit-inc/skills --list
Then pick one based on your auth type and run the install command:
npx skills add scalekit-inc/skills --skill integrating-agent-auth
npx skills add scalekit-inc/skills --skill implementing-scalekit-fsa
npx skills add scalekit-inc/skills --skill adding-mcp-oauth
npx skills add scalekit-inc/skills --skill modular-sso
npx skills add scalekit-inc/skills --skill implementing-scim-provisioning
Or install everything at once:
npx skills add scalekit-inc/skills --all
Run the command that matches your needs in your terminal.
Once you've installed the plugin or skill, you can start implementing. Describe your goal in natural language and the AI assistant will guide you through the process:
The assistant will provide step-by-step instructions, code examples, and explanations. You'll implement the changes yourself with guidance.
You can fetch these resources to learn more about Scalekit:
| Resource | URL | When to use |
|----------|-----|-------------|
| LLM doc index | https://docs.scalekit.com/llms.txt | Start here — maps each Scalekit product (Agent Auth, MCP, FSA, SSO, SCIM) to its documentation set. Fetch this to understand which docs apply to your auth type before implementing. |
| API reference | https://docs.scalekit.com/apis.md | Full REST API reference in Markdown (generated from OpenAPI spec). Covers Connected Accounts, Connections, Organizations, Users, Tool Execution, Admin Portal endpoints with request/response schemas. |
| Docs sitemap | https://docs.scalekit.com/sitemap-0.xml | Complete index of all documentation pages. Use to discover specific guides (e.g. a framework integration, provider setup, or troubleshooting page) when you need a URL you don't have. |
Recommended lookup flow:
llms.txt to identify the right documentation set for your chosen auth typeapis.md when you need specific endpoint details during implementationYou can ask the AI assistant to fetch these resources for you when needed.
tools
Create or review Scalekit custom providers/connectors for proxy-only usage, including MCP providers. Use this skill when the task is to gather API docs, infer whether a connector is OAuth, Basic, Bearer, or API Key, determine if it is an MCP provider, determine required tracked fields like domain or version, generate provider JSON, check for existing custom providers, show update diffs, run approved create or update curls, and print resolved delete curls.
tools
Use when a user asks to generate, review, validate, or fix any code snippet that uses Scalekit APIs or SDKs. This skill is the single source of truth for Scalekit code correctness — it can generate illustration-quality snippets from scratch (for docs, websites, or integration guides) and review existing code to catch wrong method names, missing parameters, security anti-patterns, and broken auth flows. Covers all four SDKs (Node, Python, Go, Java), raw REST API calls, and both Scalekit product suites — SaaSKit (SSO, login, sessions, RBAC, SCIM) and AgentKit (connections, tool calling, MCP auth). Use when the user says review my Scalekit code, generate a Scalekit example, validate this auth flow, check my SDK usage, fix my Scalekit integration, write a code sample for docs, or anything involving Scalekit code quality.
development
Walks through a structured production readiness checklist for Scalekit SSO implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, hardening their SSO setup, or wants to verify their Scalekit implementation is production-ready.
development
Walks through a structured production readiness checklist for Scalekit SCIM provisioning implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their SCIM directory sync implementation is production-ready.