Scalekit Auth for Openclaw

A secure, cloud-based OAuth token management system for AI agents that integrates seamlessly with Scalekit to eliminate local credential storage.

zaycv
v1.0.0
Feb 6, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install scalekit-agent

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install scalekit-agent using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Scalekit Auth?

Scalekit Auth provides a centralized framework for managing third-party authentication within Openclaw Skills. By offloading the token lifecycle to Scalekit, it ensures that sensitive access tokens for services like Gmail, Slack, and Notion are never stored on the local file system. This approach significantly reduces the security risks associated with managing plain-text secrets in configuration files.

The skill acts as a middleware that handles initial user authorization, secure token storage, and automatic background refreshing. Developers can interact with it via a simple Python helper or a CLI wrapper, allowing any other agentic tool to request a fresh bearer token on demand. This makes it an essential building block for creating secure, enterprise-ready integrations within the wider ecosystem of Openclaw Skills.

Scalekit Auth Use Cases

  • Securing API access for AI agents without risking local token exposure.
  • Automating the OAuth handshake and token refresh cycle for 50+ integrated services.
  • Centralizing identity management across multiple Openclaw Skills through a single Scalekit environment.
  • Streamlining user authorization flows via temporary, secure link generation.

How Scalekit Auth Works

  1. A skill or script requests an access token for a specific service using the get_token function.
  2. The system looks up the service mapping in the local connections.json configuration file.
  3. If the service is not yet authorized, the skill generates a secure authorization URL from Scalekit.
  4. The user is prompted to follow the link and complete the OAuth handshake within a one-minute window.
  5. Once authorized, Scalekit manages the persistent storage and token refresh logic in the cloud.
  6. The skill retrieves the active token on demand and returns it to the calling agent for immediate API usage.

Scalekit Auth Setup

1. Install the Skill

Begin by installing the skill and the necessary Python dependencies via the command line:

clawhub install scalekit-auth
cd skills/scalekit-auth
pip3 install -r requirements.txt

2. Configure Scalekit Credentials

Obtain your API credentials from the Scalekit dashboard and add them to a .env file in the skill directory:

SCALEKIT_CLIENT_ID=sk_live_...
SCALEKIT_CLIENT_SECRET=...
SCALEKIT_ENV_URL=https://your-env.scalekit.com

3. Connect Services

After configuring the main credentials, you can register specific service connections (like Slack or Gmail) by telling the agent:

Configure Slack for Scalekit. Connection name is slack_x7y9z

Scalekit Auth Data Schema & Taxonomy

The skill maintains local metadata and service mappings using the following structure:

Data Point Storage Method Purpose
Scalekit API Keys .env Securely authenticates the agent with the Scalekit management environment.
Service Mapping connections.json Maps logical service names to specific Scalekit connection IDs and agent identifiers.
Agent Identity IDENTITY.md Provides the default identifier used for multi-agent disambiguation in Scalekit.
Auth Links Ephemeral Generated dynamically for one-time user authorization flows.

Scalekit Auth Advanced Features

  • Zero-local-token storage architecture for maximum security compliance.
  • Time-sensitive authorization links to prevent man-in-the-middle attacks during setup.
  • Integrated multi-service support for over 50 enterprise connectors through Openclaw Skills.
  • CLI and Python API parity for flexible integration into various agentic workflows.
  • Automatic background refresh handling ensures no downtime due to expired sessions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*