/agentkit:integrate-agentkit-hostfrom agentkit
Integrates AgentKit into an always-on host so OpenClaw or Hermes can act as a named user. Use when the user wants OpenClaw, Hermes, clawhub install, or an always-on host skill. It does not write AgentKit in app code (that's `integrate-agentkit`) or expose tools over MCP (that's `expose-agentkit-mcp`).
Ships in agentkit. 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.
Read when SKILL.md points to them; scripts run unread.
Wire an always-on host so it can act as a named user through AgentKit. Then stop.
A host is a long-lived agent process (OpenClaw or Hermes). It is not this git repo.
tool_exec.py --get-tool or the connector's page in https://docs.scalekit.com/agentkit/connectors.md before calling it.SCALEKIT_ENVIRONMENT_URL, SCALEKIT_CLIENT_ID, SCALEKIT_CLIENT_SECRET, and SCALEKIT_IDENTIFIER. OpenClaw also accepts TOOL_* aliases. Never SCALEKIT_ENV_URL.setup-agentkit. This skill starts there.hermes mcp login against Scalekit. Do not mint a Virtual MCP session token for another end user inside this host. A single-operator host may hold one operator bearer. See https://docs.scalekit.com/agentkit/hermes/integrate-agentkit. Stop.expose-agentkit-mcp. Stop.If env is missing, collect the three Scalekit client values from app.scalekit.com → Developers → Settings → API Credentials. Ask for the named-user identifier (email or user id). Do not invent values.
Done when: the host is OpenClaw, and the four names exist.
Use the Connection Name already recorded by setup-agentkit.
If none is recorded: GitHub is github-connect, the one connection new environments ship. Every other connector, Gmail included, needs its own dashboard row. If that row is missing, name setup-agentkit and stop.
Done when: a Connection Name is written down.
clawhub install scalekit-agent-auth
That slug is the shipped ClawHub listing. Do not create a new GitHub repo for it.
Done when: clawhub lists scalekit-agent-auth.
Put Scalekit client credentials in the OpenClaw env file (.env next to the skill, or the host env). These are not Gmail or Slack tokens.
SCALEKIT_ENVIRONMENT_URL=https://your-env.scalekit.cloud
SCALEKIT_CLIENT_ID=<from dashboard>
SCALEKIT_CLIENT_SECRET=<from dashboard>
SCALEKIT_IDENTIFIER=<named user>
TOOL_ENV_URL, TOOL_CLIENT_ID, TOOL_CLIENT_SECRET, and TOOL_IDENTIFIER also work.
From this skill directory:
cd scripts && uv sync
uv run tool_exec.py --list-connections --provider GMAIL
Done when: the env file has those names, and --list-connections returns a completed connection or a clear empty list.
uv run tool_exec.py --generate-link --connection-name <CONNECTION_NAME>
OAuth: if not ACTIVE, show the magic link and wait. API key: if missing or not ACTIVE, send the user to the Dashboard and stop.
Done when: the connected account is ACTIVE, or the next action is on screen.
Name one real host prompt for the user, for example “Show my latest unread emails.” Do not write app-code SDK calls.
OpenClaw follows the ClawHub skill scalekit-agent-auth at chat time. Hermes follows the installed hermes-delegated-auth skill.
Done when: OpenClaw is installed, env is set, and this skill has stopped.
setup-agentkit if the connection or env is missingintegrate-agentkit for AgentKit in app codeexpose-agentkit-mcp for a per-user MCP URLscalekit-agent-auth for the OpenClaw chat loopWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub scalekit-inc/authstack --plugin agentkit6 skills in this plugin
/check-agentkit-prodChecks AgentKit go-live so an agent can sign off only when every item is PASS or WAIVE with a reason. Use when the user wants AgentKit production, or to go live AgentKit. It does not write a connected account or token (that's `integrate-agentkit`) or check SaaSKit go-live (that's `check-saaskit-prod`).
/discover-connectorsDiscovers AgentKit connectors from the live catalog and MCP so an agent can name tools and schemas. Use when the user asks what connectors exist, wants connector tools, or needs input/output schemas. It does not create a connected account or token (that's `integrate-agentkit`) or expose tools over MCP (that's `expose-agentkit-mcp`).
/Other plugins' skills for the same job