Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Scalekit CLI

Install and manage the authstack plugin and Scalekit skills for AI coding agents with the Scalekit CLI.

The Scalekit CLI (@scalekit-inc/cli) installs the authstack plugin and Scalekit skills for your AI coding agents. It supports Cursor, Claude Code, GitHub Copilot and Codex, plus any agent that reads skills from ~/.agents/skills, such as Cline, Amp and OpenCode.

The CLI requires Node.js 20 or later. Run it with npx, or install it globally:

Terminal window
npx @scalekit-inc/cli setup
# Or install globally for repeated use
npm install -g @scalekit-inc/cli
scalekit setup

Running setup with no arguments starts an interactive wizard. The wizard marks the agents it detects on your machine, lets you choose which ones to set up, and then offers to install the Scalekit skills.

The wizard needs an interactive terminal. Without one, for example when a coding agent or a CI job runs the command, setup exits with an error that tells you to add -y.

Coding agents and CI jobs have no terminal to answer prompts. Add -y to skip every prompt:

Terminal window
npx -y @scalekit-inc/cli setup -y # every detected agent
npx -y @scalekit-inc/cli setup claude -y # one agent

The first -y tells npx to install the package without asking. The second -y tells the CLI to skip its own prompts.

setup -y sets up every agent it detects:

  • Agents detected: the CLI installs the authstack plugin for each detected agent. It then installs the Scalekit skills for detected agents that did not get a plugin, and to ~/.agents/skills unless a plugin already provides the same skills.
  • No agent detected (CLI 0.3.24 or later): the CLI installs only the Scalekit skills, to ~/.agents/skills, and exits with status 0. Earlier versions try to set up every agent instead, so run npx -y @scalekit-inc/cli@latest.

Add --dry-run to print the commands without running them. A dry run of setup never prompts.

Pass the tool name to skip the wizard and install directly:

Terminal window
scalekit setup cursor
scalekit setup claude # aliases: claude-code, cc
scalekit setup codex # alias: opencode
scalekit setup copilot # aliases: github-copilot, ghcp

Run any command with npx @scalekit-inc/cli <command>, or with scalekit <command> (short form: sk) after a global install.

CommandWhat it does
setup [stack]Sets up the authstack plugin and Scalekit skills. Omit [stack] to run the wizard.
setup extension <name>Shortcut for extension install <name>.
extension install <name>Installs the authstack plugin for one agent.
extension update <name>Updates the authstack plugin for one agent.
extension uninstall <name>Removes the authstack plugin from one agent.
extension listLists the supported agents and whether each one is detected.
extension status [stack]Shows whether each agent is detected and whether its plugin is up to date.
open [stack]Opens Cursor, Claude Code or Codex with a first prompt filled in. With -y, name the stack.
skills installInstalls the Scalekit skills to ~/.agents/skills and to detected agents that lack the plugin.
updateUpdates the Scalekit CLI itself.

extension also has the short form ext. Stack and extension names accept the IDs and aliases in Supported tools.

These flags work on every command:

FlagDescription
-y, --non-interactiveSkip all prompts and use defaults.
--jsonPrint machine-readable JSON instead of styled output.
--plainTurn off colors and styling. The CLI also respects NO_COLOR.

These flags apply to individual commands:

FlagCommandsDescription
-y, --yessetup, extension install, extension update, extension uninstall, open, skills install, updateSkip confirmation prompts. Required for setup, open and skills install when no interactive terminal is available.
--dry-runSame as -yPrint the commands, or the destination for open, without running them.
--skip-skillssetupInstall the plugins only and skip the Scalekit skills.
ToolIDAliases
Cursorcursor
Claude Codeclaudeclaude-code, cc
GitHub Copilotcopilotgithub-copilot, ghcp
Codex / OpenCodecodexopencode

For each tool, the CLI installs two kits from the authstack plugin:

  • AgentKit - skills for building agents with delegated auth, scoped permissions, and tool calls
  • SaaSKit - skills for adding SSO, SCIM, MFA, sessions, and API auth to SaaS apps

For Cursor and Codex, the CLI downloads the plugin and copies it to the tool’s local plugin directory. For Claude Code and GitHub Copilot, it runs the tool’s native plugin marketplace commands.

The CLI sends anonymous usage events, such as whether a plugin or skill install succeeded. It stores a random ID in ~/.scalekit/anonymous_id and never sends project paths, file contents or credentials. To turn telemetry off, set either environment variable:

Terminal window
export DO_NOT_TRACK=1
# or
export SCALEKIT_TELEMETRY=0

The CLI’s README lists each event and field.

After setup, tell your coding agent what you’re building. The authstack plugin routes you to the right skill.

I want to add agent auth to my project. Help me get started with AgentKit.
Add enterprise SSO to my Next.js app using SaaSKit.

The authstack plugin picks up the prompt and routes to the right skill: AgentKit for agent auth, SaaSKit for app auth.