Scalekit-Agent-Auth
Secure OAuth token management via Scalekit. Handles token storage, refresh, and retrieval for third-party services (Gmail, Slack, GitHub, etc.). Never stores tokens locally - always fetches fresh tokens from Scalekit. Skill: Scalekit-Agent-Auth Owner: Avinash-Kamath Summary: Secure OAuth token management via Scalekit. Handles token storage, refresh, and retrieval for third-party services (Gmail, Slack, GitHub, etc.). Never stores tokens locally - always fetches fresh tokens from Scalekit. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-06T08:16:11.709Z | user - Initial release of scalekit-auth skill for secure OAuth token man
Rank
62
Safety
84
Downloads
853
Updated
Apr 15, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 853 downloads reported by the source. Last updated 4/15/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Apr 15, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Apr 15, 2026
- Adoption signal
- 853 downloadsadoption · observed Apr 15, 2026
- Latest release
- 1.0.0release · observed Feb 6, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: medium.
clawhub skill install kn75vt34z0fg7mvxmkxvswjcp580n8qm:scalekit-agent-auth- Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-avinash-kamath-scalekit-agent-auth/snapshot"
Documentation
CLAWHUB
10,391 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: scalekit-auth
description: Secure OAuth token management via Scalekit. Handles token storage, refresh, and retrieval for third-party services (Gmail, Slack, GitHub, etc.). Never stores tokens locally - always fetches fresh tokens from Scalekit.
homepage: https://scalekit.com
metadata:
openclaw:
requires:
bins: ["python3"]
install:
- id: python-deps
kind: exec
command: "pip3 install scalekit-sdk-python python-dotenv requests"
label: "Install Python dependencies"
---
# Scalekit Auth - Secure Token Management
Centralized OAuth token management for AI agents. No local token storage, automatic refresh, multi-service support.
## Why Use This?
**Problem:** OAuth tokens scattered across config files, no refresh logic, security risks.
**Solution:** Scalekit handles all token lifecycle:
- ✅ Secure cloud storage (never stored locally)
- ✅ Automatic token refresh
- ✅ Multi-service support (Gmail, Slack, Notion, GitHub, etc.)
- ✅ Always returns fresh, valid tokens
## Installation
### 1. Install Skill
```bash
clawhub install scalekit-auth
cd skills/scalekit-auth
pip3 install -r requirements.txt
```
### 2. Get Scalekit Credentials
1. Sign up at [scalekit.com](https://scalekit.com)
2. Go to Dashboard → Developers → Settings → API Credentials
3. Copy:
- Client ID
- Client Secret
- Environment URL
### 3. Configure Credentials
Create `skills/scalekit-auth/.env`:
```bash
SCALEKIT_CLIENT_ID=your_client_id_here
SCALEKIT_CLIENT_SECRET=your_client_secret_here
SCALEKIT_ENV_URL=https://your-env.scalekit.com
```
**Or** let the agent ask you on first use.
## Setting Up a Service (e.g., Gmail)
### Step 1: Create Connection in Scalekit Dashboard
1. Go to Scalekit Dashboard → Connections → Add Connection
2. Select provider (e.g., Gmail/Google)
3. Configure OAuth:
- Get Client ID/Secret from Google Cloud Console
- Set Redirect URI (provided by Scalekit)
4. **Copy the `connection_name`** (e.g., `gmail_u3134a`)
### Step 2: Register with Agent
Tell the agent:
```
"Configure Gmail for Scalekit. Connection name is gmail_u3134a"
```
Agent stores it in `connections.json`:
```json
{
"gmail": {
"connection_name": "gmail_u3134a",
"identifier": "mess"
}
}
```
### Step 3: Authorize
First API call will prompt:
```
Authorization needed for Gmail.
Link: https://scalekit.com/auth/... (expires in 1 minute!)
```
Click link → authorize → done!
## Usage
### From Agent Skills
```python
#!/usr/bin/env python3
import sys
sys.path.append('./skills/scalekit-auth')
from scalekit_helper import get_token
# Get fresh token for any service
access_token = get_token("gmail")
# Use it immediately
headers = {"Authorization": f"Bearer {access_token}"}
response = requests.get("https://gmail.googleapis.com/gmail/v1/users/me/messages", headers=headers)
```
### From Shell Scripts
```bash
# Get token via CLI wrapper
TOKEN=$(python3 skills/scalekit-auth/get_token.py gmail)
# Use in API call
curl -H "AuthorREADME.md
# Scalekit Auth - Secure OAuth Token Management
[](https://clawhub.com)
[](https://www.python.org/downloads/)
Centralized OAuth token management for AI agents via [Scalekit](https://scalekit.com). Never store tokens locally again.
## Features
- ✅ **Secure token storage** - No local token files
- ✅ **Automatic refresh** - Always get fresh, valid tokens
- ✅ **Multi-service support** - Gmail, Slack, GitHub, 50+ more
- ✅ **Simple API** - One function call: `get_token(service)`
- ✅ **Public skill** - Easy to share and reuse
## Quick Start
```bash
# Install
clawhub install scalekit-auth
cd skills/scalekit-auth
pip3 install -r requirements.txt
# Configure credentials in .env
echo "SCALEKIT_CLIENT_ID=your_id" > .env
echo "SCALEKIT_CLIENT_SECRET=your_secret" >> .env
echo "SCALEKIT_ENV_URL=https://your-env.scalekit.com" >> .env
# Set up a service (e.g., Gmail)
python3 -c "from scalekit_helper import configure_connection; configure_connection('gmail', 'gmail_u3134a')"
# Get token
python3 get_token.py gmail
```
## Usage in Your Skill
```python
#!/usr/bin/env python3
import sys
sys.path.append('./skills/scalekit-auth')
from scalekit_helper import get_token
# Get fresh token
token = get_token("gmail")
# Use immediately
import requests
headers = {"Authorization": f"Bearer {token}"}
response = requests.get("https://gmail.googleapis.com/gmail/v1/users/me/messages", headers=headers)
```
## Documentation
See [SKILL.md](SKILL.md) for complete documentation.
## Setup Workflow
1. **Install skill** via ClawHub
2. **Get Scalekit credentials** from [app.scalekit.com](https://app.scalekit.com)
3. **Create connections** in Scalekit dashboard for each service
4. **Configure** via agent or CLI
5. **Authorize** when prompted (1-min expiry!)
6. **Use tokens** seamlessly
## License
MIT
## Links
- [Scalekit Docs](https://docs.scalekit.com/agent-auth/quickstart/)
- [ClawHub](https://clawhub.com)
- [OpenClaw](https://openclaw.ai)_meta.json
{
"ownerId": "kn75vt34z0fg7mvxmkxvswjcp580n8qm",
"slug": "scalekit-agent-auth",
"version": "1.0.0",
"publishedAt": 1770365771709
}requirements.txt
scalekit-sdk-python python-dotenv requests
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceUrl": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-avinash-kamath-scalekit-agent-auth/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-avinash-kamath-scalekit-agent-auth/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "853 downloads",
"href": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceUrl": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceUrl": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-06T08:16:11.709Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-avinash-kamath-scalekit-agent-auth/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-avinash-kamath-scalekit-agent-auth/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "- Initial release of scalekit-auth skill for secure OAuth token management via Scalekit. - Centralizes OAuth token storage, refresh, and retrieval for services like Gmail, Slack, GitHub, and more. - No local token storage; tokens are always fetched from Scalekit. - Includes setup instructions, multi-service support, and both Python and CLI usage examples. - Provides error handling and security best practices for managing credentials and tokens.",
"href": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceUrl": "https://clawhub.ai/Avinash-Kamath/scalekit-agent-auth",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-06T08:16:11.709Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
