Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/agent-auth/agents/setup-scalekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Hard rules:
- NEVER ask the user to paste SCALEKIT_CLIENT_SECRET into chat.
- NEVER hardcode credentials in code samples; always use environment variables.
- Prefer creating a local verification script (verify.js / verify.py / verify.go / Verify.java) and running it, but only if the user wants you to write files.
- When using agent auth for nodejs, use npm install @scalekit-sdk/node@2.2.0-beta.1
- When using agent auth for nodejs, use npm install @scalekit-sdk/node

Workflow:
1) Determine language/runtime (Node.js, Python, Go, Java) and where env vars should live (.env, shell, CI secrets).
Expand Down
6 changes: 5 additions & 1 deletion plugins/agent-auth/references/agent-connectors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ This directory contains documentation for all supported agent connectors in the
|-----------|-------------|-----------|
| [Airtable](airtable.md) | Connect to Airtable bases for data management | OAuth 2.0 |
| [Asana](asana.md) | Project management and task tracking | OAuth 2.0 |
| [Attention](attention.md) | AI insights, conversations, teams, and workflows | API Key |
| [BigQuery](bigquery.md) | Google BigQuery data warehouse | OAuth 2.0 |
| [Chorus](chorus.md) | Sync calls, transcripts, conversation intelligence, and analytics | Basic Auth |
| [Clari Copilot](clari_copilot.md) | Sales call transcripts, analytics, call data, and insights | API Key |
| [ClickUp](clickup.md) | Project management and collaboration | OAuth 2.0 |
| [Confluence](confluence.md) | Atlassian Confluence wiki pages | OAuth 2.0 |
| [Dropbox](dropbox.md) | File storage and sharing | OAuth 2.0 |
Expand All @@ -23,6 +26,7 @@ This directory contains documentation for all supported agent connectors in the
| [Google Forms](google_forms.md) | Google Forms survey creation | OAuth 2.0 |
| [Google Meet](google_meets.md) | Google Meet video conferencing | OAuth 2.0 |
| [Google Sheets](google_sheets.md) | Google Sheets spreadsheet editing | OAuth 2.0 |
| [Google Slides](google_slides.md) | Create, read, and modify presentations programmatically | OAuth 2.0 |
| [Gong](gong.md) | Sales conversation intelligence | OAuth 2.0 |
| [HubSpot](hubspot.md) | CRM and marketing automation | OAuth 2.0 |
| [Intercom](intercom.md) | Customer messaging platform | OAuth 2.0 |
Expand Down Expand Up @@ -57,7 +61,7 @@ Each connector documentation includes:

## Authentication

All connectors support OAuth 2.0 authentication through the Agent Auth platform. You'll need to:
Connectors support OAuth 2.0, API Key, or Basic Auth authentication through the Agent Auth platform. You'll need to:

1. Create a connection for the desired service
2. Configure OAuth credentials in your connection
Expand Down
3 changes: 3 additions & 0 deletions plugins/agent-auth/references/agent-connectors/attention.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Connect to Attention for AI insights, conversations, teams, and workflows

Supports authentication: API Key
3 changes: 3 additions & 0 deletions plugins/agent-auth/references/agent-connectors/chorus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Connect to Chorus.ai to sync calls, transcripts, conversation intelligence, and analytics.

Supports authentication: Basic Auth
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Connect to Clari Copilot for sales call transcripts, analytics, call data, and insights.

Supports authentication: API Key
32 changes: 32 additions & 0 deletions plugins/agent-auth/references/agent-connectors/google_slides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Connect to Google Slides to create, read, and modify presentations programmatically.

Supports authentication: OAuth 2.0

## Table of Contents

