/saaskit:run-dryrunfrom saaskit
Runs dryrun so an agent can test a SaaSKit auth setup before go-live. Use when the user wants to test auth or run dryrun. It does not write login (that's `implement-saaskit`) or finish a go-live checklist (that's `check-saaskit-prod`).
Ships in saaskit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run dryrun against a live environment. Then stop.
SCALEKIT_ENVIRONMENT_URL and SCALEKIT_CLIENT_ID before the command.organization_id before --mode=sso.http://localhost:12456/auth/callback to the internet.implement-saaskit instead.check-saaskit-prod instead.--env_url. The app env name is SCALEKIT_ENVIRONMENT_URL. Never SCALEKIT_ENV_URL.http://localhost:12456/auth/callback under Authentication → Redirect URIs. Spell the port and path exactly.12456. Default mode is fsa.--organization_id (org_…). Copy it from the dashboard. Do not invent it.skc_. Dashboard → Developers → Settings → API Credentials.Ctrl+C.Need Node 20+. Need these two values:
echo $SCALEKIT_ENVIRONMENT_URL
echo $SCALEKIT_CLIENT_ID
SCALEKIT_CLIENT_ID must start with skc_. If either value is missing, collect them from app.scalekit.com → Developers → Settings → API Credentials. Do not invent values.
Done when: Node is 20+, both values exist, and the client ID starts with skc_.
Print this checklist. Wait for the user.
http://localhost:12456/auth/callback exactlyDone when: the dashboard lists that exact URL.
| Mode | When |
|---|---|
fsa | Default. Hosted login, callback, session. |
sso | User asked to test SSO. Needs --organization_id. |
Default to fsa unless the user asked for SSO. If they asked for SSO and did not give organization_id, ask. Do not guess an org_….
Done when: the mode is fsa, or the mode is sso with a real org_….
Full-stack auth:
npx @scalekit-sdk/dryrun \
--env_url="$SCALEKIT_ENVIRONMENT_URL" \
--client_id="$SCALEKIT_CLIENT_ID" \
--mode=fsa
SSO:
npx @scalekit-sdk/dryrun \
--env_url="$SCALEKIT_ENVIRONMENT_URL" \
--client_id="$SCALEKIT_CLIENT_ID" \
--mode=sso \
--organization_id=<org_…>
The browser opens. The user signs in. The local dashboard must show the user profile and tokens.
If port 12456 is in use, stop the other process and retry.
Done when: the local dashboard shows the user profile and tokens.
Show the command output. Then map failures:
| Symptom | Next step |
|---|---|
redirect_uri mismatch | Add http://localhost:12456/auth/callback under Authentication → Redirect URIs |
| Invalid client | Copy skc_… from the same env as --env_url |
| Organization error | Confirm the org exists, SSO is on, and the id is org_… |
| Port in use | Stop the process on 12456 and retry |
Done when: the user has a plain-language pass or fail.
Do not write login. Do not start the go-live checklist.
Done when: dryrun showed the profile and tokens, or the failure has a next step, and this skill has stopped.
setup-saaskit if env is missingimplement-saaskit to write login after dryrunimplement-sso if SSO mode failed on a missing connectioncheck-saaskit-prod for the go-live recordWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub scalekit-inc/authstack --plugin saaskit15 skills in this plugin
/add-api-authAdds API key or client-credentials auth so an agent can protect an API. Use when the user wants an API key or client credentials. It does not put OAuth 2.1 on an MCP server (that's `add-mcp-oauth`) or write SaaSKit login (that's `implement-saaskit`).
/add-mcp-oauthAdds MCP OAuth so an agent can protect the user's MCP server. Use when the user wants MCP OAuth or to protect their MCP server. It does not add API keys or client credentials (that's `add-api-auth`) or expose AgentKit tools over MCP (that's `expose-agentkit-mcp`).
/check-saaskit-prodChecks SaaSKit production so an agent can finish a go-live checklist. Use when the user wants SaaSKit production or to go live SaaSKit. It does not write login (that's `implement-saaskit`) or run dryrun (that's `run-dryrun`).
/deploy-self-hostedDeploys self-hosted Scalekit so an agent can install Helm or on-prem. Use when the user wants self-hosted Scalekit or Helm. It does not write SaaSKit login (that's `implement-saaskit`).
/implement-access-controlImplements roles and permissions at a route so an agent can protect an endpoint. Use when the user wants roles, permissions, or RBAC. It does not write SaaSKit login (that's `implement-saaskit`).
/implement-saaskitImplements SaaSKit login so an agent can add a login route, a callback, session cookies, and logout. Use when the user wants to add SaaSKit login, a callback, or logout. It does not store, validate, refresh, or revoke a session after login (that's `manage-saaskit-sessions`) or write Next.js App Router auth (that's `implement-saaskit-nextjs`) or write Django, FastAPI, or Flask auth (that's `implement-saaskit-python`).