- [Tool list](#tool-list)

---

## Tool list

## `googleslides_create_presentation`

Create a new Google Slides presentation with an optional title.

| Properties | Description | Type |
| --- | --- | --- |
| `schema_version` | Optional schema version to use for tool execution | string | null |
| `title` | Title of the new presentation | string | null |
| `tool_version` | Optional tool version to use for execution | string | null |

## `googleslides_read_presentation`

Read the complete structure and content of a Google Slides presentation including slides, text, images, shapes, and metadata.

| Properties | Description | Type |
| --- | --- | --- |
| `fields` | Fields to include in the response | string | null |
| `presentation_id` | The ID of the Google Slides presentation to read | string |
| `schema_version` | Optional schema version to use for tool execution | string | null |
| `tool_version` | Optional tool version to use for execution | string | null |
22 changes: 18 additions & 4 deletions plugins/agent-auth/skills/agent-auth/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ description: Integrates Scalekit Agent Auth into a project to handle OAuth flows

Scalekit handles the full OAuth lifecycle — authorization, token storage, and refresh — so agents can act on behalf of users in Gmail, Slack, Notion, Calendar, and other connectors.

## Mental model

Keep these terms straight:

- **connector**: the integration (e.g., Gmail, Slack, Salesforce)
- **connection**: the environment-level dashboard configuration
- **connected account**: the per-user authorization record
- **tool**: the executable action exposed by a connector

Prefer live tool discovery over hand-maintained catalogs. If the user needs the current tool list or schema, use the Scalekit SDK's tool discovery methods rather than relying solely on static docs.

**Required env vars**: `SCALEKIT_CLIENT_ID`, `SCALEKIT_CLIENT_SECRET`, `SCALEKIT_ENV_URL`
→ Get from [app.scalekit.com](https://app.scalekit.com): Developers → Settings → API Credentials

Expand Down Expand Up @@ -39,7 +50,7 @@ actions = scalekit.actions

**Node.js**
```bash
npm install @scalekit-sdk/node@2.2.0-beta.1
npm install @scalekit-sdk/node
```
```typescript
import { ScalekitClient } from '@scalekit-sdk/node';
Expand Down Expand Up @@ -223,7 +234,7 @@ for (const msg of messages) {
Replace `"gmail"` with any supported connector name: `slack`, `notion`, `calendar`, etc.
The SDK workflow (Steps 1–3) is identical for all connectors. Only the downstream API call (Step 4) changes.

For connector-specific API details, see [CONNECTORS.md](CONNECTORS.md).
For connector-specific API details, see [agent-connectors](../references/agent-connectors/README.md).

## Building agents

Expand Down Expand Up @@ -299,6 +310,9 @@ For code samples and implementation examples by framework, see [code-samples.md]

For an overview of supported providers and their capabilities, see [providers.md](../references/providers.md).

For comprehensive token management including refresh, security, and monitoring, see [token-management.md](../references/token-management.md).

For configuring your own OAuth credentials per connector (whitelabeling, dedicated quotas), see [byoc.md](../references/byoc.md).

## When to switch skills

- Use `building-agent-mcp-server` when the user wants to expose Agent Auth tools over the MCP protocol.
- Use `production-readiness-scalekit` when the user is going live or needs a pre-launch checklist.
12 changes: 12 additions & 0 deletions plugins/agent-auth/skills/building-agent-mcp-server/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,15 @@ asyncio.run(main())
> **Note — MCP client compatibility:** You can test this MCP server with popular clients like MCP Inspector, Claude Desktop, and other spec-compliant implementations. Note that ChatGPT's beta connector feature may not work properly as it's still in beta and doesn't fully adhere to the MCP specification yet.

Full working example: [github.com/scalekit-inc/python-connect-demos/tree/main/mcp](https://github.com/scalekit-inc/python-connect-demos/tree/main/mcp)

## Deep reference

- Connected accounts lifecycle and states: [connected-accounts.md](../../references/connected-accounts.md)
- Connection configuration: [connections.md](../../references/connections.md)
- Code samples by framework: [code-samples.md](../../references/code-samples.md)
- Bring your own OAuth credentials: [byoc.md](../../references/byoc.md)

## When to switch skills

- Use `agent-auth` when the user wants to integrate Agent Auth directly (SDK, not MCP).
- Use `production-readiness-scalekit` when the user is going live or needs a pre-launch checklist.
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ Work through each section in order — earlier sections are blockers for later o
- OAuth authorization completion rate (initiated vs completed)
- Per-service API error rates (distinguish auth errors from service errors)
- Token expiry distribution (are tokens being refreshed proactively?)

## Deep reference

- Connected accounts lifecycle and states: [connected-accounts.md](../../references/connected-accounts.md)
- Connection configuration: [connections.md](../../references/connections.md)
- Bring your own OAuth credentials: [byoc.md](../../references/byoc.md)
19 changes: 19 additions & 0 deletions plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ description: Implements Scalekit full-stack authentication (FSA) including sign-

# Scalekit Full-Stack Authentication

## Mental model

Scalekit acts as an OIDC/OAuth 2.0 provider for your application:

- **Auth URL**: redirects the user to Scalekit's login page (or their IdP for SSO)
- **Callback**: exchanges the authorization code for tokens (ID, access, refresh)
- **Access token**: short-lived, carries roles and permissions
- **Refresh token**: long-lived, used to renew access tokens without re-login

One integration enables: magic links, social sign-ins, enterprise SSO, workspaces, MCP authentication, SCIM provisioning, and user management.

## Setup

Install the SDK and set credentials in `.env`:
Expand Down Expand Up @@ -93,3 +104,11 @@ All SDK methods follow the same pattern across languages with minor naming conve
## What this unlocks

One integration enables: Magic Link & OTP, social sign-ins, enterprise SSO, workspaces, MCP authentication, SCIM provisioning, and user management.

## When to switch skills

- Use `modular-sso` (in the modular-sso plugin) when the app manages its own users and sessions and needs only SSO.
- Use `modular-scim` (in the modular-scim plugin) for SCIM provisioning alongside existing auth.
- Use `mcp-auth` (in the mcp-auth plugin) for OAuth 2.1 authorization on MCP servers.
- Use `production-readiness-scalekit` for a pre-launch checklist.
- Use a framework-specific skill (e.g., `implementing-scalekit-nextjs-auth`, `implementing-scalekit-django-auth`) for step-by-step guides in your stack.
8 changes: 7 additions & 1 deletion plugins/mcp-auth/skills/mcp-auth/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ MCP OAuth Setup:

**Node.js:**
```bash
npm install @scalekit-sdk/node@2.2.0-beta.1
npm install @scalekit-sdk/node
```

**Python:**
Expand Down Expand Up @@ -448,3 +448,9 @@ All examples include:
- Executes tool calls for authorized requests

This separation ensures clean boundaries: Scalekit handles identity and token issuance, your server focuses on business logic.

## When to switch skills

- Use `full-stack-auth` (in the full-stack-auth plugin) for browser-based authentication flows.
- Use `production-readiness-scalekit` for a pre-launch MCP auth checklist.
- Use a framework-specific sub-skill (`add-auth-fastmcp`, `express-mcp-server`, `fastapi-fastmcp`) for a guided implementation in your stack.
6 changes: 6 additions & 0 deletions plugins/modular-scim/skills/modular-scim/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,9 @@ After deploying the webhook endpoint:
- Full Go/Java SDK examples → [REFERENCE.md](REFERENCE.md)
- Webhook event payload schemas → [EVENTS.md](EVENTS.md)
- RBAC group-to-role mapping patterns → [RBAC.md](RBAC.md)

## When to switch skills

- Use `full-stack-auth` (in the full-stack-auth plugin) when building login/signup flows, not just provisioning.
- Use `modular-sso` (in the modular-sso plugin) for enterprise SSO alongside SCIM.
- Use `production-readiness-scalekit` for a pre-launch provisioning checklist.
9 changes: 7 additions & 2 deletions plugins/modular-sso/skills/modular-sso/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ Prevent failed redirects by checking SSO configuration before redirecting:

**Node.js:**
```javascript
const domain = email.split('@').toLowerCase(); [reddit](https://www.reddit.com/r/ClaudeAI/comments/1qb1024/ultimate_claude_skillmd_autobuilds_any_fullstack/)
const domain = email.split('@').pop().toLowerCase();

const connections = await scalekit.connections.listConnectionsByDomain({
domain
Expand Down Expand Up @@ -571,4 +571,9 @@ app.post('/logout', (req, res) => {
**Use progressive enhancement**: Start with basic SSO, add advanced features iteratively

**Monitor authentication flows**: Track success rates and common failure points
```

## When to switch skills

- Use `full-stack-auth` (in the full-stack-auth plugin) when Scalekit should manage the full auth lifecycle (login, sessions, users).
- Use `modular-scim` (in the modular-scim plugin) for SCIM provisioning alongside SSO.
- Use `production-readiness-scalekit` for a pre-launch SSO checklist.