Scalekit Auth Plugins for GitHub Copilot CLI — the auth stack for agents.
-Add MCP Auth and tool-calling to your MCP servers from GitHub Copilot CLI.
+
Scalekit Auth Stack for GitHub Copilot — AgentKit and SaaSKit plugins.
+Add agent auth, tool calling, SSO, SCIM, MCP auth, and session management from GitHub Copilot.
[](./LICENSE)
[](https://github.com/scalekit-inc/github-copilot-authstack/pulls)
@@ -14,31 +14,16 @@ Add MCP Auth and tool-calling to your MCP servers from GitHub Copilot CLI.
---
-A GitHub Copilot CLI plugin marketplace for adding OAuth 2.1 authorization and tool-calling to MCP (Model Context Protocol) servers using [Scalekit](https://scalekit.com).
+Setting up auth for B2B and AI apps is complex. This marketplace adds the complete Scalekit auth stack to your projects — whether that's an AI agent, a B2B SaaS app, or an MCP server — directly from GitHub Copilot.
---
-### Plugins
+### Available Plugins
-#### mcp-auth
-
-Guides and implementation patterns for securing MCP servers with OAuth 2.1. Covers multiple frameworks so you can pick the right approach for your stack.
-
-**Skills:**
-
-| Skill | Description |
-|-------|-------------|
-| `mcp-auth` | Comprehensive guide — HTTP transport, token validation, scope-based auth |
-| `add-auth-fastmcp` | Simplest path: FastMCP + Scalekit provider in ~5 lines |
-| `express-mcp-server` | Express.js with custom middleware and fine-grained token control |
-| `fastapi-fastmcp` | FastAPI + FastMCP for Python apps needing advanced authorization |
-
-**Agents:**
-
-| Agent | Description |
-|-------|-------------|
-| `setup-scalekit` | Sets up Scalekit env vars, installs the SDK, and verifies credentials |
-| `scalekit-mcp-auth-troubleshooter` | Diagnoses MCP auth issues (handshake, CORS, cached clients, port limits) |
+| Plugin | Description |
+|--------|-------------|
+| **AgentKit** | Authentication for AI agents. OAuth flows, token vault, 40+ connectors (Gmail, Slack, Salesforce, etc.), tool discovery, and live testing — so agents can act on behalf of users. |
+| **SaaSKit** | Production-ready auth for B2B SaaS apps. Login, sessions, SSO (Okta, Azure AD, Google), SCIM provisioning, RBAC, MCP server auth, and API key management. |
---
@@ -70,17 +55,16 @@ copilot mcp-auth add-auth-fastmcp
---
-### Repository Layout
+### Repository Structure
```
-.github/plugin/marketplace.json Marketplace manifest
-plugins/
- mcp-auth/
- agents/ Copilot agents
- skills/ Copilot skills
- .github/plugin/plugin.json Plugin manifest
- .mcp.json MCP server config
-AGENTS.md Non-negotiable rules for contributors
+.
+├── plugins/
+│ ├── agentkit/ # AI agent authentication (AgentKit)
+│ └── saaskit/ # B2B SaaS authentication (SaaSKit)
+├── images/ # Documentation images
+├── AGENTS.md # Contribution guidelines
+└── LICENSE # MIT License
```
---
@@ -89,7 +73,7 @@ AGENTS.md Non-negotiable rules for contributors
- [Scalekit account](https://scalekit.com) with `client_id` and `client_secret`
- GitHub Copilot CLI installed and configured
-- Project where you want to add MCP authentication
+- Project where you want to add authentication
---
diff --git a/plugins/agent-auth/.github/plugin/plugin.json b/plugins/agent-auth/.github/plugin/plugin.json
deleted file mode 100644
index 90227e8..0000000
--- a/plugins/agent-auth/.github/plugin/plugin.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "agent-auth",
- "description": "Implements Scalekit Agent Auth so AI agents can act in third-party apps (Gmail, Slack, Calendar, Notion) on behalf of users.",
- "version": "1.6.0",
- "author": {
- "name": "Scalekit Inc",
- "email": "support@scalekit.com"
- },
- "homepage": "https://docs.scalekit.com",
- "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
- "license": "MIT",
- "keywords": ["scalekit", "agent-auth", "oauth", "connected-accounts"],
- "agents": [
- "./agents"
- ],
- "skills": [
- "./skills/agent-auth",
- "./skills/building-agent-mcp-server",
- "./skills/production-readiness-scalekit"
- ],
- "mcpServers": ".mcp.json"
-}
diff --git a/plugins/agent-auth/README.md b/plugins/agent-auth/README.md
deleted file mode 100644
index 044ce9a..0000000
--- a/plugins/agent-auth/README.md
+++ /dev/null
@@ -1,95 +0,0 @@
-# agent-auth
-
-## Purpose
-
-This plugin implements Scalekit Agent Auth, enabling AI agents to act in third-party applications (Gmail, Slack, Google Calendar, Notion, and others) on behalf of users. It handles OAuth flows, connected account management, token storage, and automatic refresh so agents can make authenticated API calls without user intervention.
-
-## Installation
-
-```bash
-# Add the marketplace
-copilot plugin marketplace add scalekit-inc/github-copilot-authstack
-
-# Install this plugin
-copilot plugin install agent-auth
-```
-
-## Components Reference
-
-### Agents
-
-| Agent | Purpose |
-|---|---|
-| `setup-scalekit` | Sets up Scalekit env vars, installs and initializes the SDK, and verifies credentials |
-
-### Skills
-
-| Skill | Purpose |
-|---|---|
-| `agent-auth` | Integrates Scalekit Agent Auth: OAuth flows, token storage, and automatic refresh for third-party services |
-| `building-agent-mcp-server` | Guides through creating a Scalekit MCP server with authenticated tool access |
-| `production-readiness-scalekit` | Structured production readiness checklist for Scalekit agent authentication implementations |
-
-### MCP Server
-
-Configured in `.mcp.json` — connects to the Scalekit MCP server at `https://mcp.scalekit.com` via `mcp-remote`.
-
-### References
-
-The `references/` directory contains connector guides for 30+ services (Gmail, Slack, Notion, HubSpot, Salesforce, Google Calendar, and more) and conceptual documentation on connected accounts, OAuth flows, and BYOC (bring your own credentials) patterns.
-
-## Configuration
-
-Required environment variables:
-
-```bash
-SCALEKIT_ENVIRONMENT_URL=https://your-env.scalekit.com
-SCALEKIT_CLIENT_ID=your_client_id
-SCALEKIT_CLIENT_SECRET=your_client_secret
-```
-
-Use the `setup-scalekit` agent to configure these automatically:
-
-```bash
-copilot setup-scalekit "Set up Scalekit for my AI agent project"
-```
-
-## Usage Examples
-
-### Connect an agent to Gmail
-
-```
-copilot "I need my AI agent to read and send Gmail on behalf of users"
-```
-
-The `agent-auth` skill activates and guides through registering a Gmail connector, initiating the OAuth authorization flow, storing tokens, and making authenticated Gmail API calls.
-
-### Build an authenticated MCP server
-
-```
-copilot "Help me build an MCP server with Scalekit authentication"
-```
-
-The `building-agent-mcp-server` skill guides through creating the MCP server, configuring Scalekit as the auth provider, and exposing authenticated tools.
-
-## Troubleshooting
-
-**OAuth flow not completing**: Verify the redirect URL registered in the Scalekit dashboard matches your application's callback endpoint exactly. Check `references/redirects.md` for URI validation requirements.
-
-**Token refresh failing**: Confirm the refresh token was stored correctly during the initial OAuth exchange. The `agent-auth` skill covers secure token storage patterns per framework.
-
-**Connected account not found**: Ensure the user completed the full OAuth consent flow. Connected accounts appear in the Scalekit dashboard under the relevant organization once authorization is complete.
-
-## Security
-
-**Required credentials:**
-- `SCALEKIT_ENVIRONMENT_URL` — your Scalekit environment URL
-- `SCALEKIT_CLIENT_ID` — OAuth client ID
-- `SCALEKIT_CLIENT_SECRET` — OAuth client secret (treat as a password)
-
-**Storage:**
-- Store secrets in environment variables or a secrets manager
-- Never commit secrets to source control
-- Third-party OAuth tokens (access/refresh) must be stored encrypted at rest
-
-The plugin itself contains no hardcoded credentials. All MCP server config uses `${ENV_VAR}` placeholders.
diff --git a/plugins/agentkit/.github/plugin/plugin.json b/plugins/agentkit/.github/plugin/plugin.json
new file mode 100644
index 0000000..fc6cbf7
--- /dev/null
+++ b/plugins/agentkit/.github/plugin/plugin.json
@@ -0,0 +1,22 @@
+{
+ "name": "agentkit",
+ "description": "Authentication for AI agents. OAuth flows, token vault, 40+ connectors (Gmail, Slack, Salesforce, etc.), tool discovery, and live testing — so agents can act on behalf of users.",
+ "version": "2.0.0",
+ "author": {
+ "name": "Scalekit Inc",
+ "email": "support@scalekit.com"
+ },
+ "homepage": "https://docs.scalekit.com/agentkit/overview.md",
+ "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
+ "license": "MIT",
+ "keywords": ["scalekit", "agentkit", "agent-auth", "oauth", "connectors", "tool-calling"],
+ "agents": ["./agents"],
+ "skills": [
+ "./skills/integrating-agentkit",
+ "./skills/discovering-connector-tools",
+ "./skills/testing-agentkit-tools",
+ "./skills/exposing-agentkit-via-mcp",
+ "./skills/production-readiness-agentkit"
+ ],
+ "mcpServers": ".mcp.json"
+}
diff --git a/plugins/agent-auth/.mcp.json b/plugins/agentkit/.mcp.json
similarity index 100%
rename from plugins/agent-auth/.mcp.json
rename to plugins/agentkit/.mcp.json
diff --git a/plugins/agentkit/README.md b/plugins/agentkit/README.md
new file mode 100644
index 0000000..d998594
--- /dev/null
+++ b/plugins/agentkit/README.md
@@ -0,0 +1,27 @@
+# AgentKit for GitHub Copilot
+
+Authentication for AI agents. This plugin brings Scalekit AgentKit into Codex so agents can connect users to third-party apps, discover the right tools, and execute authenticated tool calls on their behalf.
+
+AgentKit handles the full OAuth lifecycle — authorization, token vault, and automatic refresh — across 40+ connectors (Gmail, Slack, Salesforce, Notion, and more).
+
+## Skills
+
+- `integrating-agentkit` — Core integration: SDK setup, connected accounts, OAuth flows, token fetching, downstream API calls, and agent framework examples.
+- `discovering-connector-tools` — Uses live AgentKit metadata to find tools, inspect schemas, and narrow the tool set.
+- `testing-agentkit-tools` — Generates authorization links, fetches live tool metadata, and executes tools.
+- `exposing-agentkit-via-mcp` — Exposes AgentKit tools through MCP for MCP-compatible runtimes.
+- `production-readiness-agentkit` — Structured production readiness checklist for AgentKit integrations.
+
+## Configuration
+
+Required environment variables:
+
+- `SCALEKIT_ENV_URL`
+- `SCALEKIT_CLIENT_ID`
+- `SCALEKIT_CLIENT_SECRET`
+
+## Links
+
+- [AgentKit overview](https://docs.scalekit.com/agentkit/overview.md)
+- [AgentKit quickstart](https://docs.scalekit.com/agentkit/quickstart.md)
+- [LLM docs map](https://docs.scalekit.com/llms.txt)
diff --git a/plugins/agent-auth/agents/setup-scalekit.md b/plugins/agentkit/agents/setup-scalekit.md
similarity index 99%
rename from plugins/agent-auth/agents/setup-scalekit.md
rename to plugins/agentkit/agents/setup-scalekit.md
index 7227f6f..ed43763 100644
--- a/plugins/agent-auth/agents/setup-scalekit.md
+++ b/plugins/agentkit/agents/setup-scalekit.md
@@ -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).
diff --git a/plugins/agent-auth/references/agent-connectors/README.md b/plugins/agentkit/references/agent-connectors/README.md
similarity index 96%
rename from plugins/agent-auth/references/agent-connectors/README.md
rename to plugins/agentkit/references/agent-connectors/README.md
index a91420e..337bfb4 100644
--- a/plugins/agent-auth/references/agent-connectors/README.md
+++ b/plugins/agentkit/references/agent-connectors/README.md
@@ -57,7 +57,7 @@ Each connector documentation includes:
## Authentication
-All connectors support OAuth 2.0 authentication through the Agent Auth platform. You'll need to:
+Most connectors use OAuth 2.0 authentication through the AgentKit platform; some use API Key or Basic Auth. You'll need to:
1. Create a connection for the desired service
2. Configure OAuth credentials in your connection
diff --git a/plugins/agent-auth/references/agent-connectors/airtable.md b/plugins/agentkit/references/agent-connectors/airtable.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/airtable.md
rename to plugins/agentkit/references/agent-connectors/airtable.md
diff --git a/plugins/agent-auth/references/agent-connectors/asana.md b/plugins/agentkit/references/agent-connectors/asana.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/asana.md
rename to plugins/agentkit/references/agent-connectors/asana.md
diff --git a/plugins/agent-auth/references/agent-connectors/bigquery.md b/plugins/agentkit/references/agent-connectors/bigquery.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/bigquery.md
rename to plugins/agentkit/references/agent-connectors/bigquery.md
diff --git a/plugins/agent-auth/references/agent-connectors/clickup.md b/plugins/agentkit/references/agent-connectors/clickup.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/clickup.md
rename to plugins/agentkit/references/agent-connectors/clickup.md
diff --git a/plugins/agent-auth/references/agent-connectors/confluence.md b/plugins/agentkit/references/agent-connectors/confluence.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/confluence.md
rename to plugins/agentkit/references/agent-connectors/confluence.md
diff --git a/plugins/agent-auth/references/agent-connectors/dropbox.md b/plugins/agentkit/references/agent-connectors/dropbox.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/dropbox.md
rename to plugins/agentkit/references/agent-connectors/dropbox.md
diff --git a/plugins/agent-auth/references/agent-connectors/fathom.md b/plugins/agentkit/references/agent-connectors/fathom.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/fathom.md
rename to plugins/agentkit/references/agent-connectors/fathom.md
diff --git a/plugins/agent-auth/references/agent-connectors/freshdesk.md b/plugins/agentkit/references/agent-connectors/freshdesk.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/freshdesk.md
rename to plugins/agentkit/references/agent-connectors/freshdesk.md
diff --git a/plugins/agent-auth/references/agent-connectors/github.md b/plugins/agentkit/references/agent-connectors/github.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/github.md
rename to plugins/agentkit/references/agent-connectors/github.md
diff --git a/plugins/agent-auth/references/agent-connectors/gmail.md b/plugins/agentkit/references/agent-connectors/gmail.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/gmail.md
rename to plugins/agentkit/references/agent-connectors/gmail.md
diff --git a/plugins/agent-auth/references/agent-connectors/gong.md b/plugins/agentkit/references/agent-connectors/gong.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/gong.md
rename to plugins/agentkit/references/agent-connectors/gong.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_ads.md b/plugins/agentkit/references/agent-connectors/google_ads.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_ads.md
rename to plugins/agentkit/references/agent-connectors/google_ads.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_docs.md b/plugins/agentkit/references/agent-connectors/google_docs.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_docs.md
rename to plugins/agentkit/references/agent-connectors/google_docs.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_drive.md b/plugins/agentkit/references/agent-connectors/google_drive.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_drive.md
rename to plugins/agentkit/references/agent-connectors/google_drive.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_forms.md b/plugins/agentkit/references/agent-connectors/google_forms.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_forms.md
rename to plugins/agentkit/references/agent-connectors/google_forms.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_meets.md b/plugins/agentkit/references/agent-connectors/google_meets.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_meets.md
rename to plugins/agentkit/references/agent-connectors/google_meets.md
diff --git a/plugins/agent-auth/references/agent-connectors/google_sheets.md b/plugins/agentkit/references/agent-connectors/google_sheets.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/google_sheets.md
rename to plugins/agentkit/references/agent-connectors/google_sheets.md
diff --git a/plugins/agent-auth/references/agent-connectors/googlecalendar.md b/plugins/agentkit/references/agent-connectors/googlecalendar.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/googlecalendar.md
rename to plugins/agentkit/references/agent-connectors/googlecalendar.md
diff --git a/plugins/agent-auth/references/agent-connectors/hubspot.md b/plugins/agentkit/references/agent-connectors/hubspot.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/hubspot.md
rename to plugins/agentkit/references/agent-connectors/hubspot.md
diff --git a/plugins/agent-auth/references/agent-connectors/intercom.md b/plugins/agentkit/references/agent-connectors/intercom.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/intercom.md
rename to plugins/agentkit/references/agent-connectors/intercom.md
diff --git a/plugins/agent-auth/references/agent-connectors/jira.md b/plugins/agentkit/references/agent-connectors/jira.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/jira.md
rename to plugins/agentkit/references/agent-connectors/jira.md
diff --git a/plugins/agent-auth/references/agent-connectors/linear.md b/plugins/agentkit/references/agent-connectors/linear.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/linear.md
rename to plugins/agentkit/references/agent-connectors/linear.md
diff --git a/plugins/agent-auth/references/agent-connectors/microsoft_excel.md b/plugins/agentkit/references/agent-connectors/microsoft_excel.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/microsoft_excel.md
rename to plugins/agentkit/references/agent-connectors/microsoft_excel.md
diff --git a/plugins/agent-auth/references/agent-connectors/microsoft_teams.md b/plugins/agentkit/references/agent-connectors/microsoft_teams.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/microsoft_teams.md
rename to plugins/agentkit/references/agent-connectors/microsoft_teams.md
diff --git a/plugins/agent-auth/references/agent-connectors/microsoft_word.md b/plugins/agentkit/references/agent-connectors/microsoft_word.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/microsoft_word.md
rename to plugins/agentkit/references/agent-connectors/microsoft_word.md
diff --git a/plugins/agent-auth/references/agent-connectors/monday.md b/plugins/agentkit/references/agent-connectors/monday.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/monday.md
rename to plugins/agentkit/references/agent-connectors/monday.md
diff --git a/plugins/agent-auth/references/agent-connectors/notion.md b/plugins/agentkit/references/agent-connectors/notion.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/notion.md
rename to plugins/agentkit/references/agent-connectors/notion.md
diff --git a/plugins/agent-auth/references/agent-connectors/onedrive.md b/plugins/agentkit/references/agent-connectors/onedrive.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/onedrive.md
rename to plugins/agentkit/references/agent-connectors/onedrive.md
diff --git a/plugins/agent-auth/references/agent-connectors/onenote.md b/plugins/agentkit/references/agent-connectors/onenote.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/onenote.md
rename to plugins/agentkit/references/agent-connectors/onenote.md
diff --git a/plugins/agent-auth/references/agent-connectors/outlook.md b/plugins/agentkit/references/agent-connectors/outlook.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/outlook.md
rename to plugins/agentkit/references/agent-connectors/outlook.md
diff --git a/plugins/agent-auth/references/agent-connectors/salesforce.md b/plugins/agentkit/references/agent-connectors/salesforce.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/salesforce.md
rename to plugins/agentkit/references/agent-connectors/salesforce.md
diff --git a/plugins/agent-auth/references/agent-connectors/servicenow.md b/plugins/agentkit/references/agent-connectors/servicenow.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/servicenow.md
rename to plugins/agentkit/references/agent-connectors/servicenow.md
diff --git a/plugins/agent-auth/references/agent-connectors/sharepoint.md b/plugins/agentkit/references/agent-connectors/sharepoint.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/sharepoint.md
rename to plugins/agentkit/references/agent-connectors/sharepoint.md
diff --git a/plugins/agent-auth/references/agent-connectors/slack.md b/plugins/agentkit/references/agent-connectors/slack.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/slack.md
rename to plugins/agentkit/references/agent-connectors/slack.md
diff --git a/plugins/agent-auth/references/agent-connectors/snowflake.md b/plugins/agentkit/references/agent-connectors/snowflake.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/snowflake.md
rename to plugins/agentkit/references/agent-connectors/snowflake.md
diff --git a/plugins/agent-auth/references/agent-connectors/trello.md b/plugins/agentkit/references/agent-connectors/trello.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/trello.md
rename to plugins/agentkit/references/agent-connectors/trello.md
diff --git a/plugins/agent-auth/references/agent-connectors/zendesk.md b/plugins/agentkit/references/agent-connectors/zendesk.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/zendesk.md
rename to plugins/agentkit/references/agent-connectors/zendesk.md
diff --git a/plugins/agent-auth/references/agent-connectors/zoom.md b/plugins/agentkit/references/agent-connectors/zoom.md
similarity index 100%
rename from plugins/agent-auth/references/agent-connectors/zoom.md
rename to plugins/agentkit/references/agent-connectors/zoom.md
diff --git a/plugins/agent-auth/references/byoc.md b/plugins/agentkit/references/byoc.md
similarity index 100%
rename from plugins/agent-auth/references/byoc.md
rename to plugins/agentkit/references/byoc.md
diff --git a/plugins/agent-auth/references/code-samples.md b/plugins/agentkit/references/code-samples.md
similarity index 100%
rename from plugins/agent-auth/references/code-samples.md
rename to plugins/agentkit/references/code-samples.md
diff --git a/plugins/agent-auth/references/connected-accounts.md b/plugins/agentkit/references/connected-accounts.md
similarity index 100%
rename from plugins/agent-auth/references/connected-accounts.md
rename to plugins/agentkit/references/connected-accounts.md
diff --git a/plugins/agent-auth/references/connections.md b/plugins/agentkit/references/connections.md
similarity index 100%
rename from plugins/agent-auth/references/connections.md
rename to plugins/agentkit/references/connections.md
diff --git a/plugins/agent-auth/references/providers.md b/plugins/agentkit/references/providers.md
similarity index 100%
rename from plugins/agent-auth/references/providers.md
rename to plugins/agentkit/references/providers.md
diff --git a/plugins/agent-auth/references/redirects.md b/plugins/agentkit/references/redirects.md
similarity index 100%
rename from plugins/agent-auth/references/redirects.md
rename to plugins/agentkit/references/redirects.md
diff --git a/plugins/agentkit/skills/discovering-connector-tools/SKILL.md b/plugins/agentkit/skills/discovering-connector-tools/SKILL.md
new file mode 100644
index 0000000..1796077
--- /dev/null
+++ b/plugins/agentkit/skills/discovering-connector-tools/SKILL.md
@@ -0,0 +1,55 @@
+---
+name: discovering-connector-tools
+description: Discovers live tools for a Scalekit AgentKit connector and explains their input and output schemas. Use when a user asks what tools are available for Gmail, Slack, Salesforce, or another connector, wants to inspect input_schema or output_schema, or needs help narrowing the tool set for an agent.
+---
+
+# Discovering Connector Tools
+
+Use live AgentKit metadata as the source of truth for tool names, required inputs, and output schemas.
+
+Do not rely on the static connector notes as a complete catalog. Those files are curated reference material and may lag the live platform.
+
+## When to use this skill
+
+Use this skill when the user asks:
+
+- what tools exist for a connector
+- which tool should the agent use
+- what inputs a tool requires
+- what output shape a tool returns
+- how to reduce the tool set before giving tools to an LLM
+
+## Discovery workflow
+
+1. Identify the target connector or exact tool name.
+2. Use the Scalekit MCP server or SDK to fetch live tool metadata.
+3. Summarize:
+ - tool name
+ - connector
+ - what the tool does
+ - required fields from `input_schema.required`
+ - optional fields from `input_schema.properties`
+ - important fields from `output_schema.properties`
+4. Recommend the smallest useful tool set for the workflow.
+5. If live credentials are unavailable, use the connector notes only as a fallback and say they may be stale.
+
+## Terminology
+
+- `connector`: Gmail, Slack, Salesforce, Notion, or a custom connector
+- `connection`: the exact dashboard configuration name used for authorization
+- `connected account`: the per-user authorized record
+- `tool`: the executable action exposed by a connector
+
+Use `connector` in explanations. Only use `provider` when the SDK or API filter field literally expects that name.
+
+## What to emphasize
+
+- `connection_name` is the exact dashboard value and may not equal the connector slug.
+- Tool metadata is the durable way to determine current inputs and outputs.
+- Restrict the tool set before handing it to an LLM. Fewer relevant tools improve tool selection and parameter filling.
+
+## Deep reference
+
+- Connector reference: [../../references/agent-connectors/README.md](../../references/agent-connectors/README.md)
+- Connected accounts lifecycle: [../../references/connected-accounts.md](../../references/connected-accounts.md)
+- Code samples: [../../references/code-samples.md](../../references/code-samples.md)
diff --git a/plugins/agent-auth/skills/building-agent-mcp-server/SKILL.md b/plugins/agentkit/skills/exposing-agentkit-via-mcp/SKILL.md
similarity index 99%
rename from plugins/agent-auth/skills/building-agent-mcp-server/SKILL.md
rename to plugins/agentkit/skills/exposing-agentkit-via-mcp/SKILL.md
index b8e85b7..20b19e6 100644
--- a/plugins/agent-auth/skills/building-agent-mcp-server/SKILL.md
+++ b/plugins/agentkit/skills/exposing-agentkit-via-mcp/SKILL.md
@@ -1,5 +1,5 @@
---
-name: building-agent-mcp-server
+name: exposing-agentkit-via-mcp
description: Guides developers through creating a Scalekit MCP server with authenticated tool access. Use when building an MCP server, exposing Scalekit tools over MCP, or connecting AI agents via LangChain/LangGraph MCP adapters.
---
diff --git a/plugins/agent-auth/skills/agent-auth/SKILL.md b/plugins/agentkit/skills/integrating-agentkit/SKILL.md
similarity index 94%
rename from plugins/agent-auth/skills/agent-auth/SKILL.md
rename to plugins/agentkit/skills/integrating-agentkit/SKILL.md
index 05bf999..d338e27 100644
--- a/plugins/agent-auth/skills/agent-auth/SKILL.md
+++ b/plugins/agentkit/skills/integrating-agentkit/SKILL.md
@@ -1,6 +1,6 @@
---
-name: integrating-agent-auth
-description: Integrates Scalekit Agent Auth into a project to handle OAuth flows, token storage, and automatic refresh for third-party services (Gmail, Slack, Notion, Calendar). Use when a user needs to connect to an external service, authorize OAuth access, fetch access or refresh tokens, or execute API calls on behalf of a user.
+name: integrating-agentkit
+description: Integrates Scalekit AgentKit into a project to handle OAuth flows, token storage, and automatic refresh for third-party connectors (Gmail, Slack, Notion, Calendar, and 40+ more). Use when a user needs to connect to an external service, authorize OAuth access, fetch access or refresh tokens, execute API calls on behalf of a user, or build agents with LangChain or Google ADK.
---
# Agent Auth Integration
@@ -39,7 +39,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';
@@ -223,7 +223,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 the [agent connectors reference](../../references/agent-connectors/README.md).
## Building agents
diff --git a/plugins/agent-auth/skills/production-readiness-scalekit/SKILL.md b/plugins/agentkit/skills/production-readiness-agentkit/SKILL.md
similarity index 80%
rename from plugins/agent-auth/skills/production-readiness-scalekit/SKILL.md
rename to plugins/agentkit/skills/production-readiness-agentkit/SKILL.md
index 152ffd3..4f9ea78 100644
--- a/plugins/agent-auth/skills/production-readiness-scalekit/SKILL.md
+++ b/plugins/agentkit/skills/production-readiness-agentkit/SKILL.md
@@ -1,9 +1,9 @@
---
-name: production-readiness-scalekit
-description: Walks through a structured production readiness checklist for Scalekit agent authentication implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their agent OAuth implementation is production-ready.
+name: production-readiness-agentkit
+description: Walks through a structured production readiness checklist for Scalekit AgentKit implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their AgentKit authorization and tool-calling setup is production-ready.
---
-# Scalekit Agent Auth Production Readiness
+# Scalekit AgentKit Production Readiness
Work through each section in order — earlier sections are blockers for later ones.
@@ -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
+
+- Connections: [../../references/connections.md](../../references/connections.md)
+- Connected accounts: [../../references/connected-accounts.md](../../references/connected-accounts.md)
+- BYOC: [../../references/byoc.md](../../references/byoc.md)
diff --git a/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md b/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md
new file mode 100644
index 0000000..4d55bc9
--- /dev/null
+++ b/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md
@@ -0,0 +1,93 @@
+---
+name: testing-agentkit-tools
+description: Tests live Scalekit AgentKit flows by generating authorization links, fetching tool metadata, and executing a tool for a connected account. Use when a user wants to validate a connector, inspect the exact payload for execute_tool, or build a workflow step by step.
+---
+
+# Testing AgentKit Tools
+
+This skill is the live playground for AgentKit. Use it to:
+
+- generate an authorization link for a connection
+- fetch live tool metadata for a connector or tool name
+- execute a tool with real inputs
+- inspect the exact JSON payload sent to AgentKit
+
+## Prerequisites
+
+Confirm the environment variables are available:
+- `SCALEKIT_ENV_URL`
+- `SCALEKIT_CLIENT_ID`
+- `SCALEKIT_CLIENT_SECRET`
+
+## Operations
+
+### Generate authorization link
+
+Creates or fetches the connected account and prints an authorization link if the account is not yet `ACTIVE`.
+
+**Python**
+```python
+response = actions.get_or_create_connected_account(
+ connection_name="",
+ identifier=""
+)
+if response.connected_account.status != "ACTIVE":
+ link_response = actions.get_authorization_link(
+ connection_name="",
+ identifier=""
+ )
+ print("Authorize here:", link_response.link)
+```
+
+### Fetch tool metadata
+
+Fetches live tool metadata. Omitting `tool_name` returns all matching tools for the filter.
+
+**Python**
+```python
+tools = actions.get_tools(providers=["GMAIL"], page_size=100)
+for tool in tools:
+ print(tool.name, tool.input_schema)
+```
+
+**Node.js**
+```typescript
+const tools = await scalekitClient.connectedAccounts.getTools({
+ providers: ['GMAIL'],
+ pageSize: 100,
+});
+```
+
+### Execute a tool
+
+Creates or fetches the connected account, prints an authorization link if needed, and executes the tool.
+
+**Python**
+```python
+result = actions.execute_tool(
+ tool_name="gmail_fetch_mails",
+ connection_name="",
+ identifier="",
+ tool_input={"query": "is:unread", "max_results": 5}
+)
+```
+
+## Default workflow
+
+1. Discover the tool first when the schema is unknown.
+2. Generate an authorization link if the connected account is not `ACTIVE`.
+3. Execute the tool with the smallest valid `tool_input`.
+4. Show the exact command and payload used so the user can translate it into app code.
+
+## Guardrails
+
+- Treat live metadata as the source of truth for `input_schema` and `output_schema`.
+- Do not assume the dashboard `connection_name` matches the connector slug.
+- Ask for missing credentials instead of inventing placeholder values.
+- Keep the tool set constrained to the current workflow.
+
+## Deep reference
+
+- Integration workflow: [../integrating-agentkit/SKILL.md](../integrating-agentkit/SKILL.md)
+- Connector reference: [../../references/agent-connectors/README.md](../../references/agent-connectors/README.md)
+- Connected accounts: [../../references/connected-accounts.md](../../references/connected-accounts.md)
diff --git a/plugins/full-stack-auth/.github/plugin/plugin.json b/plugins/full-stack-auth/.github/plugin/plugin.json
deleted file mode 100644
index 01305bc..0000000
--- a/plugins/full-stack-auth/.github/plugin/plugin.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "full-stack-auth",
- "description": "Production-ready authentication flows (sign-up, login, logout, sessions) using Scalekit full-stack auth across common stacks.",
- "version": "1.3.4",
- "author": {
- "name": "Scalekit Inc",
- "email": "support@scalekit.com"
- },
- "homepage": "https://docs.scalekit.com",
- "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
- "license": "MIT",
- "keywords": ["authentication", "oauth", "full-stack", "sessions"],
- "agents": [
- "./agents"
- ],
- "skills": [
- "./skills/full-stack-auth",
- "./skills/implementing-scalekit-nextjs-auth",
- "./skills/implementing-scalekit-django-auth",
- "./skills/implementing-scalekit-go-auth",
- "./skills/adding-api-key-auth",
- "./skills/adding-oauth2-to-apis",
- "./skills/manage-user-sessions",
- "./skills/implementing-access-control",
- "./skills/implementing-admin-portal",
- "./skills/implement-logout",
- "./skills/migrating-to-scalekit-auth",
- "./skills/production-readiness-scalekit"
- ],
- "mcpServers": ".mcp.json"
-}
diff --git a/plugins/full-stack-auth/README.md b/plugins/full-stack-auth/README.md
deleted file mode 100644
index 69661f5..0000000
--- a/plugins/full-stack-auth/README.md
+++ /dev/null
@@ -1,111 +0,0 @@
-# full-stack-auth
-
-## Purpose
-
-This plugin implements production-ready authentication flows — sign-up, login, logout, and secure session management — using Scalekit's full-stack auth SDK. It covers common application stacks (Next.js, Django, Go, Spring Boot, Laravel) and enterprise concerns such as SSO, SCIM, API key auth, OAuth2 for APIs, access control, and user migration.
-
-## Installation
-
-```bash
-# Add the marketplace
-copilot plugin marketplace add scalekit-inc/github-copilot-authstack
-
-# Install this plugin
-copilot plugin install full-stack-auth
-```
-
-## Components Reference
-
-### Agents
-
-| Agent | Purpose |
-|---|---|
-| `setup-scalekit` | Sets up Scalekit env vars, installs and initializes the SDK, and verifies credentials |
-| `session-management-reviewer` | Reviews existing session management implementation and suggests improvements using Scalekit |
-| `sdk-version-advisor` | Determines the current tech stack and recommends the correct Scalekit SDK version |
-| `scalekit-mcp-helper` | Helps configure Scalekit MCP client settings for Claude Desktop, Cursor, Windsurf, and VS Code |
-
-### Skills
-
-| Skill | Purpose |
-|---|---|
-| `full-stack-auth` | Implements full-stack authentication: sign-up, login, logout, OAuth callback, token refresh |
-| `implementing-scalekit-nextjs-auth` | Adds Scalekit auth to Next.js App Router projects |
-| `implementing-scalekit-django-auth` | Adds Scalekit auth to Django projects |
-| `implementing-scalekit-go-auth` | Adds Scalekit auth to Go/Gin projects |
-| `adding-api-key-auth` | Creates and validates long-lived opaque API keys using Scalekit |
-| `adding-oauth2-to-apis` | Implements OAuth 2.0 client-credentials auth on API endpoints |
-| `manage-user-sessions` | Manages Scalekit-backed user sessions with secure cookie storage and token refresh |
-| `implementing-access-control` | Implements server-side RBAC and permission checks using Scalekit tokens |
-| `implementing-admin-portal` | Embeds Scalekit's admin portal for customer self-serve SSO/SCIM configuration |
-| `implement-logout` | Implements complete logout flow clearing application cookies and Scalekit sessions |
-| `migrating-to-scalekit-auth` | Plans and executes incremental migration from any existing auth system to Scalekit |
-| `production-readiness-scalekit` | Structured production readiness checklist for Scalekit auth implementations |
-
-### MCP Server
-
-Configured in `.mcp.json` — connects to the Scalekit MCP server at `https://mcp.scalekit.com` via `mcp-remote`.
-
-## Configuration
-
-Required environment variables:
-
-```bash
-SCALEKIT_ENVIRONMENT_URL=https://your-env.scalekit.com
-SCALEKIT_CLIENT_ID=your_client_id
-SCALEKIT_CLIENT_SECRET=your_client_secret
-```
-
-Use the `setup-scalekit` agent to configure these automatically:
-
-```bash
-copilot setup-scalekit "Set up Scalekit for my Next.js app"
-```
-
-## Usage Examples
-
-### Add authentication to a Next.js app
-
-```
-copilot "Add Scalekit authentication to my Next.js App Router project"
-```
-
-The `implementing-scalekit-nextjs-auth` skill activates and guides through login routes, OAuth callback, session storage, middleware protection, and logout.
-
-### Review session management
-
-```
-copilot session-management-reviewer "Review my session handling code"
-```
-
-The agent analyzes existing session middleware and suggests Scalekit-backed improvements.
-
-### Protect an API with OAuth2
-
-```
-copilot "Add OAuth2 client credentials auth to my REST API"
-```
-
-The `adding-oauth2-to-apis` skill guides through registering API clients, issuing bearer tokens, validating JWTs via JWKS, and enforcing scopes in middleware.
-
-## Troubleshooting
-
-**Skill not triggering**: Ensure `SKILL.md` frontmatter includes the correct `name` field. Reinstall the plugin if needed with `copilot plugin update full-stack-auth`.
-
-**Token validation failures**: Verify `SCALEKIT_ENVIRONMENT_URL` matches the environment issuer. Check that your redirect URLs are registered in the Scalekit dashboard under Authentication > Redirects.
-
-**Session not persisting**: Confirm session cookies use `httpOnly`, `secure`, and `sameSite` flags. The `manage-user-sessions` skill covers correct cookie configuration for each framework.
-
-## Security
-
-**Required credentials:**
-- `SCALEKIT_ENVIRONMENT_URL` — your Scalekit environment URL
-- `SCALEKIT_CLIENT_ID` — OAuth client ID
-- `SCALEKIT_CLIENT_SECRET` — OAuth client secret (treat as a password)
-
-**Storage:**
-- Store secrets in environment variables or a secrets manager (AWS Secrets Manager, HashiCorp Vault, etc.)
-- Never commit secrets to source control
-- Use `.env` files locally and inject secrets via CI/CD in production
-
-The plugin itself contains no hardcoded credentials. All MCP server config uses `${ENV_VAR}` placeholders.
diff --git a/plugins/full-stack-auth/commands/dryrun.md b/plugins/full-stack-auth/commands/dryrun.md
deleted file mode 100644
index 984828a..0000000
--- a/plugins/full-stack-auth/commands/dryrun.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-description: Run Scalekit dryrun in fsa
-argument-hint: " [organization_id]"
-allowed-tools: Bash(node *), Bash(npx *)
----
-
-Run Scalekit dryrun with explicit arguments.
-
-Expected arguments:
-1. mode (`fsa`)
-2. env_url
-3. client_id
-4. organization_id (required only for `sso`)
-
-Behavior:
-- If mode is `fsa`, run:
- `npx @scalekit-sdk/dryrun --env_url= --client_id= --mode=fsa`
-- If mode is `sso`, run:
- `npx @scalekit-sdk/dryrun --env_url= --client_id= --mode=sso --organization_id=`
-- If mode is missing/invalid, explain the usage and ask for valid arguments.
-- If `sso` is selected but organization_id is missing, ask for it before running.
diff --git a/plugins/full-stack-auth/skills/adding-oauth2-to-apis/SKILL.md b/plugins/full-stack-auth/skills/adding-oauth2-to-apis/SKILL.md
deleted file mode 100644
index 4ecedea..0000000
--- a/plugins/full-stack-auth/skills/adding-oauth2-to-apis/SKILL.md
+++ /dev/null
@@ -1,232 +0,0 @@
----
-name: adding-oauth2-to-apis
-description: >
- Implements OAuth 2.0 client-credentials authentication on API endpoints using
- Scalekit as the authorization server. Use when protecting APIs with
- machine-to-machine auth, registering API clients for organizations, issuing
- bearer tokens, validating JWTs via JWKS, or enforcing scopes in middleware.
----
-
-# Adding OAuth 2.0 to APIs (Scalekit)
-
-## Flow overview
-
-```
-Register client (your app) → Issue client_id + secret (Scalekit) →
-API client fetches bearer token → Your server validates JWT + scopes
-```
-
-Security-critical steps (token validation, scope enforcement) use **low freedom** — follow them exactly.
-
----
-
-## 1. Install
-
-```bash
-pip install scalekit-sdk-python
-# or
-npm install @scalekit-sdk/node
-```
-
-Initialize once and reuse:
-
-```python
-from scalekit import ScalekitClient
-import os
-
-scalekit_client = ScalekitClient(
- env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
- client_id=os.getenv("SCALEKIT_CLIENT_ID"),
- client_secret=os.getenv("SCALEKIT_CLIENT_SECRET")
-)
-```
-
-Required env vars: `SCALEKIT_ENVIRONMENT_URL`, `SCALEKIT_CLIENT_ID`, `SCALEKIT_CLIENT_SECRET`.
-
----
-
-## 2. Register an API client for an organization
-
-One organization can have multiple API clients. Registration returns `client_id` and `plain_secret` — **`plain_secret` is shown only once; never stored by Scalekit**.
-
-```python
-from scalekit.v1.clients.clients_pb2 import OrganizationClient
-
-response = scalekit_client.m2m_client.create_organization_client(
- organization_id="",
- m2m_client=OrganizationClient(
- name="GitHub Actions Deployment Service",
- description="Deploys to production via GitHub Actions",
- scopes=["deploy:applications", "read:deployments"], # resource:action pattern
- audience=["deployment-api.acmecorp.com"],
- custom_claims=[
- {"key": "github_repository", "value": "acmecorp/inventory-service"},
- {"key": "environment", "value": "production_us"}
- ],
- expiry=3600 # seconds; default 3600
- )
-)
-
-client_id = response.client.client_id
-plain_secret = response.plain_secret # store this securely; not retrievable again
-```
-
-**cURL equivalent** (if not using SDK):
-
-```bash
-curl -X POST "$SCALEKIT_ENVIRONMENT_URL/api/v1/organizations//clients" \
- -H "Content-Type: application/json" \
- -H "Authorization: Bearer " \
- -d '{
- "name": "GitHub Actions Deployment Service",
- "scopes": ["deploy:applications", "read:deployments"],
- "audience": ["deployment-api.acmecorp.com"],
- "expiry": 3600
- }'
-```
-
-> Scope naming convention: use `resource:action` (e.g. `deployments:read`, `applications:create`).
-
----
-
-## 3. API client fetches a bearer token
-
-This step runs inside the **API client's** code, not your server. Shown here for reference.
-
-```bash
-curl -X POST "$SCALEKIT_ENVIRONMENT_URL/oauth/token" \
- -H "Content-Type: application/x-www-form-urlencoded" \
- -d "grant_type=client_credentials" \
- -d "client_id=" \
- -d "client_secret="
-```
-
-Response:
-
-```json
-{
- "access_token": "",
- "token_type": "Bearer",
- "expires_in": 86399,
- "scope": "deploy:applications read:deployments"
-}
-```
-
-The client sends this JWT in `Authorization: Bearer ` on every API request.
-
----
-
-## 4. Validate the JWT on your API server
-
-**Do this on EVERY request. Never trust unverified tokens.**
-
-### Python (SDK handles JWKS automatically)
-
-```python
-token = request.headers.get("Authorization", "").removeprefix("Bearer ")
-
-try:
- claims = scalekit_client.validate_access_token_and_get_claims(token=token)
- # claims["scopes"] → list of granted scopes
-except Exception:
- return 401 # invalid or expired
-```
-
-### Node.js (manual JWKS + JWT verify)
-
-```js
-import jwksClient from 'jwks-rsa';
-import jwt from 'jsonwebtoken';
-
-const jwks = jwksClient({
- jwksUri: `${process.env.SCALEKIT_ENVIRONMENT_URL}/.well-known/jwks.json`,
- cache: true
-});
-
-async function verifyToken(token) {
- const decoded = jwt.decode(token, { complete: true });
- const key = await jwks.getSigningKey(decoded.header.kid);
- return jwt.verify(token, key.getPublicKey(), {
- algorithms: ['RS256'],
- complete: true
- }).payload; // contains scopes, sub, iss, exp, oid, etc.
-}
-```
-
-Decoded JWT payload structure:
-
-```json
-{
- "client_id": "m2morg_69038819013296423",
- "oid": "org_59615193906282635",
- "scopes": ["deploy:applications", "read:deployments"],
- "iss": "",
- "exp": 1745305340
-}
-```
-
----
-
-## 5. Enforce scopes in middleware
-
-### Flask (Python)
-
-```python
-import functools
-from flask import request, jsonify
-
-def require_scope(scope):
- def decorator(f):
- @functools.wraps(f)
- def wrapper(*args, **kwargs):
- token = request.headers.get("Authorization", "").removeprefix("Bearer ")
- if not token:
- return jsonify({"error": "Missing token"}), 401
- try:
- claims = scalekit_client.validate_access_token_and_get_claims(token=token)
- except Exception:
- return jsonify({"error": "Invalid token"}), 401
- if scope not in claims.get("scopes", []):
- return jsonify({"error": "Insufficient permissions"}), 403
- return f(*args, **kwargs)
- return wrapper
- return decorator
-
-# Usage:
-# @app.route('/deploy', methods=['POST'])
-# @require_scope('deploy:applications')
-# def deploy(): ...
-```
-
-### Express (Node.js)
-
-```js
-function requireScope(scope) {
- return async (req, res, next) => {
- const token = (req.headers.authorization || '').replace('Bearer ', '');
- if (!token) return res.status(401).send('Missing token');
- try {
- const payload = await verifyToken(token); // from step 4
- if (!payload.scopes?.includes(scope))
- return res.status(403).send('Insufficient permissions');
- req.tokenClaims = payload;
- next();
- } catch {
- res.status(401).send('Invalid token');
- }
- };
-}
-
-// Usage:
-// app.post('/deploy', requireScope('deploy:applications'), handler);
-```
-
----
-
-## Key rules
-
-- `plain_secret` is **returned once only** — instruct customers to store it immediately.
-- Always validate tokens **server-side** before trusting claims.
-- Cache JWKS keys (avoid fetching on every request); rotate on `kid` mismatch.
-- Use `resource:action` scope naming for clarity.
-- An `organization_id` maps to one customer; multiple API clients per org are supported.
diff --git a/plugins/full-stack-auth/skills/implement-logout/SKILL.md b/plugins/full-stack-auth/skills/implement-logout/SKILL.md
deleted file mode 100644
index 47e76ef..0000000
--- a/plugins/full-stack-auth/skills/implement-logout/SKILL.md
+++ /dev/null
@@ -1,187 +0,0 @@
----
-name: implementing-fsa-logout
-description: Implements a complete logout flow for Scalekit FSA integrations by clearing application session cookies and redirecting the browser to Scalekit’s /oidc/logout endpoint to invalidate the Scalekit session. Use when adding or fixing logout in Node.js, Python, Go, or Java web apps that use Scalekit OIDC.
----
-
-# Implementing logout (Scalekit FSA)
-
-## Goal
-Implement a single `/logout` endpoint that:
-- Clears the application session layer (your cookies/tokens).
-- Invalidates the Scalekit session layer by redirecting the browser to Scalekit’s OIDC logout endpoint.
-- Returns the user to a safe, allowlisted post-logout redirect URL.
-
-## Key constraints (must follow)
-- The Scalekit logout call MUST be a browser redirect (top-level navigation), not a `fetch`/XHR from frontend and not a server-to-server API call.
-- The ID token (often `idToken`) MUST be read BEFORE clearing cookies, because it is used as `id_token_hint`.
-- The `post_logout_redirect_uri` MUST be allowlisted in Scalekit Dashboard (Post Logout URLs).
-
-## Inputs to collect from the user/project
-Ask for (or infer from the codebase):
-- Tech stack: Express/Fastify/Next.js (Node), Flask/Django (Python), Gin/Fiber (Go), Spring Boot (Java), etc.
-- Where tokens are stored: cookie names (default examples: `accessToken`, `refreshToken`, `idToken`) and cookie attributes (Path, Domain, SameSite).
-- The post-logout landing URL (example: `http://localhost:3000/login` or your production login page).
-- Scalekit configuration: base URL / environment, and whether the project uses a Scalekit SDK helper like `getLogoutUrl(...)`.
-
-## Recommended implementation (workflow)
-1. Locate the current auth/session code:
-- Find where access/refresh/ID tokens are set.
-- Note cookie names, paths, domains, and SameSite settings (you must match these when clearing).
-
-2. Add a GET `/logout` route:
-- Extract `idToken` (or equivalent) from cookies/session storage.
-- Compute `postLogoutRedirectUri`.
-- Build the Scalekit logout URL pointing at `/oidc/logout`, preferably using the Scalekit SDK helper if present.
-- Clear session cookies (access/refresh/id), preserving the correct Path/Domain so deletion actually works.
-- Redirect (302) the browser to the Scalekit logout URL.
-
-3. Configure Scalekit Dashboard allowlist:
-- Register `postLogoutRedirectUri` under: Redirects → Post Logout URL.
-
-4. Verify and iterate:
-- In DevTools → Network, clicking logout should show a **document** navigation to Scalekit (not XHR/fetch).
-- Confirm the request includes the Scalekit session cookie automatically.
-- After redirecting back, logging in should not silently reuse the application cookies you intended to clear.
-
-## Reference behavior (pseudocode)
-- Read `id_token_hint` from cookie/session.
-- `logoutUrl = scalekit.getLogoutUrl(id_token_hint, post_logout_redirect_uri)`
-- Clear cookies (access/refresh/id).
-- `302 -> logoutUrl`
-
-## Implementation templates
-
-### Node.js (Express)
-```js
-app.get('/logout', (req, res) => {
- const idTokenHint = req.cookies?.idToken; // read BEFORE clearing
- const postLogoutRedirectUri = process.env.POST_LOGOUT_REDIRECT_URI ?? 'http://localhost:3000/login';
-
- // Prefer SDK helper if available in your project
- const logoutUrl = scalekit.getLogoutUrl(idTokenHint, postLogoutRedirectUri);
-
- // Clear cookies (match Path/Domain/SameSite used when setting them)
- res.clearCookie('accessToken', { path: '/' });
- res.clearCookie('refreshToken', { path: '/' });
- res.clearCookie('idToken', { path: '/' });
-
- return res.redirect(logoutUrl);
-});
-```
-
-### Python (Flask)
-```py
-from flask import request, redirect, make_response
-
-@app.get("/logout")
-def logout():
- id_token = request.cookies.get("idToken") # read BEFORE clearing
- post_logout_redirect_uri = os.getenv("POST_LOGOUT_REDIRECT_URI", "http://localhost:3000/login")
-
- logout_url = scalekit_client.get_logout_url(
- id_token_hint=id_token,
- post_logout_redirect_uri=post_logout_redirect_uri
- )
-
- resp = make_response(redirect(logout_url))
- resp.set_cookie("accessToken", "", max_age=0, path="/")
- resp.set_cookie("refreshToken", "", max_age=0, path="/")
- resp.set_cookie("idToken", "", max_age=0, path="/")
- return resp
-```
-
-### Go (Gin)
-```go
-func LogoutHandler(c *gin.Context) {
- idToken, _ := c.Cookie("idToken") // read BEFORE clearing
- postLogoutRedirectURI := os.Getenv("POST_LOGOUT_REDIRECT_URI")
- if postLogoutRedirectURI == "" {
- postLogoutRedirectURI = "http://localhost:3000/login"
- }
-
- logoutURL, err := scalekit.GetLogoutUrl(scalekit.LogoutUrlOptions{
- IdTokenHint: idToken,
- PostLogoutRedirectUri: postLogoutRedirectURI,
- })
- if err != nil {
- c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
- return
- }
-
- // Clear cookies (match original attributes)
- c.SetCookie("accessToken", "", -1, "/", "", true, true)
- c.SetCookie("refreshToken", "", -1, "/", "", true, true)
- c.SetCookie("idToken", "", -1, "/", "", true, true)
-
- c.Redirect(http.StatusFound, logoutURL.String())
-}
-```
-
-### Java (Spring Boot)
-```java
-@GetMapping("/logout")
-public void logout(HttpServletRequest request, HttpServletResponse response) throws IOException {
- String idToken = null;
- if (request.getCookies() != null) {
- for (Cookie c : request.getCookies()) {
- if ("idToken".equals(c.getName())) {
- idToken = c.getValue();
- break;
- }
- }
- }
-
- String postLogoutRedirectUri = System.getenv().getOrDefault(
- "POST_LOGOUT_REDIRECT_URI",
- "http://localhost:3000/login"
- );
-
- URL logoutUrl = scalekitClient.authentication().getLogoutUrl(
- idToken,
- postLogoutRedirectUri
- );
-
- // Clear cookies (ensure Path/Domain match your app cookies)
- Cookie access = new Cookie("accessToken", "");
- access.setMaxAge(0);
- access.setPath("/");
- access.setHttpOnly(true);
- access.setSecure(true);
- response.addCookie(access);
-
- Cookie refresh = new Cookie("refreshToken", "");
- refresh.setMaxAge(0);
- refresh.setPath("/");
- refresh.setHttpOnly(true);
- refresh.setSecure(true);
- response.addCookie(refresh);
-
- Cookie id = new Cookie("idToken", "");
- id.setMaxAge(0);
- id.setPath("/");
- id.setHttpOnly(true);
- id.setSecure(true);
- response.addCookie(id);
-
- response.sendRedirect(logoutUrl.toString());
-}
-```
-
-## Logout security checklist (copy/paste)
-- Extract ID token BEFORE clearing cookies.
-- Clear all application session cookies (access/refresh/id).
-- Redirect browser (302) to Scalekit `/oidc/logout` via the generated logout URL.
-- Ensure `post_logout_redirect_uri` is allowlisted in Scalekit dashboard.
-- Validate logout is a document navigation (not XHR/fetch) and cookies are actually removed.
-
-## Common failure modes (what to check)
-- “Logout doesn’t really log out”: cookie deletion mismatches Path/Domain/SameSite; clear cookies with the same attributes used when setting them.
-- “Login immediately succeeds after logout”: identity provider session may still be active; this is expected for SSO providers, but your app cookies should still be cleared.
-- “Scalekit logout doesn’t take effect”: logout was done via API call rather than browser redirect; use a redirect so the Scalekit session cookie is included automatically.
-- “Redirect rejected”: `post_logout_redirect_uri` is not allowlisted in Scalekit dashboard.
-
-## Output expectations when using this skill
-When asked to implement logout in a real repo, the assistant should:
-- Identify the correct cookie names and where they are set.
-- Implement `/logout` with the correct sequence (read id token → build logout URL → clear cookies → redirect).
-- Provide a brief test plan and the exact dashboard value to allowlist for post-logout redirect.
diff --git a/plugins/full-stack-auth/skills/implementing-admin-portal/SKILL.md b/plugins/full-stack-auth/skills/implementing-admin-portal/SKILL.md
deleted file mode 100644
index cf0d039..0000000
--- a/plugins/full-stack-auth/skills/implementing-admin-portal/SKILL.md
+++ /dev/null
@@ -1,152 +0,0 @@
----
-name: implementing-admin-portal
-description: Implements Scalekit's admin portal for customer self-serve SSO and SCIM configuration. Generates portal links server-side and embeds the portal as an iframe in the app's settings UI. Use when the user asks to add an admin portal, customer self-serve SSO setup, iframe embed for SSO config, shareable setup link, or let customers configure their own SSO or SCIM connection.
----
-
-# Admin Portal with Scalekit
-
-Adds a self-serve portal where customers configure their own SSO and SCIM settings — embedded inside your app's settings UI.
-
-If the user only needs a quick shareable link with no code (e.g., for a one-time onboarding call), skip to the **Shareable link** section at the bottom.
-
----
-
-## Implementation progress
-
-```
-Admin Portal Implementation Progress:
-- [ ] Step 1: Install SDK
-- [ ] Step 2: Set environment credentials
-- [ ] Step 3: Register app domain in dashboard
-- [ ] Step 4: Generate portal link (server-side)
-- [ ] Step 5: Render iframe (client-side)
-- [ ] Step 6: Handle session expiry events
-- [ ] Step 7: Verify portal loads and events fire correctly
-```
-
----
-
-## Step 1: Install SDK
-
-Detect the project's language/framework from existing files and install:
-
-| Stack | Install |
-|---------|---------|
-| Node.js | `npm install @scalekit-sdk/node` |
-| Python | `pip install scalekit-sdk` |
-| Go | `go get github.com/scalekit/scalekit-go` |
-| Java | Add `com.scalekit:scalekit-sdk` to `pom.xml` |
-
----
-
-## Step 2: Set environment credentials
-
-Add to `.env` (never hardcode):
-
-```shell
-SCALEKIT_ENVIRONMENT_URL='https://.scalekit.com'
-SCALEKIT_CLIENT_ID=''
-SCALEKIT_CLIENT_SECRET=''
-```
-
-Credentials are in **Dashboard > Developers > Settings > API Credentials**.
-
----
-
-## Step 3: Register app domain
-
-In **Dashboard > Developers > API Configuration > Redirect URIs**, add the domain where the portal will be embedded. The iframe will be blocked if this is missing.
-
----
-
-## Step 4: Generate the portal link (server-side)
-
-Generate a new link on every page load — links are single-use. Plug into the existing route or controller that serves the settings/admin page:
-
-**Node.js:**
-```javascript
-const { location } = await scalekit.organization.generatePortalLink(organizationId);
-// Pass `location` to the frontend as a template variable or API response
-```
-
-**Python:**
-```python
-portal = scalekit_client.organization.generate_portal_link(organization_id)
-location = portal.location
-# Pass `location` to your template or JSON response
-```
-
-**Never cache this value** — each link is single-use and will fail if reused.
-
----
-
-## Step 5: Render the iframe (client-side)
-
-In the frontend settings/admin template, inject `location` as the `src`:
-
-```html
-
-```
-
-Minimum recommended height: **600px**. Match the variable name to the project's existing templating convention.
-
----
-
-## Step 6: Handle portal UI events
-
-Listen for messages from the iframe to react to configuration changes and session expiry:
-
-```javascript
-window.addEventListener('message', (event) => {
- if (event.origin !== process.env.SCALEKIT_ENVIRONMENT_URL) return;
-
- const { type } = event.data;
- switch (type) {
- case 'SSO_CONFIGURED':
- // Refresh org status, show success banner, etc.
- break;
- case 'SESSION_EXPIRED':
- // Re-fetch a new portal link and reload the iframe src
- reloadPortalIframe();
- break;
- }
-});
-```
-
-`SESSION_EXPIRED` handling is required — without it the portal silently breaks for long-lived sessions.
-
----
-
-## Step 7: Verify
-
-- [ ] Open the settings page — confirm the iframe renders without console errors
-- [ ] Complete a test SSO configuration inside the portal — confirm `SSO_CONFIGURED` fires
-- [ ] Wait for session expiry (or simulate it) — confirm `SESSION_EXPIRED` triggers a link refresh
-- [ ] Confirm portal link is never the same across two page loads (single-use verification)
-
----
-
-## Branding (optional)
-
-Configure at **Dashboard > Settings > Branding**: logo, accent color, favicon. Custom domain support (e.g., `sso.yourapp.com`) is available in the Scalekit dashboard.
-
----
-
-## Guardrails
-
-- **Generate link server-side only** — never expose `CLIENT_SECRET` to the browser
-- **Re-generate on every page load** — caching will break the portal
-- **Register your domain** in Redirect URIs before testing or the iframe will be blocked
-- **Handle `SESSION_EXPIRED`** — re-generate and reload, don't let it fail silently
-
----
-
-## Shareable link (no-code alternative)
-
-For one-time onboarding calls or zero-engineering setup: go to **Dashboard > Organizations**, select the org, click **Generate link**, and share the URL directly. The link gives anyone who has it full access to configure that org's SSO/SCIM settings — use the iframe approach for production. Also share Scalekit's [SSO setup guides](https://docs.scalekit.com/guides/integrations/sso-integrations/) so the IT admin has provider-specific configuration steps alongside the portal link.
diff --git a/plugins/full-stack-auth/skills/production-readiness-scalekit/SKILL.md b/plugins/full-stack-auth/skills/production-readiness-scalekit/SKILL.md
deleted file mode 100644
index 8ab1a0a..0000000
--- a/plugins/full-stack-auth/skills/production-readiness-scalekit/SKILL.md
+++ /dev/null
@@ -1,159 +0,0 @@
----
-name: production-readiness-scalekit
-description: Walks through a structured production readiness checklist for Scalekit authentication implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, hardening their auth setup, or wants to verify their Scalekit implementation is production-ready.
----
-
-# Scalekit Production Readiness
-
-Work through each section in order — earlier sections are blockers for later ones. Skip sections that don't apply to this implementation.
-
----
-
-## Quick checks (run first)
-
-- [ ] Production environment URL, client ID, and client secret are set (not dev/staging values)
-- [ ] HTTPS enforced on all auth endpoints
-- [ ] CORS restricted to your domains only
-- [ ] API credentials stored in environment variables — never committed to code
-- [ ] Only enabled auth methods are active in production
-
----
-
-## Customization
-
-- [ ] Login page branded with logo, colors, styling
-- [ ] Email templates customized (sign-up, password reset, invitations)
-- [ ] Custom domain configured for auth pages (if applicable)
-- [ ] Email provider configured in **Dashboard > Customization > Emails**
-- [ ] Email deliverability tested — check spam folders
-- [ ] Webhooks configured with signature validation
-
----
-
-## Core auth flows
-
-- [ ] Test login initiation with authorization URL
-- [ ] Validate redirect URLs match dashboard configuration exactly
-- [ ] Test authentication completion and code exchange
-- [ ] Validate `state` parameter in callbacks (CSRF protection)
-- [ ] Verify session token storage uses `httpOnly`, `secure`, and `sameSite` flags
-- [ ] Configure token lifetimes for your security requirements
-- [ ] Test session timeout and automatic token refresh
-- [ ] Verify logout clears sessions completely
-
-**Test each enabled auth method:**
-- [ ] Email/password: sign-up, login, password reset
-- [ ] Magic links: initiation, delivery, redemption, expiry
-- [ ] Social logins: each configured provider (Google, Microsoft, GitHub, etc.)
- → Provider setup guides: https://docs.scalekit.com/guides/integrations/social-connections/
-- [ ] Passkeys: registration, authentication, fallback
-- [ ] Auth method selection UI renders correctly
-- [ ] Fallback scenarios when an auth method fails
-
-**Error handling:**
-- [ ] Expired tokens handled gracefully
-- [ ] Invalid authorization codes rejected
-- [ ] Network failures show user-friendly messages
-- [ ] Complete end-to-end flow validated in staging before production
-
----
-
-## Enterprise auth (if enterprise customers at launch)
-
-**SSO:**
-- [ ] Test SSO with target IdPs: Okta, Azure AD, Google Workspace
- → IT admin setup guides per IdP: https://docs.scalekit.com/guides/integrations/sso-integrations/
-- [ ] Configure user attribute mapping (email, name, groups)
-- [ ] Test both SP-initiated and IdP-initiated SSO flows
-- [ ] Verify SSO error handling for misconfigured connections
-- [ ] Test SSO with: new users, existing users, deactivated users
-
-**JIT provisioning:**
-- [ ] Register all organization domains for JIT provisioning
-- [ ] Configure consistent user identifiers across SSO connections (email or userPrincipalName)
-- [ ] Set default roles for JIT-provisioned users
-- [ ] Enable "Sync user attributes during login"
-- [ ] Plan manual invitation process for contractors/external users with non-matching domains
-
-**SCIM provisioning:**
-- [ ] Configure webhook endpoints to receive SCIM events
- → IT admin setup guides per IdP: https://docs.scalekit.com/guides/integrations/scim-integrations/
-- [ ] Verify webhook security with signature validation
-- [ ] Test user provisioning (automatic creation)
-- [ ] Test user deprovisioning (deactivation/deletion)
-- [ ] Test user profile updates and role changes
-- [ ] Set up group-based role assignment and sync
-- [ ] Test error cases: duplicate users, invalid data
-
-**Admin portal:**
-- [ ] Configure admin portal access for enterprise customers
-- [ ] Test admin portal SSO configuration flows
-- [ ] Verify user management features in admin portal
-
-**Network/firewall — enterprise customers behind VPN must whitelist:**
-
-| Domain | Purpose |
-|---|---|
-| `.scalekit.com` | Auth + admin portal |
-| `cdn.scalekit.com` | Static assets |
-| `fonts.googleapis.com` | Font resources |
-
-- [ ] Customer firewalls allow Scalekit domains
-- [ ] SSO tested from customer's network environment
-
----
-
-## User and organization management (if implemented)
-
-**User flows:**
-- [ ] Configure profile fields collected at sign-up
-- [ ] Test invitation flow and email templates
-- [ ] Test user deletion flow
-
-**Organization flows:**
-- [ ] Test organization creation
-- [ ] Test adding and removing users from organizations
-- [ ] Set allowed email domains for org sign-ups (if applicable)
-- [ ] Verify organization switching for users in multiple orgs
-- [ ] Test organization deletion flow
-
-**RBAC (if implemented):**
-- [ ] Define and create roles and permissions
-- [ ] Set default roles for new users
-- [ ] Test role assignment to users and org members
-- [ ] Verify permission checks in application code
-- [ ] Test access control across all role levels
-- [ ] Validate permission enforcement at API endpoints
-
----
-
-## MCP authentication (if implemented)
-
-- [ ] Test MCP server authentication flow
-- [ ] Verify OAuth consent screen for MCP clients
-- [ ] Test token exchange for MCP connections
-- [ ] Verify custom auth handlers (if using)
-- [ ] Test MCP session management
-
----
-
-## Monitoring and incident readiness
-
-**Observability:**
-- [ ] Auth logs monitoring configured in **Dashboard > Auth Logs**
-- [ ] Alerts set for suspicious activity (multiple failed logins, unusual locations)
-- [ ] Webhook event monitoring and logging active
-- [ ] Error tracking configured for authentication failures
-
-**Key metrics to track from day one:**
-- Sign-up rate and conversion
-- Login success/failure rates
-- Session creation and duration
-- Token refresh frequency
-- Webhook delivery success rate
-
-**Reliability:**
-- [ ] Log retention policies configured
-- [ ] Webhook delivery and retry mechanism tested
-- [ ] Incident response runbook written (who to contact, how to roll back, escalation path)
-- [ ] Rollback plan ready (feature flag to disable new auth flows if needed)
diff --git a/plugins/mcp-auth/.github/plugin/plugin.json b/plugins/mcp-auth/.github/plugin/plugin.json
deleted file mode 100644
index c6aa5d7..0000000
--- a/plugins/mcp-auth/.github/plugin/plugin.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "name": "mcp-auth",
- "description": "Add OAuth 2.1 authorization to MCP servers using Scalekit. Includes implementation guides for FastMCP, Express.js, and FastAPI, plus agents for setup and troubleshooting.",
- "version": "1.0.0",
- "author": {
- "name": "Scalekit Inc",
- "email": "support@scalekit.com"
- },
- "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
- "license": "MIT",
- "keywords": [
- "mcp",
- "oauth",
- "authentication",
- "authorization",
- "scalekit",
- "fastmcp",
- "express",
- "fastapi",
- "security"
- ],
- "agents": [
- "./agents"
- ],
- "skills": [
- "./skills/mcp-auth",
- "./skills/add-auth-fastmcp",
- "./skills/express-mcp-server",
- "./skills/fastapi-fastmcp",
- "./skills/production-readiness-scalekit"
- ]
-}
diff --git a/plugins/mcp-auth/.mcp.json b/plugins/mcp-auth/.mcp.json
deleted file mode 100644
index 36dbbf4..0000000
--- a/plugins/mcp-auth/.mcp.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "mcpServers": {
- "scalekit": {
- "command": "npx",
- "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"]
- }
- }
-}
diff --git a/plugins/mcp-auth/agents/setup-scalekit.md b/plugins/mcp-auth/agents/setup-scalekit.md
deleted file mode 100644
index 044e411..0000000
--- a/plugins/mcp-auth/agents/setup-scalekit.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-name: scalekit-setup
-description: Sets up Scalekit env vars, installs/initializes the SDK, and verifies credentials by listing organizations. Use proactively when user asks to set up, install, initialize, configure, or verify Scalekit.
-model: sonnet
-tools: Read, Grep, Glob, Bash, Write, Edit
-maxTurns: 20
----
-
-You are a Scalekit setup and verification specialist.
-
-Mission:
-- Help the user configure Scalekit credentials via environment variables.
-- Help them install and initialize the official Scalekit SDK for their language.
-- Verify the setup with the smallest reliable check (prefer listing organizations).
-- Keep secrets out of chat and out of the repo.
-
-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.
-
-Workflow:
-1) Determine language/runtime (Node.js, Python, Go, Java) and where env vars should live (.env, shell, CI secrets).
-2) Confirm required env vars exist:
- - SCALEKIT_ENVIRONMENT_URL
- - SCALEKIT_CLIENT_ID
- - SCALEKIT_CLIENT_SECRET
-3) Install the SDK (pick the official package for that language).
-4) Initialize the SDK client using env vars.
-5) Verify credentials by listing organizations with a small page size.
-6) If verification fails, diagnose systematically:
- - Wrong environment URL (dev vs prod)
- - Missing env vars in current shell/process
- - Incorrect client id/secret
- - Network/DNS issues
-7) Only after verification succeeds, proceed to feature work and route to the correct Skill:
- - SSO → plugins/modular-sso/skills/modular-sso/SKILL.md
- - SCIM → plugins/modular-scim/skills/modular-scim/SKILL.md
- - MCP auth → plugins/mcp-auth/skills/*/SKILL.md
- - Full-stack auth → plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
-
-When you reference files, use exact repo-relative paths and read them before advising.
diff --git a/plugins/mcp-auth/references/redirects.md b/plugins/mcp-auth/references/redirects.md
deleted file mode 100644
index dbe1977..0000000
--- a/plugins/mcp-auth/references/redirects.md
+++ /dev/null
@@ -1,76 +0,0 @@
-# Redirects
-
-Redirects are registered endpoints in Scalekit that control where users are directed during authentication flows. You must configure these endpoints in the Scalekit dashboard before they can be used.
-
-All redirect URIs must be registered under Authentication settings in your Scalekit dashboard. This is a security requirement to prevent unauthorized redirects.
-
-
-## Redirect endpoint types
-
-### Allowed callback URLs
-**Purpose**: Where users are sent after successful authentication to exchange authorization codes and retrieve profile information.
-
-**Example scenario**: A user completes sign-in and Scalekit redirects them to `https://yourapp.com/callback` where your application processes the authentication response.
-
-To add or remove an redirect URL, go to Dashboard > Authentication > Redirects > Allowed Callback URLs.
-
-### Initiate login URL
-**Purpose**: When authentication does not initiate from your application, Scalekit redirects users back to your application's login initiation endpoint. This endpoint should point to a route in your application that ultimately redirects users to Scalekit's `/authorize` endpoint.
-
-**Example scenarios**:
-
-- **Bookmarked login page**: A user bookmarks your login page and visits it directly. Your application detects they're not authenticated and redirects them to Scalekit's authorization endpoint.
-
-- **Organization invitation flow**: A user clicks an invitation link to join an organization. Your application receives the invitation token and redirects the user to Scalekit's authorization endpoint to complete the sign-up process.
-
-- **IdP-initiated SSO**: An administrator initiates single sign-on from their identity provider dashboard. The IdP redirects users to your application, which then redirects them to Scalekit's authorization endpoint to complete authentication.
-
-- **Session expiration**: When a user's session expires or they access a protected resource, they're redirected to `https://yourapp.com/login` which then redirects to Scalekit's authentication endpoint.
-
-### Post logout URL
-**Purpose**: Where users are sent after successfully signing out of your application.
-
-**Example scenario**: After logging out, users are redirected to `https://yourapp.com/goodbye` to confirm their session has ended.
-
-### Back channel logout URL
-**Purpose**: A secure endpoint that receives notifications whenever a user is logged out from Scalekit, regardless of how the logout was initiated — admin triggered, user initiated, or due to session policies like idle timeout.
-
-**Example scenario**: When a user logs out from any application (user-initiated, admin-initiated, or due to session policies like idle timeout), Scalekit sends a logout notification to `https://yourapp.com/logout` to suggest termination of the user's session across all connected applications, ensuring coordinated logout for enhanced security.
-
-### Custom URI schemes
-
-Custom URI schemes allow for redirects, enabling deep linking and native app integrations. Some applications include:
-- **Desktop applications**: Use schemes like `{scheme}://` for native app integration
-- **Mobile apps**: Use schemes like `myapp://` for mobile app deep linking
-
-**Example custom schemes**:
-- `{scheme}://auth/callback` - For custom scheme authentication
-- `myapp://login/callback` - For mobile app authentication
-
-
-## URI validation requirements
-
-Your redirect URIs must meet specific requirements that vary between development and production environments:
-
-| Requirement | Development | Production |
-| ----------- | ----------- | ---------- |
-| Supported schemes | `http`, `https`, `{scheme}` | `https`, `{scheme}` |
-| Localhost support | Allowed | Not allowed |
-| Wildcard domains | Allowed | Not allowed |
-| URI length limit | 256 characters | 256 characters |
-| Query parameters | Not allowed | Not allowed |
-| URL fragments | Not allowed | Not allowed |
-
-
-### Wildcard usage patterns
-
-Wildcards can simplify testing in development environments, but they must follow specific patterns:
-
-| Validation rule | Valid examples | Invalid examples |
-| --------------- | -------------- | ---------------- |
-| Wildcards cannot be used as root-level domains | `https://*.acmecorp.com`, `https://auth-*.acmecorp.com` | `https://*.com` |
-| Only one wildcard character is allowed per URI | `https://*.acmecorp.com` | `https://*.*.acmecorp.com` |
-| Wildcards must be in the hostname component only | `https://*.acmecorp.com` | `https://acmecorp.*.com` |
-| Wildcards must be in the outermost subdomain | `https://*.auth.acmecorp.com` | `https://auth.*.acmecorp.com` |
-
-> **Note**: According to the [OAuth 2.0 specification](https://tools.ietf.org/html/rfc6749#section-3.1.2), redirect URIs must be absolute URIs. For development convenience, Scalekit relaxes this restriction slightly by allowing wildcards in development environments.
diff --git a/plugins/mcp-auth/skills/production-readiness-scalekit/SKILL.md b/plugins/mcp-auth/skills/production-readiness-scalekit/SKILL.md
deleted file mode 100644
index c3e4583..0000000
--- a/plugins/mcp-auth/skills/production-readiness-scalekit/SKILL.md
+++ /dev/null
@@ -1,62 +0,0 @@
----
-name: production-readiness-scalekit
-description: Walks through a structured production readiness checklist for Scalekit MCP authentication implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their MCP server authentication is production-ready.
----
-
-# Scalekit MCP Auth Production Readiness
-
-Work through each section in order — earlier sections are blockers for later ones.
-
----
-
-## Quick checks (run first)
-
-- [ ] Production environment URL, client ID, and client secret are set (not dev/staging values)
-- [ ] HTTPS enforced on all auth endpoints
-- [ ] CORS restricted to your domains only
-- [ ] API credentials stored in environment variables — never committed to code
-
----
-
-## Core auth flows
-
-- [ ] Test login initiation with authorization URL
-- [ ] Validate redirect URLs match dashboard configuration exactly
-- [ ] Test authentication completion and code exchange
-- [ ] Validate `state` parameter in callbacks (CSRF protection)
-- [ ] Verify session token storage uses `httpOnly`, `secure`, and `sameSite` flags
-- [ ] Configure token lifetimes for your security requirements
-- [ ] Test session timeout and automatic token refresh
-- [ ] Verify logout clears sessions completely
-- [ ] Expired tokens handled gracefully
-- [ ] Network failures show user-friendly messages
-
----
-
-## MCP authentication
-
-- [ ] Test MCP server authentication flow end-to-end
-- [ ] Verify OAuth consent screen displays correctly for MCP clients
-- [ ] Test token exchange for MCP connections
-- [ ] Verify resource metadata published at `/.well-known/oauth-protected-resource`
-- [ ] Test MCP session management (session creation, expiry, refresh)
-- [ ] Verify custom auth handlers behave correctly (if using)
-- [ ] Test MCP client reconnection after token expiry
-- [ ] Verify scopes are correctly enforced per MCP tool/resource
-
----
-
-## Monitoring and incident readiness
-
-- [ ] Auth logs monitoring configured in **Dashboard > Auth Logs**
-- [ ] Alerts set for suspicious activity (repeated auth failures, unusual access patterns)
-- [ ] Error tracking configured for authentication failures
-- [ ] Log retention policies configured
-- [ ] Incident response runbook written (who to contact, how to roll back)
-- [ ] Rollback plan ready (disable MCP auth without breaking existing sessions)
-
-**Key metrics:**
-- MCP auth success/failure rates
-- Token exchange latency
-- Session creation and duration
-- Token refresh frequency
diff --git a/plugins/modular-scim/.github/plugin/plugin.json b/plugins/modular-scim/.github/plugin/plugin.json
deleted file mode 100644
index fa404b6..0000000
--- a/plugins/modular-scim/.github/plugin/plugin.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "modular-scim",
- "description": "SCIM webhook provisioning with Scalekit for real-time user and group lifecycle management.",
- "version": "1.1.2",
- "author": {
- "name": "Scalekit Inc",
- "email": "support@scalekit.com"
- },
- "homepage": "https://docs.scalekit.com",
- "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
- "license": "MIT",
- "keywords": ["scim", "provisioning", "webhooks", "users", "groups"],
- "agents": [
- "./agents"
- ],
- "skills": [
- "./skills/modular-scim",
- "./skills/implementing-admin-portal",
- "./skills/production-readiness-scalekit"
- ],
- "mcpServers": ".mcp.json"
-}
diff --git a/plugins/modular-scim/.mcp.json b/plugins/modular-scim/.mcp.json
deleted file mode 100644
index 36dbbf4..0000000
--- a/plugins/modular-scim/.mcp.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "mcpServers": {
- "scalekit": {
- "command": "npx",
- "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"]
- }
- }
-}
diff --git a/plugins/modular-scim/README.md b/plugins/modular-scim/README.md
deleted file mode 100644
index 31c1bd1..0000000
--- a/plugins/modular-scim/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# modular-scim
-
-## Purpose
-
-This plugin implements SCIM user provisioning using Scalekit's Directory API and webhooks. It enables real-time user and group lifecycle management — automatic provisioning, deprovisioning, and attribute sync — when enterprise customers connect their identity provider's directory sync.
-
-## Installation
-
-```bash
-# Add the marketplace
-copilot plugin marketplace add scalekit-inc/github-copilot-authstack
-
-# Install this plugin
-copilot plugin install modular-scim
-```
-
-## Components Reference
-
-### Agents
-
-| Agent | Purpose |
-|---|---|
-| `setup-scalekit` | Sets up Scalekit env vars, installs and initializes the SDK, and verifies credentials |
-
-### Skills
-
-| Skill | Purpose |
-|---|---|
-| `modular-scim` | Implements SCIM provisioning via Scalekit's Directory API and webhooks for user/group lifecycle events |
-| `implementing-admin-portal` | Embeds Scalekit's admin portal for customer self-serve SCIM configuration |
-| `production-readiness-scalekit` | Structured production readiness checklist for Scalekit SCIM provisioning implementations |
-
-### MCP Server
-
-Configured in `.mcp.json` — connects to the Scalekit MCP server at `https://mcp.scalekit.com` via `mcp-remote`.
-
-## Configuration
-
-Required environment variables:
-
-```bash
-SCALEKIT_ENVIRONMENT_URL=https://your-env.scalekit.com
-SCALEKIT_CLIENT_ID=your_client_id
-SCALEKIT_CLIENT_SECRET=your_client_secret
-```
-
-Use the `setup-scalekit` agent to configure these automatically:
-
-```bash
-copilot setup-scalekit "Set up Scalekit for my SCIM integration"
-```
-
-## Usage Examples
-
-### Add SCIM provisioning to an existing app
-
-```
-copilot "Add SCIM directory sync so enterprise customers can auto-provision users from Okta"
-```
-
-The `modular-scim` skill activates and guides through registering webhook endpoints, handling SCIM events (user.created, user.updated, user.deleted, group.created, group.updated), and syncing user state with your application database.
-
-### Let customers configure their own SCIM connection
-
-```
-copilot "Add a self-serve SCIM setup page for enterprise customers"
-```
-
-The `implementing-admin-portal` skill generates a server-side portal link and embeds it as an iframe in your settings UI, allowing customers to configure their own directory sync connection.
-
-## Troubleshooting
-
-**Webhook events not arriving**: Verify your webhook endpoint is publicly accessible and returns HTTP 200 within the required timeout. Check the Scalekit dashboard under Directory Sync > Webhooks for delivery status and retry history.
-
-**User not being provisioned**: Confirm the SCIM event handler maps the incoming user attributes to your data model correctly. The `modular-scim` skill includes attribute mapping examples for common identity providers.
-
-**Admin portal not loading**: Confirm the portal link was generated server-side using valid credentials and has not expired. Portal links are single-use and time-limited.
-
-## Security
-
-**Required credentials:**
-- `SCALEKIT_ENVIRONMENT_URL` — your Scalekit environment URL
-- `SCALEKIT_CLIENT_ID` — OAuth client ID
-- `SCALEKIT_CLIENT_SECRET` — OAuth client secret (treat as a password)
-
-**Storage:**
-- Store secrets in environment variables or a secrets manager
-- Never commit secrets to source control
-- Validate webhook signatures to confirm events originate from Scalekit
-
-The plugin itself contains no hardcoded credentials. All MCP server config uses `${ENV_VAR}` placeholders.
diff --git a/plugins/modular-scim/agents/setup-scalekit.md b/plugins/modular-scim/agents/setup-scalekit.md
deleted file mode 100644
index 044e411..0000000
--- a/plugins/modular-scim/agents/setup-scalekit.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-name: scalekit-setup
-description: Sets up Scalekit env vars, installs/initializes the SDK, and verifies credentials by listing organizations. Use proactively when user asks to set up, install, initialize, configure, or verify Scalekit.
-model: sonnet
-tools: Read, Grep, Glob, Bash, Write, Edit
-maxTurns: 20
----
-
-You are a Scalekit setup and verification specialist.
-
-Mission:
-- Help the user configure Scalekit credentials via environment variables.
-- Help them install and initialize the official Scalekit SDK for their language.
-- Verify the setup with the smallest reliable check (prefer listing organizations).
-- Keep secrets out of chat and out of the repo.
-
-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.
-
-Workflow:
-1) Determine language/runtime (Node.js, Python, Go, Java) and where env vars should live (.env, shell, CI secrets).
-2) Confirm required env vars exist:
- - SCALEKIT_ENVIRONMENT_URL
- - SCALEKIT_CLIENT_ID
- - SCALEKIT_CLIENT_SECRET
-3) Install the SDK (pick the official package for that language).
-4) Initialize the SDK client using env vars.
-5) Verify credentials by listing organizations with a small page size.
-6) If verification fails, diagnose systematically:
- - Wrong environment URL (dev vs prod)
- - Missing env vars in current shell/process
- - Incorrect client id/secret
- - Network/DNS issues
-7) Only after verification succeeds, proceed to feature work and route to the correct Skill:
- - SSO → plugins/modular-sso/skills/modular-sso/SKILL.md
- - SCIM → plugins/modular-scim/skills/modular-scim/SKILL.md
- - MCP auth → plugins/mcp-auth/skills/*/SKILL.md
- - Full-stack auth → plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
-
-When you reference files, use exact repo-relative paths and read them before advising.
diff --git a/plugins/modular-scim/references/redirects.md b/plugins/modular-scim/references/redirects.md
deleted file mode 100644
index dbe1977..0000000
--- a/plugins/modular-scim/references/redirects.md
+++ /dev/null
@@ -1,76 +0,0 @@
-# Redirects
-
-Redirects are registered endpoints in Scalekit that control where users are directed during authentication flows. You must configure these endpoints in the Scalekit dashboard before they can be used.
-
-All redirect URIs must be registered under Authentication settings in your Scalekit dashboard. This is a security requirement to prevent unauthorized redirects.
-
-
-## Redirect endpoint types
-
-### Allowed callback URLs
-**Purpose**: Where users are sent after successful authentication to exchange authorization codes and retrieve profile information.
-
-**Example scenario**: A user completes sign-in and Scalekit redirects them to `https://yourapp.com/callback` where your application processes the authentication response.
-
-To add or remove an redirect URL, go to Dashboard > Authentication > Redirects > Allowed Callback URLs.
-
-### Initiate login URL
-**Purpose**: When authentication does not initiate from your application, Scalekit redirects users back to your application's login initiation endpoint. This endpoint should point to a route in your application that ultimately redirects users to Scalekit's `/authorize` endpoint.
-
-**Example scenarios**:
-
-- **Bookmarked login page**: A user bookmarks your login page and visits it directly. Your application detects they're not authenticated and redirects them to Scalekit's authorization endpoint.
-
-- **Organization invitation flow**: A user clicks an invitation link to join an organization. Your application receives the invitation token and redirects the user to Scalekit's authorization endpoint to complete the sign-up process.
-
-- **IdP-initiated SSO**: An administrator initiates single sign-on from their identity provider dashboard. The IdP redirects users to your application, which then redirects them to Scalekit's authorization endpoint to complete authentication.
-
-- **Session expiration**: When a user's session expires or they access a protected resource, they're redirected to `https://yourapp.com/login` which then redirects to Scalekit's authentication endpoint.
-
-### Post logout URL
-**Purpose**: Where users are sent after successfully signing out of your application.
-
-**Example scenario**: After logging out, users are redirected to `https://yourapp.com/goodbye` to confirm their session has ended.
-
-### Back channel logout URL
-**Purpose**: A secure endpoint that receives notifications whenever a user is logged out from Scalekit, regardless of how the logout was initiated — admin triggered, user initiated, or due to session policies like idle timeout.
-
-**Example scenario**: When a user logs out from any application (user-initiated, admin-initiated, or due to session policies like idle timeout), Scalekit sends a logout notification to `https://yourapp.com/logout` to suggest termination of the user's session across all connected applications, ensuring coordinated logout for enhanced security.
-
-### Custom URI schemes
-
-Custom URI schemes allow for redirects, enabling deep linking and native app integrations. Some applications include:
-- **Desktop applications**: Use schemes like `{scheme}://` for native app integration
-- **Mobile apps**: Use schemes like `myapp://` for mobile app deep linking
-
-**Example custom schemes**:
-- `{scheme}://auth/callback` - For custom scheme authentication
-- `myapp://login/callback` - For mobile app authentication
-
-
-## URI validation requirements
-
-Your redirect URIs must meet specific requirements that vary between development and production environments:
-
-| Requirement | Development | Production |
-| ----------- | ----------- | ---------- |
-| Supported schemes | `http`, `https`, `{scheme}` | `https`, `{scheme}` |
-| Localhost support | Allowed | Not allowed |
-| Wildcard domains | Allowed | Not allowed |
-| URI length limit | 256 characters | 256 characters |
-| Query parameters | Not allowed | Not allowed |
-| URL fragments | Not allowed | Not allowed |
-
-
-### Wildcard usage patterns
-
-Wildcards can simplify testing in development environments, but they must follow specific patterns:
-
-| Validation rule | Valid examples | Invalid examples |
-| --------------- | -------------- | ---------------- |
-| Wildcards cannot be used as root-level domains | `https://*.acmecorp.com`, `https://auth-*.acmecorp.com` | `https://*.com` |
-| Only one wildcard character is allowed per URI | `https://*.acmecorp.com` | `https://*.*.acmecorp.com` |
-| Wildcards must be in the hostname component only | `https://*.acmecorp.com` | `https://acmecorp.*.com` |
-| Wildcards must be in the outermost subdomain | `https://*.auth.acmecorp.com` | `https://auth.*.acmecorp.com` |
-
-> **Note**: According to the [OAuth 2.0 specification](https://tools.ietf.org/html/rfc6749#section-3.1.2), redirect URIs must be absolute URIs. For development convenience, Scalekit relaxes this restriction slightly by allowing wildcards in development environments.
diff --git a/plugins/modular-scim/skills/implementing-admin-portal/SKILL.md b/plugins/modular-scim/skills/implementing-admin-portal/SKILL.md
deleted file mode 100644
index a12fb3a..0000000
--- a/plugins/modular-scim/skills/implementing-admin-portal/SKILL.md
+++ /dev/null
@@ -1,155 +0,0 @@
----
-name: implementing-admin-portal
-description: Implements Scalekit's admin portal for customer self-serve SSO and SCIM configuration. Generates portal links server-side and embeds the portal as an iframe in the app's settings UI. Use when the user asks to add an admin portal, customer self-serve SCIM setup, iframe embed for directory sync config, shareable setup link, or let customers configure their own SSO or SCIM connection.
----
-
-# Admin Portal with Scalekit
-
-Adds a self-serve portal where customers configure their own SSO and SCIM settings — embedded inside your app's settings UI.
-
-If the user only needs a quick shareable link with no code (e.g., for a one-time onboarding call), skip to the **Shareable link** section at the bottom.
-
----
-
-## Implementation progress
-
-```
-Admin Portal Implementation Progress:
-- [ ] Step 1: Install SDK
-- [ ] Step 2: Set environment credentials
-- [ ] Step 3: Register app domain in dashboard
-- [ ] Step 4: Generate portal link (server-side)
-- [ ] Step 5: Render iframe (client-side)
-- [ ] Step 6: Handle session expiry events
-- [ ] Step 7: Verify portal loads and events fire correctly
-```
-
----
-
-## Step 1: Install SDK
-
-Detect the project's language/framework from existing files and install:
-
-| Stack | Install |
-|---------|---------|
-| Node.js | `npm install @scalekit-sdk/node` |
-| Python | `pip install scalekit-sdk` |
-| Go | `go get github.com/scalekit/scalekit-go` |
-| Java | Add `com.scalekit:scalekit-sdk` to `pom.xml` |
-
----
-
-## Step 2: Set environment credentials
-
-Add to `.env` (never hardcode):
-
-```shell
-SCALEKIT_ENVIRONMENT_URL='https://.scalekit.com'
-SCALEKIT_CLIENT_ID=''
-SCALEKIT_CLIENT_SECRET=''
-```
-
-Credentials are in **Dashboard > Developers > Settings > API Credentials**.
-
----
-
-## Step 3: Register app domain
-
-In **Dashboard > Developers > API Configuration > Redirect URIs**, add the domain where the portal will be embedded. The iframe will be blocked if this is missing.
-
----
-
-## Step 4: Generate the portal link (server-side)
-
-Generate a new link on every page load — links are single-use. Plug into the existing route or controller that serves the settings/admin page:
-
-**Node.js:**
-```javascript
-const { location } = await scalekit.organization.generatePortalLink(organizationId);
-// Pass `location` to the frontend as a template variable or API response
-```
-
-**Python:**
-```python
-portal = scalekit_client.organization.generate_portal_link(organization_id)
-location = portal.location
-# Pass `location` to your template or JSON response
-```
-
-**Never cache this value** — each link is single-use and will fail if reused.
-
----
-
-## Step 5: Render the iframe (client-side)
-
-In the frontend settings/admin template, inject `location` as the `src`:
-
-```html
-
-```
-
-Minimum recommended height: **600px**. Match the variable name to the project's existing templating convention.
-
----
-
-## Step 6: Handle portal UI events
-
-Listen for messages from the iframe to react to configuration changes and session expiry:
-
-```javascript
-window.addEventListener('message', (event) => {
- if (event.origin !== process.env.SCALEKIT_ENVIRONMENT_URL) return;
-
- const { type } = event.data;
- switch (type) {
- case 'SCIM_CONFIGURED':
- // Refresh org SCIM status, show success banner, etc.
- break;
- case 'SSO_CONFIGURED':
- // Refresh org SSO status if SSO is also in scope
- break;
- case 'SESSION_EXPIRED':
- // Re-fetch a new portal link and reload the iframe src
- reloadPortalIframe();
- break;
- }
-});
-```
-
-`SESSION_EXPIRED` handling is required — without it the portal silently breaks for long-lived sessions.
-
----
-
-## Step 7: Verify
-
-- [ ] Open the settings page — confirm the iframe renders without console errors
-- [ ] Complete a test SCIM configuration inside the portal — confirm `SCIM_CONFIGURED` fires
-- [ ] Wait for session expiry (or simulate it) — confirm `SESSION_EXPIRED` triggers a link refresh
-- [ ] Confirm portal link is never the same across two page loads (single-use verification)
-
----
-
-## Branding (optional)
-
-Configure at **Dashboard > Settings > Branding**: logo, accent color, favicon. Custom domain support (e.g., `scim.yourapp.com`) is available in the Scalekit dashboard.
-
----
-
-## Guardrails
-
-- **Generate link server-side only** — never expose `CLIENT_SECRET` to the browser
-- **Re-generate on every page load** — caching will break the portal
-- **Register your domain** in Redirect URIs before testing or the iframe will be blocked
-- **Handle `SESSION_EXPIRED`** — re-generate and reload, don't let it fail silently
-
----
-
-## Shareable link (no-code alternative)
-
-For one-time onboarding calls or zero-engineering setup: go to **Dashboard > Organizations**, select the org, click **Generate link**, and share the URL directly. The link gives anyone who has it full access to configure that org's SSO/SCIM settings — use the iframe approach for production. Also share Scalekit's [SCIM setup guides](https://docs.scalekit.com/guides/integrations/scim-integrations/) so the IT admin has provider-specific directory sync steps alongside the portal link.
diff --git a/plugins/modular-scim/skills/production-readiness-scalekit/SKILL.md b/plugins/modular-scim/skills/production-readiness-scalekit/SKILL.md
deleted file mode 100644
index dca5b5f..0000000
--- a/plugins/modular-scim/skills/production-readiness-scalekit/SKILL.md
+++ /dev/null
@@ -1,86 +0,0 @@
----
-name: production-readiness-scalekit
-description: Walks through a structured production readiness checklist for Scalekit SCIM provisioning implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, or wants to verify their SCIM directory sync implementation is production-ready.
----
-
-# Scalekit SCIM Production Readiness
-
-Work through each section in order — earlier sections are blockers for later ones.
-
----
-
-## Quick checks (run first)
-
-- [ ] Production environment URL, client ID, and client secret are set (not dev/staging values)
-- [ ] HTTPS enforced on all endpoints
-- [ ] API credentials stored in environment variables — never committed to code
-- [ ] Webhook secret stored in environment variables — never committed to code
-
----
-
-## SCIM provisioning
-
-- [ ] Configure webhook endpoints to receive SCIM events
- → IT admin setup guides per IdP: https://docs.scalekit.com/guides/integrations/scim-integrations/
-- [ ] Verify webhook security with signature validation on every request
-- [ ] Test user provisioning (automatic creation from IdP)
-- [ ] Test user deprovisioning (deactivation/deletion when removed in IdP)
-- [ ] Test user profile updates (name, email, attributes synced correctly)
-- [ ] Test role changes propagated via group membership
-- [ ] Set up group-based role assignment and sync
-- [ ] Test error cases: duplicate users, invalid data, missing required fields
-- [ ] Verify idempotent handling — duplicate events must not create duplicate records
-- [ ] Deactivation preferred over hard deletion for `user_deleted` events
-
-**Webhook reliability:**
-- [ ] Webhook endpoint returns 2xx quickly — offload heavy processing to a queue if needed
-- [ ] Scalekit retries on non-2xx with exponential backoff (up to 8 attempts over ~10 hours)
-- [ ] Tested webhook delivery end-to-end with a real IdP or Scalekit's test tool
-
----
-
-## User and organization management
-
-- [ ] Test organization creation and domain assignment
-- [ ] Test adding and removing users from organizations
-- [ ] Set allowed email domains for org provisioning (if applicable)
-- [ ] Set default roles for auto-provisioned users
-- [ ] Test user deletion flow
-
-**RBAC (if implemented):**
-- [ ] Define roles and permissions that map to IdP groups
-- [ ] Test role assignment via group membership sync
-- [ ] Verify permission enforcement at API endpoints
-- [ ] Test access control across all role levels
-
----
-
-## Network and firewall
-
-Enterprise customers behind VPN or corporate firewall must whitelist:
-
-| Domain | Purpose |
-|---|---|
-| `.scalekit.com` | Directory API + webhook delivery |
-| `cdn.scalekit.com` | Static assets |
-
-- [ ] Customer firewalls allow Scalekit domains
-- [ ] SCIM provisioning tested from customer's network environment
-
----
-
-## Monitoring and incident readiness
-
-- [ ] Webhook event monitoring and logging active
-- [ ] Error tracking configured for provisioning failures
-- [ ] Alerts configured for failed webhook deliveries
-- [ ] Log retention policies configured
-- [ ] Webhook delivery and retry mechanism tested
-- [ ] Incident response runbook written (who to contact, how to roll back)
-- [ ] Rollback plan ready (disable SCIM sync without breaking existing users)
-
-**Key metrics:**
-- Webhook delivery success rate
-- User provisioning/deprovisioning latency
-- Failed sync events (by type and error)
-- Group-to-role mapping accuracy
diff --git a/plugins/modular-sso/.github/plugin/plugin.json b/plugins/modular-sso/.github/plugin/plugin.json
deleted file mode 100644
index f859646..0000000
--- a/plugins/modular-sso/.github/plugin/plugin.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "modular-sso",
- "description": "Modular SSO flows using Scalekit for apps with existing user management, including IdP-initiated login and enterprise onboarding.",
- "version": "1.1.4",
- "author": {
- "name": "Scalekit Inc",
- "email": "support@scalekit.com"
- },
- "homepage": "https://docs.scalekit.com",
- "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
- "license": "MIT",
- "keywords": ["sso", "saml", "oidc", "authentication", "enterprise"],
- "agents": [
- "./agents"
- ],
- "skills": [
- "./skills/modular-sso",
- "./skills/implementing-admin-portal",
- "./skills/production-readiness-scalekit"
- ],
- "mcpServers": ".mcp.json"
-}
diff --git a/plugins/modular-sso/.mcp.json b/plugins/modular-sso/.mcp.json
deleted file mode 100644
index 36dbbf4..0000000
--- a/plugins/modular-sso/.mcp.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "mcpServers": {
- "scalekit": {
- "command": "npx",
- "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"]
- }
- }
-}
diff --git a/plugins/modular-sso/README.md b/plugins/modular-sso/README.md
deleted file mode 100644
index 9c38ca5..0000000
--- a/plugins/modular-sso/README.md
+++ /dev/null
@@ -1,95 +0,0 @@
-# modular-sso
-
-## Purpose
-
-This plugin implements modular SSO flows using Scalekit for applications that already have their own user management. It adds enterprise SSO (SAML, OIDC) on top of existing auth systems, handles IdP-initiated login, and provides self-serve customer onboarding via an embedded admin portal — without requiring a full auth migration.
-
-## Installation
-
-```bash
-# Add the marketplace
-copilot plugin marketplace add scalekit-inc/github-copilot-authstack
-
-# Install this plugin
-copilot plugin install modular-sso
-```
-
-## Components Reference
-
-### Agents
-
-| Agent | Purpose |
-|---|---|
-| `setup-scalekit` | Sets up Scalekit env vars, installs and initializes the SDK, and verifies credentials |
-
-### Skills
-
-| Skill | Purpose |
-|---|---|
-| `modular-sso` | Implements SSO and authentication flows: modular SSO, IdP-initiated login, session management, enterprise onboarding |
-| `implementing-admin-portal` | Embeds Scalekit's admin portal for customer self-serve SSO configuration |
-| `production-readiness-scalekit` | Structured production readiness checklist for Scalekit SSO implementations |
-
-### MCP Server
-
-Configured in `.mcp.json` — connects to the Scalekit MCP server at `https://mcp.scalekit.com` via `mcp-remote`.
-
-### Commands
-
-- `dryrun` — runs a Scalekit SSO dry-run to validate configuration before going live
-
-## Configuration
-
-Required environment variables:
-
-```bash
-SCALEKIT_ENVIRONMENT_URL=https://your-env.scalekit.com
-SCALEKIT_CLIENT_ID=your_client_id
-SCALEKIT_CLIENT_SECRET=your_client_secret
-```
-
-Use the `setup-scalekit` agent to configure these automatically:
-
-```bash
-copilot setup-scalekit "Set up Scalekit for my SSO integration"
-```
-
-## Usage Examples
-
-### Add enterprise SSO to an existing app
-
-```
-copilot "Add SAML SSO to my app that already has username/password login"
-```
-
-The `modular-sso` skill activates and guides through installing the Scalekit SDK, initiating the SSO authorization URL, handling the callback, validating the token, and linking SSO identity to an existing user record.
-
-### Let customers configure their own SSO
-
-```
-copilot "Add a self-serve SSO configuration page for my enterprise customers"
-```
-
-The `implementing-admin-portal` skill generates a server-side portal link and embeds it as an iframe in your settings UI.
-
-## Troubleshooting
-
-**IdP-initiated login failing**: Ensure the Initiate Login URL is registered in your Scalekit dashboard. See `references/redirects.md` for the correct URL format. This endpoint must redirect users to Scalekit's `/authorize` endpoint.
-
-**SSO callback returning errors**: Verify that the redirect URL in your dashboard exactly matches the callback URL in your code. Query parameters are not allowed in registered redirect URIs.
-
-**Admin portal not loading**: Confirm the portal link was generated server-side using valid credentials and has not expired. Portal links are single-use and time-limited.
-
-## Security
-
-**Required credentials:**
-- `SCALEKIT_ENVIRONMENT_URL` — your Scalekit environment URL
-- `SCALEKIT_CLIENT_ID` — OAuth client ID
-- `SCALEKIT_CLIENT_SECRET` — OAuth client secret (treat as a password)
-
-**Storage:**
-- Store secrets in environment variables or a secrets manager
-- Never commit secrets to source control
-- Validate the `state` parameter in all OAuth callbacks to prevent CSRF attacks
-
-The plugin itself contains no hardcoded credentials. All MCP server config uses `${ENV_VAR}` placeholders.
diff --git a/plugins/modular-sso/agents/setup-scalekit.md b/plugins/modular-sso/agents/setup-scalekit.md
deleted file mode 100644
index 044e411..0000000
--- a/plugins/modular-sso/agents/setup-scalekit.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-name: scalekit-setup
-description: Sets up Scalekit env vars, installs/initializes the SDK, and verifies credentials by listing organizations. Use proactively when user asks to set up, install, initialize, configure, or verify Scalekit.
-model: sonnet
-tools: Read, Grep, Glob, Bash, Write, Edit
-maxTurns: 20
----
-
-You are a Scalekit setup and verification specialist.
-
-Mission:
-- Help the user configure Scalekit credentials via environment variables.
-- Help them install and initialize the official Scalekit SDK for their language.
-- Verify the setup with the smallest reliable check (prefer listing organizations).
-- Keep secrets out of chat and out of the repo.
-
-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.
-
-Workflow:
-1) Determine language/runtime (Node.js, Python, Go, Java) and where env vars should live (.env, shell, CI secrets).
-2) Confirm required env vars exist:
- - SCALEKIT_ENVIRONMENT_URL
- - SCALEKIT_CLIENT_ID
- - SCALEKIT_CLIENT_SECRET
-3) Install the SDK (pick the official package for that language).
-4) Initialize the SDK client using env vars.
-5) Verify credentials by listing organizations with a small page size.
-6) If verification fails, diagnose systematically:
- - Wrong environment URL (dev vs prod)
- - Missing env vars in current shell/process
- - Incorrect client id/secret
- - Network/DNS issues
-7) Only after verification succeeds, proceed to feature work and route to the correct Skill:
- - SSO → plugins/modular-sso/skills/modular-sso/SKILL.md
- - SCIM → plugins/modular-scim/skills/modular-scim/SKILL.md
- - MCP auth → plugins/mcp-auth/skills/*/SKILL.md
- - Full-stack auth → plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
-
-When you reference files, use exact repo-relative paths and read them before advising.
diff --git a/plugins/modular-sso/commands/dryrun.md b/plugins/modular-sso/commands/dryrun.md
deleted file mode 100644
index 1b23d0d..0000000
--- a/plugins/modular-sso/commands/dryrun.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-description: Run Scalekit dryrun in fsa
-argument-hint: " [organization_id]"
-allowed-tools: Bash(node *), Bash(npx *)
----
-
-Run Scalekit dryrun with explicit arguments.
-
-Expected arguments:
-1. mode (`sso`)
-2. env_url
-3. client_id
-4. organization_id (required only for `sso`)
-
-Behavior:
-- If mode is `fsa`, run:
- `npx @scalekit-sdk/dryrun --env_url= --client_id= --mode=fsa`
-- If mode is `sso`, run:
- `npx @scalekit-sdk/dryrun --env_url= --client_id= --mode=sso --organization_id=`
-- If mode is missing/invalid, explain the usage and ask for valid arguments.
-- If `sso` is selected but organization_id is missing, ask for it before running.
diff --git a/plugins/modular-sso/references/redirects.md b/plugins/modular-sso/references/redirects.md
deleted file mode 100644
index dbe1977..0000000
--- a/plugins/modular-sso/references/redirects.md
+++ /dev/null
@@ -1,76 +0,0 @@
-# Redirects
-
-Redirects are registered endpoints in Scalekit that control where users are directed during authentication flows. You must configure these endpoints in the Scalekit dashboard before they can be used.
-
-All redirect URIs must be registered under Authentication settings in your Scalekit dashboard. This is a security requirement to prevent unauthorized redirects.
-
-
-## Redirect endpoint types
-
-### Allowed callback URLs
-**Purpose**: Where users are sent after successful authentication to exchange authorization codes and retrieve profile information.
-
-**Example scenario**: A user completes sign-in and Scalekit redirects them to `https://yourapp.com/callback` where your application processes the authentication response.
-
-To add or remove an redirect URL, go to Dashboard > Authentication > Redirects > Allowed Callback URLs.
-
-### Initiate login URL
-**Purpose**: When authentication does not initiate from your application, Scalekit redirects users back to your application's login initiation endpoint. This endpoint should point to a route in your application that ultimately redirects users to Scalekit's `/authorize` endpoint.
-
-**Example scenarios**:
-
-- **Bookmarked login page**: A user bookmarks your login page and visits it directly. Your application detects they're not authenticated and redirects them to Scalekit's authorization endpoint.
-
-- **Organization invitation flow**: A user clicks an invitation link to join an organization. Your application receives the invitation token and redirects the user to Scalekit's authorization endpoint to complete the sign-up process.
-
-- **IdP-initiated SSO**: An administrator initiates single sign-on from their identity provider dashboard. The IdP redirects users to your application, which then redirects them to Scalekit's authorization endpoint to complete authentication.
-
-- **Session expiration**: When a user's session expires or they access a protected resource, they're redirected to `https://yourapp.com/login` which then redirects to Scalekit's authentication endpoint.
-
-### Post logout URL
-**Purpose**: Where users are sent after successfully signing out of your application.
-
-**Example scenario**: After logging out, users are redirected to `https://yourapp.com/goodbye` to confirm their session has ended.
-
-### Back channel logout URL
-**Purpose**: A secure endpoint that receives notifications whenever a user is logged out from Scalekit, regardless of how the logout was initiated — admin triggered, user initiated, or due to session policies like idle timeout.
-
-**Example scenario**: When a user logs out from any application (user-initiated, admin-initiated, or due to session policies like idle timeout), Scalekit sends a logout notification to `https://yourapp.com/logout` to suggest termination of the user's session across all connected applications, ensuring coordinated logout for enhanced security.
-
-### Custom URI schemes
-
-Custom URI schemes allow for redirects, enabling deep linking and native app integrations. Some applications include:
-- **Desktop applications**: Use schemes like `{scheme}://` for native app integration
-- **Mobile apps**: Use schemes like `myapp://` for mobile app deep linking
-
-**Example custom schemes**:
-- `{scheme}://auth/callback` - For custom scheme authentication
-- `myapp://login/callback` - For mobile app authentication
-
-
-## URI validation requirements
-
-Your redirect URIs must meet specific requirements that vary between development and production environments:
-
-| Requirement | Development | Production |
-| ----------- | ----------- | ---------- |
-| Supported schemes | `http`, `https`, `{scheme}` | `https`, `{scheme}` |
-| Localhost support | Allowed | Not allowed |
-| Wildcard domains | Allowed | Not allowed |
-| URI length limit | 256 characters | 256 characters |
-| Query parameters | Not allowed | Not allowed |
-| URL fragments | Not allowed | Not allowed |
-
-
-### Wildcard usage patterns
-
-Wildcards can simplify testing in development environments, but they must follow specific patterns:
-
-| Validation rule | Valid examples | Invalid examples |
-| --------------- | -------------- | ---------------- |
-| Wildcards cannot be used as root-level domains | `https://*.acmecorp.com`, `https://auth-*.acmecorp.com` | `https://*.com` |
-| Only one wildcard character is allowed per URI | `https://*.acmecorp.com` | `https://*.*.acmecorp.com` |
-| Wildcards must be in the hostname component only | `https://*.acmecorp.com` | `https://acmecorp.*.com` |
-| Wildcards must be in the outermost subdomain | `https://*.auth.acmecorp.com` | `https://auth.*.acmecorp.com` |
-
-> **Note**: According to the [OAuth 2.0 specification](https://tools.ietf.org/html/rfc6749#section-3.1.2), redirect URIs must be absolute URIs. For development convenience, Scalekit relaxes this restriction slightly by allowing wildcards in development environments.
diff --git a/plugins/modular-sso/skills/implementing-admin-portal/SKILL.md b/plugins/modular-sso/skills/implementing-admin-portal/SKILL.md
deleted file mode 100644
index 7bbfd19..0000000
--- a/plugins/modular-sso/skills/implementing-admin-portal/SKILL.md
+++ /dev/null
@@ -1,153 +0,0 @@
----
-name: implementing-admin-portal
-description: Implements Scalekit's admin portal for customer self-serve SSO and SCIM configuration. Generates portal links server-side and embeds the portal as an iframe in the app's settings UI. Use when the user asks to add an admin portal, customer self-serve SSO setup, iframe embed for SSO config, shareable setup link, or let customers configure their own SSO or SCIM connection.
----
-
-# Admin Portal with Scalekit
-
-Adds a self-serve portal where customers configure their own SSO and SCIM settings — embedded inside your app's settings UI.
-
-If the user only needs a quick shareable link with no code (e.g., for a one-time onboarding call), skip to the **Shareable link** section at the bottom.
-
----
-
-## Implementation progress
-
-```
-Admin Portal Implementation Progress:
-- [ ] Step 1: Install SDK
-- [ ] Step 2: Set environment credentials
-- [ ] Step 3: Register app domain in dashboard
-- [ ] Step 4: Generate portal link (server-side)
-- [ ] Step 5: Render iframe (client-side)
-- [ ] Step 6: Handle session expiry events
-- [ ] Step 7: Verify portal loads and events fire correctly
-```
-
----
-
-## Step 1: Install SDK
-
-Detect the project's language/framework from existing files and install:
-
-| Stack | Install |
-|---------|---------|
-| Node.js | `npm install @scalekit-sdk/node` |
-| Python | `pip install scalekit-sdk` |
-| Go | `go get github.com/scalekit/scalekit-go` |
-| Java | Add `com.scalekit:scalekit-sdk` to `pom.xml` |
-
----
-
-## Step 2: Set environment credentials
-
-Add to `.env` (never hardcode):
-
-```shell
-SCALEKIT_ENVIRONMENT_URL='https://.scalekit.com'
-SCALEKIT_CLIENT_ID=''
-SCALEKIT_CLIENT_SECRET=''
-```
-
-Credentials are in **Dashboard > Developers > Settings > API Credentials**.
-
----
-
-## Step 3: Register app domain
-
-In **Dashboard > Developers > API Configuration > Redirect URIs**, add the domain where the portal will be embedded. The iframe will be blocked if this is missing.
-
----
-
-## Step 4: Generate the portal link (server-side)
-
-Generate a new link on every page load — links are single-use. Plug into the existing route or controller that serves the settings/admin page:
-
-**Node.js:**
-```javascript
-const { location } = await scalekit.organization.generatePortalLink(organizationId);
-// Pass `location` to the frontend as a template variable or API response
-```
-
-**Python:**
-```python
-portal = scalekit_client.organization.generate_portal_link(organization_id)
-location = portal.location
-# Pass `location` to your template or JSON response
-```
-
-**Never cache this value** — each link is single-use and will fail if reused.
-
----
-
-## Step 5: Render the iframe (client-side)
-
-In the frontend settings/admin template, inject `location` as the `src`:
-
-```html
-
-```
-
-Minimum recommended height: **600px**. Match the variable name to the project's existing templating convention.
-
----
-
-## Step 6: Handle portal UI events
-
-Listen for messages from the iframe to react to configuration changes and session expiry:
-
-```javascript
-window.addEventListener('message', (event) => {
- if (event.origin !== process.env.SCALEKIT_ENVIRONMENT_URL) return;
-
- const { type } = event.data;
- switch (type) {
- case 'SSO_CONFIGURED':
- // Refresh org SSO status, show success banner, etc.
- break;
- case 'SESSION_EXPIRED':
- // Re-fetch a new portal link and reload the iframe src
- reloadPortalIframe();
- break;
- }
-});
-```
-
-`SESSION_EXPIRED` handling is required — without it the portal silently breaks for long-lived sessions.
-
----
-
-## Step 7: Verify
-
-- [ ] Open the settings page — confirm the iframe renders without console errors
-- [ ] Complete a test SSO configuration inside the portal — confirm `SSO_CONFIGURED` fires
-- [ ] Wait for session expiry (or simulate it) — confirm `SESSION_EXPIRED` triggers a link refresh
-- [ ] Confirm portal link is never the same across two page loads (single-use verification)
-
----
-
-## Branding (optional)
-
-Configure at **Dashboard > Settings > Branding**: logo, accent color, favicon. Custom domain support (e.g., `sso.yourapp.com`) is available in the Scalekit dashboard.
-
----
-
-## Guardrails
-
-- **Generate link server-side only** — never expose `CLIENT_SECRET` to the browser
-- **Re-generate on every page load** — caching will break the portal
-- **Register your domain** in Redirect URIs before testing or the iframe will be blocked
-- **Handle `SESSION_EXPIRED`** — re-generate and reload, don't let it fail silently
-
----
-
-## Shareable link (no-code alternative)
-
-For one-time onboarding calls or zero-engineering setup: go to **Dashboard > Organizations**, select the org, click **Generate link**, and share the URL directly. The link gives anyone who has it full access to configure that org's SSO/SCIM settings — use the iframe approach for production. Also share Scalekit's [SSO setup guides](https://docs.scalekit.com/guides/integrations/sso-integrations/) so the IT admin has provider-specific configuration steps alongside the portal link.
-
diff --git a/plugins/modular-sso/skills/production-readiness-scalekit/SKILL.md b/plugins/modular-sso/skills/production-readiness-scalekit/SKILL.md
deleted file mode 100644
index b24ffab..0000000
--- a/plugins/modular-sso/skills/production-readiness-scalekit/SKILL.md
+++ /dev/null
@@ -1,110 +0,0 @@
----
-name: production-readiness-scalekit
-description: Walks through a structured production readiness checklist for Scalekit SSO implementations. Use when the user says they are going live, launching to production, doing a pre-launch review, hardening their SSO setup, or wants to verify their Scalekit implementation is production-ready.
----
-
-# Scalekit SSO Production Readiness
-
-Work through each section in order — earlier sections are blockers for later ones.
-
----
-
-## Quick checks (run first)
-
-- [ ] Production environment URL, client ID, and client secret are set (not dev/staging values)
-- [ ] HTTPS enforced on all auth endpoints
-- [ ] CORS restricted to your domains only
-- [ ] API credentials stored in environment variables — never committed to code
-
----
-
-## Customization
-
-- [ ] Login page branded with logo, colors, styling
-- [ ] Email templates customized (sign-up, password reset, invitations)
-- [ ] Custom domain configured for auth pages (if applicable)
-- [ ] Email provider configured in **Dashboard > Customization > Emails**
-- [ ] Email deliverability tested — check spam folders
-- [ ] Webhooks configured with signature validation
-
----
-
-## Core auth flows
-
-- [ ] Test login initiation with authorization URL
-- [ ] Validate redirect URLs match dashboard configuration exactly
-- [ ] Test authentication completion and code exchange
-- [ ] Validate `state` parameter in callbacks (CSRF protection)
-- [ ] Verify session token storage uses `httpOnly`, `secure`, and `sameSite` flags
-- [ ] Test session timeout and automatic token refresh
-- [ ] Verify logout clears sessions completely
-- [ ] Expired tokens handled gracefully
-- [ ] Network failures show user-friendly messages
-
----
-
-## SSO flows
-
-- [ ] Test SSO with target IdPs: Okta, Azure AD, Google Workspace
- → IT admin setup guides per IdP: https://docs.scalekit.com/guides/integrations/sso-integrations/
-- [ ] Configure user attribute mapping (email, name, groups)
-- [ ] Test both SP-initiated and IdP-initiated SSO flows
-- [ ] Verify SSO error handling for misconfigured connections
-- [ ] Test SSO with: new users, existing users, deactivated users
-
-**JIT provisioning:**
-- [ ] Register all organization domains for JIT provisioning
-- [ ] Configure consistent user identifiers across SSO connections (email or userPrincipalName)
-- [ ] Set default roles for JIT-provisioned users
-- [ ] Enable "Sync user attributes during login"
-- [ ] Plan manual invitation process for contractors/external users with non-matching domains
-- [ ] Set up review process for automatically provisioned users
-
-**Admin portal:**
-- [ ] Configure admin portal access for enterprise customers
-- [ ] Test admin portal SSO configuration flows
-- [ ] Verify user management features in admin portal
-
----
-
-## Organization management
-
-- [ ] Test organization creation
-- [ ] Test adding and removing users from organizations
-- [ ] Set allowed email domains for org sign-ups (if applicable)
-- [ ] Verify organization switching for users in multiple orgs
-- [ ] Test invitation flow and email templates
-
----
-
-## Network and firewall
-
-Enterprise customers behind VPN or corporate firewall must whitelist:
-
-| Domain | Purpose |
-|---|---|
-| `.scalekit.com` | Auth + admin portal |
-| `cdn.scalekit.com` | Static assets |
-| `fonts.googleapis.com` | Font resources |
-
-- [ ] Customer firewalls allow Scalekit domains
-- [ ] SSO tested from customer's network environment
-
----
-
-## Monitoring and incident readiness
-
-- [ ] Auth logs monitoring configured in **Dashboard > Auth Logs**
-- [ ] Alerts set for suspicious activity (multiple failed logins, unusual locations)
-- [ ] Webhook event monitoring and logging active
-- [ ] Error tracking configured for authentication failures
-- [ ] Log retention policies configured
-- [ ] Webhook delivery and retry mechanism tested
-- [ ] Incident response runbook written (who to contact, how to roll back, escalation path)
-- [ ] Rollback plan ready (feature flag to disable SSO flows if needed)
-
-**Key metrics:**
-- Login success/failure rates
-- SSO initiation vs completion rate
-- Session creation and duration
-- Webhook delivery success rate
diff --git a/plugins/saaskit/.github/plugin/plugin.json b/plugins/saaskit/.github/plugin/plugin.json
new file mode 100644
index 0000000..1134ff0
--- /dev/null
+++ b/plugins/saaskit/.github/plugin/plugin.json
@@ -0,0 +1,28 @@
+{
+ "name": "saaskit",
+ "description": "Production-ready auth for B2B SaaS apps. Login, sessions, SSO (Okta, Azure AD, Google), SCIM provisioning, RBAC, MCP server auth, and API key management.",
+ "version": "2.0.0",
+ "author": {
+ "name": "Scalekit Inc",
+ "email": "support@scalekit.com"
+ },
+ "homepage": "https://docs.scalekit.com",
+ "repository": "https://github.com/scalekit-inc/github-copilot-authstack",
+ "license": "MIT",
+ "keywords": ["scalekit", "saaskit", "authentication", "sso", "scim", "mcp-auth", "sessions"],
+ "agents": ["./agents"],
+ "skills": [
+ "./skills/implementing-saaskit",
+ "./skills/implementing-saaskit-nextjs",
+ "./skills/implementing-saaskit-python",
+ "./skills/implementing-modular-sso",
+ "./skills/implementing-scim-provisioning",
+ "./skills/adding-mcp-oauth",
+ "./skills/implementing-access-control",
+ "./skills/managing-saaskit-sessions",
+ "./skills/migrating-to-saaskit",
+ "./skills/adding-api-auth",
+ "./skills/production-readiness-saaskit"
+ ],
+ "mcpServers": ".mcp.json"
+}
diff --git a/plugins/full-stack-auth/.mcp.json b/plugins/saaskit/.mcp.json
similarity index 100%
rename from plugins/full-stack-auth/.mcp.json
rename to plugins/saaskit/.mcp.json
diff --git a/plugins/saaskit/README.md b/plugins/saaskit/README.md
new file mode 100644
index 0000000..a372a42
--- /dev/null
+++ b/plugins/saaskit/README.md
@@ -0,0 +1,32 @@
+# SaaSKit for GitHub Copilot
+
+Production-ready auth for B2B SaaS apps. This plugin brings Scalekit SaaSKit into Codex to build production-ready B2B authentication. It covers login, sessions, SSO, SCIM provisioning, MCP server auth, API keys, and more.
+
+## Skills
+
+- `implementing-saaskit` — Core auth flow: login, signup, callback, token exchange, session management, logout. Framework references for Go, Spring Boot, Laravel.
+- `implementing-saaskit-nextjs` — Auth for Next.js App Router.
+- `implementing-saaskit-python` — Auth for Django, FastAPI, or Flask. Framework references included.
+- `implementing-modular-sso` — Enterprise SSO (SAML/OIDC) with 20+ IdPs, admin portal, JIT provisioning.
+- `implementing-scim-provisioning` — SCIM 2.0 webhooks, user/group lifecycle, directory API.
+- `adding-mcp-oauth` — OAuth 2.1 for MCP servers (FastMCP, Express, FastAPI).
+- `implementing-access-control` — RBAC and permission checks.
+- `managing-saaskit-sessions` — Secure session storage, token refresh, session revocation.
+- `migrating-to-saaskit` — Migration planning from Auth0, Firebase, Cognito, or custom auth.
+- `adding-api-auth` — API keys (org/user scoped) and OAuth 2.0 client credentials.
+- `production-readiness-saaskit` — Unified production checklist across all SaaSKit domains.
+
+## Configuration
+
+Required environment variables:
+
+- `SCALEKIT_ENVIRONMENT_URL`
+- `SCALEKIT_CLIENT_ID`
+- `SCALEKIT_CLIENT_SECRET`
+
+## Links
+
+- [Full-stack auth quickstart](https://docs.scalekit.com/authenticate/fsa/quickstart/)
+- [Modular SSO guide](https://docs.scalekit.com/authenticate/sso/add-modular-sso/)
+- [SCIM directory sync](https://docs.scalekit.com/directory/scim/quickstart/)
+- [MCP Auth quickstart](https://docs.scalekit.com/authenticate/mcp/quickstart/)
diff --git a/plugins/mcp-auth/agents/scalekit-mcp-auth-troubleshooter.md b/plugins/saaskit/agents/scalekit-mcp-auth-troubleshooter.md
similarity index 100%
rename from plugins/mcp-auth/agents/scalekit-mcp-auth-troubleshooter.md
rename to plugins/saaskit/agents/scalekit-mcp-auth-troubleshooter.md
diff --git a/plugins/full-stack-auth/agents/scalekit-mcp-helper.md b/plugins/saaskit/agents/scalekit-mcp-helper.md
similarity index 100%
rename from plugins/full-stack-auth/agents/scalekit-mcp-helper.md
rename to plugins/saaskit/agents/scalekit-mcp-helper.md
diff --git a/plugins/full-stack-auth/agents/sdk-version-advisor.md b/plugins/saaskit/agents/sdk-version-advisor.md
similarity index 100%
rename from plugins/full-stack-auth/agents/sdk-version-advisor.md
rename to plugins/saaskit/agents/sdk-version-advisor.md
diff --git a/plugins/full-stack-auth/agents/session-management-reviewer.md b/plugins/saaskit/agents/session-management-reviewer.md
similarity index 100%
rename from plugins/full-stack-auth/agents/session-management-reviewer.md
rename to plugins/saaskit/agents/session-management-reviewer.md
diff --git a/plugins/full-stack-auth/agents/setup-scalekit.md b/plugins/saaskit/agents/setup-scalekit.md
similarity index 100%
rename from plugins/full-stack-auth/agents/setup-scalekit.md
rename to plugins/saaskit/agents/setup-scalekit.md
diff --git a/plugins/mcp-auth/references/bring-your-own-auth.md b/plugins/saaskit/references/bring-your-own-auth.md
similarity index 100%
rename from plugins/mcp-auth/references/bring-your-own-auth.md
rename to plugins/saaskit/references/bring-your-own-auth.md
diff --git a/plugins/full-stack-auth/references/redirects.md b/plugins/saaskit/references/redirects.md
similarity index 100%
rename from plugins/full-stack-auth/references/redirects.md
rename to plugins/saaskit/references/redirects.md
diff --git a/plugins/full-stack-auth/references/scalekit-logs.md b/plugins/saaskit/references/scalekit-logs.md
similarity index 100%
rename from plugins/full-stack-auth/references/scalekit-logs.md
rename to plugins/saaskit/references/scalekit-logs.md
diff --git a/plugins/mcp-auth/references/scalekit-mcp-server.md b/plugins/saaskit/references/scalekit-mcp-server.md
similarity index 100%
rename from plugins/mcp-auth/references/scalekit-mcp-server.md
rename to plugins/saaskit/references/scalekit-mcp-server.md
diff --git a/plugins/full-stack-auth/references/scalekit-user-profiles.md b/plugins/saaskit/references/scalekit-user-profiles.md
similarity index 100%
rename from plugins/full-stack-auth/references/scalekit-user-profiles.md
rename to plugins/saaskit/references/scalekit-user-profiles.md
diff --git a/plugins/full-stack-auth/skills/adding-api-key-auth/SKILL.md b/plugins/saaskit/skills/adding-api-auth/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/adding-api-key-auth/SKILL.md
rename to plugins/saaskit/skills/adding-api-auth/SKILL.md
index 8b9cfe5..feb8c9a 100644
--- a/plugins/full-stack-auth/skills/adding-api-key-auth/SKILL.md
+++ b/plugins/saaskit/skills/adding-api-auth/SKILL.md
@@ -1,5 +1,5 @@
---
-name: adding-api-key-auth
+name: adding-api-auth
description: >
Creates, validates, lists, and revokes long-lived opaque API keys using
Scalekit for organization-scoped or user-scoped bearer authentication.
diff --git a/plugins/mcp-auth/skills/mcp-auth/SKILL.md b/plugins/saaskit/skills/adding-mcp-oauth/SKILL.md
similarity index 100%
rename from plugins/mcp-auth/skills/mcp-auth/SKILL.md
rename to plugins/saaskit/skills/adding-mcp-oauth/SKILL.md
diff --git a/plugins/mcp-auth/skills/express-mcp-server/SKILL.md b/plugins/saaskit/skills/adding-mcp-oauth/express-reference.md
similarity index 100%
rename from plugins/mcp-auth/skills/express-mcp-server/SKILL.md
rename to plugins/saaskit/skills/adding-mcp-oauth/express-reference.md
diff --git a/plugins/mcp-auth/skills/fastapi-fastmcp/SKILL.md b/plugins/saaskit/skills/adding-mcp-oauth/fastapi-reference.md
similarity index 100%
rename from plugins/mcp-auth/skills/fastapi-fastmcp/SKILL.md
rename to plugins/saaskit/skills/adding-mcp-oauth/fastapi-reference.md
diff --git a/plugins/mcp-auth/skills/add-auth-fastmcp/SKILL.md b/plugins/saaskit/skills/adding-mcp-oauth/fastmcp-reference.md
similarity index 100%
rename from plugins/mcp-auth/skills/add-auth-fastmcp/SKILL.md
rename to plugins/saaskit/skills/adding-mcp-oauth/fastmcp-reference.md
diff --git a/plugins/full-stack-auth/skills/implementing-access-control/SKILL.md b/plugins/saaskit/skills/implementing-access-control/SKILL.md
similarity index 100%
rename from plugins/full-stack-auth/skills/implementing-access-control/SKILL.md
rename to plugins/saaskit/skills/implementing-access-control/SKILL.md
diff --git a/plugins/modular-sso/skills/modular-sso/SKILL.md b/plugins/saaskit/skills/implementing-modular-sso/SKILL.md
similarity index 98%
rename from plugins/modular-sso/skills/modular-sso/SKILL.md
rename to plugins/saaskit/skills/implementing-modular-sso/SKILL.md
index 15aa426..c301495 100644
--- a/plugins/modular-sso/skills/modular-sso/SKILL.md
+++ b/plugins/saaskit/skills/implementing-modular-sso/SKILL.md
@@ -1,5 +1,5 @@
---
-name: modular-sso
+name: implementing-modular-sso
description: Implements complete SSO and authentication flows using Scalekit. Handles modular SSO, IdP-initiated login, user session management, and enterprise customer onboarding. Use when adding authentication, SSO, SAML, OIDC, or user login to applications.
---
@@ -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('@').toLowerCase();
const connections = await scalekit.connections.listConnectionsByDomain({
domain
diff --git a/plugins/full-stack-auth/skills/implementing-scalekit-nextjs-auth/SKILL.md b/plugins/saaskit/skills/implementing-saaskit-nextjs/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/implementing-scalekit-nextjs-auth/SKILL.md
rename to plugins/saaskit/skills/implementing-saaskit-nextjs/SKILL.md
index 3d4ba84..137ee9e 100644
--- a/plugins/full-stack-auth/skills/implementing-scalekit-nextjs-auth/SKILL.md
+++ b/plugins/saaskit/skills/implementing-saaskit-nextjs/SKILL.md
@@ -1,5 +1,5 @@
---
-name: implementing-scalekit-nextjs-auth
+name: implementing-saaskit-nextjs
description: Implements Scalekit authentication in a Next.js App Router project using the patterns from scalekit-inc/scalekit-nextjs-auth-example. Handles login, OAuth callback, session management, token refresh, logout, and permission-based access control using @scalekit-sdk/node. Use when adding auth routes, protecting pages, managing sessions, or checking permissions in a Next.js + Scalekit codebase.
---
diff --git a/plugins/full-stack-auth/skills/implementing-scalekit-django-auth/SKILL.md b/plugins/saaskit/skills/implementing-saaskit-python/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/implementing-scalekit-django-auth/SKILL.md
rename to plugins/saaskit/skills/implementing-saaskit-python/SKILL.md
index 7fffb09..bad9eea 100644
--- a/plugins/full-stack-auth/skills/implementing-scalekit-django-auth/SKILL.md
+++ b/plugins/saaskit/skills/implementing-saaskit-python/SKILL.md
@@ -1,5 +1,5 @@
---
-name: implementing-scalekit-django-auth
+name: implementing-saaskit-python
description: Implements Scalekit authentication in a Django project using the patterns from scalekit-inc/scalekit-django-auth-example. Handles login, OAuth callback, Django session storage, automatic token refresh via middleware, logout, and permission-based route protection using decorators. Use when adding auth views, protecting URLs, managing sessions, or checking permissions in a Django + Scalekit codebase.
---
diff --git a/plugins/full-stack-auth/skills/full-stack-auth/SKILL.md b/plugins/saaskit/skills/implementing-saaskit/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
rename to plugins/saaskit/skills/implementing-saaskit/SKILL.md
index 389d2f1..c57df34 100644
--- a/plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
+++ b/plugins/saaskit/skills/implementing-saaskit/SKILL.md
@@ -1,5 +1,5 @@
---
-name: implementing-scalekit-fsa
+name: implementing-saaskit
description: Implements Scalekit full-stack authentication (FSA) including sign-up, login, logout, and secure session management using JWT tokens. Use when building or integrating user authentication with the Scalekit SDK across Node.js, Python, Go, or Java — or when the user asks about auth flows, OAuth callbacks, token refresh, or session handling with Scalekit.
---
diff --git a/plugins/full-stack-auth/skills/implementing-scalekit-go-auth/SKILL.md b/plugins/saaskit/skills/implementing-saaskit/go-reference.md
similarity index 100%
rename from plugins/full-stack-auth/skills/implementing-scalekit-go-auth/SKILL.md
rename to plugins/saaskit/skills/implementing-saaskit/go-reference.md
diff --git a/plugins/modular-scim/skills/modular-scim/SKILL.md b/plugins/saaskit/skills/implementing-scim-provisioning/SKILL.md
similarity index 100%
rename from plugins/modular-scim/skills/modular-scim/SKILL.md
rename to plugins/saaskit/skills/implementing-scim-provisioning/SKILL.md
diff --git a/plugins/full-stack-auth/skills/manage-user-sessions/SKILL.md b/plugins/saaskit/skills/managing-saaskit-sessions/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/manage-user-sessions/SKILL.md
rename to plugins/saaskit/skills/managing-saaskit-sessions/SKILL.md
index ea94dc5..e6fb8fc 100644
--- a/plugins/full-stack-auth/skills/manage-user-sessions/SKILL.md
+++ b/plugins/saaskit/skills/managing-saaskit-sessions/SKILL.md
@@ -1,5 +1,5 @@
---
-name: managing-user-sessions
+name: managing-saaskit-sessions
description: Manages Scalekit-backed user sessions by securely storing access/refresh/ID tokens (with encryption and correct cookie attributes), validating access tokens on every request, transparently refreshing tokens in middleware, and optionally revoking sessions remotely via Scalekit session APIs. Use when building session persistence for only for web apps. For SPAs this is NOT the skill.
---
diff --git a/plugins/full-stack-auth/skills/migrating-to-scalekit-auth/SKILL.md b/plugins/saaskit/skills/migrating-to-saaskit/SKILL.md
similarity index 99%
rename from plugins/full-stack-auth/skills/migrating-to-scalekit-auth/SKILL.md
rename to plugins/saaskit/skills/migrating-to-saaskit/SKILL.md
index 66f84e5..9c670f5 100644
--- a/plugins/full-stack-auth/skills/migrating-to-scalekit-auth/SKILL.md
+++ b/plugins/saaskit/skills/migrating-to-saaskit/SKILL.md
@@ -1,5 +1,5 @@
---
-name: migrating-to-scalekit-auth
+name: migrating-to-saaskit
description: Plans and executes a safe, incremental migration from any existing auth system to Scalekit's full-stack auth platform. Use when the user asks to migrate authentication, replace session middleware, import users/organizations to Scalekit, configure SSO, or set up SCIM provisioning with Scalekit.
---
diff --git a/plugins/saaskit/skills/production-readiness-saaskit/SKILL.md b/plugins/saaskit/skills/production-readiness-saaskit/SKILL.md
new file mode 100644
index 0000000..5a52753
--- /dev/null
+++ b/plugins/saaskit/skills/production-readiness-saaskit/SKILL.md
@@ -0,0 +1,64 @@
+---
+name: production-readiness-saaskit
+description: Walks through a structured production readiness checklist for Scalekit SaaSKit implementations covering authentication, SSO, SCIM, MCP server auth, and API security. Use when going live, launching to production, or doing a pre-launch review.
+---
+
+# SaaSKit Production Readiness
+
+Unified checklist for all SaaSKit domains. Work through in order — skip sections that don't apply.
+
+## Quick checks (run first)
+
+- [ ] Production env URL, client ID, and client secret set (not dev/staging)
+- [ ] HTTPS enforced; CORS restricted to your domains only
+- [ ] All credentials in environment variables — never committed to code
+- [ ] Only enabled auth methods active in production
+
+## Customization
+
+- [ ] Login page branded; email templates customized
+- [ ] Custom domain configured (if applicable); email deliverability tested
+- [ ] Webhooks configured with signature validation
+
+## Core auth flows
+
+- [ ] Login initiation, code exchange, and redirect URLs match dashboard exactly
+- [ ] `state` parameter validated in callbacks (CSRF); tokens stored with `httpOnly`, `secure`, `sameSite`
+- [ ] Token refresh and session timeout working; logout calls Scalekit end-session
+- [ ] Each enabled auth method tested; errors handled gracefully
+
+## SSO (if applicable)
+
+- [ ] SSO tested with target IdPs (Okta, Azure AD, Google Workspace)
+- [ ] SP-initiated and IdP-initiated flows both working
+- [ ] Admin portal configured for self-serve SSO setup
+- [ ] JIT provisioning: domains registered, default roles set, attribute sync enabled
+
+## SCIM provisioning (if applicable)
+
+- [ ] Webhook endpoints receiving events with signature validation
+- [ ] User provisioning, deprovisioning, and profile updates tested
+- [ ] Group-based role sync working; idempotent handling verified
+
+## MCP authentication (if applicable)
+
+- [ ] MCP auth flow tested end-to-end; resource metadata published
+- [ ] Scopes enforced per tool; client reconnection after token expiry working
+
+## Network / firewall
+
+Enterprise VPN customers must whitelist: `.scalekit.com`, `cdn.scalekit.com`, `fonts.googleapis.com`.
+
+## Monitoring
+
+- [ ] Auth logs monitoring active; alerts for suspicious activity configured
+- [ ] Webhook monitoring active; error tracking for auth and provisioning failures
+- [ ] Incident response runbook written; rollback plan ready (feature flag)
+- **Key metrics:** login success/failure rates, session duration, webhook delivery, SSO completion rate
+
+## Deep reference
+
+- [Scalekit Documentation](https://docs.scalekit.com)
+- [Modular SSO guide](https://docs.scalekit.com/authenticate/sso/add-modular-sso/)
+- [SCIM directory sync](https://docs.scalekit.com/directory/scim/quickstart/)
+- [MCP Auth quickstart](https://docs.scalekit.com/authenticate/mcp/quickstart/)
From ade11de1b269edae537bafcc1016aa0313481759 Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 14:20:01 +0530
Subject: [PATCH 02/49] =?UTF-8?q?remove=20testing-agentkit-tools=20skill?=
=?UTF-8?q?=20=E2=80=94=20redundant=20with=20MCP=20server?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
plugins/agentkit/README.md | 1 -
.../skills/testing-agentkit-tools/SKILL.md | 93 -------------------
2 files changed, 94 deletions(-)
delete mode 100644 plugins/agentkit/skills/testing-agentkit-tools/SKILL.md
diff --git a/plugins/agentkit/README.md b/plugins/agentkit/README.md
index d998594..8ebfaba 100644
--- a/plugins/agentkit/README.md
+++ b/plugins/agentkit/README.md
@@ -8,7 +8,6 @@ AgentKit handles the full OAuth lifecycle — authorization, token vault, and au
- `integrating-agentkit` — Core integration: SDK setup, connected accounts, OAuth flows, token fetching, downstream API calls, and agent framework examples.
- `discovering-connector-tools` — Uses live AgentKit metadata to find tools, inspect schemas, and narrow the tool set.
-- `testing-agentkit-tools` — Generates authorization links, fetches live tool metadata, and executes tools.
- `exposing-agentkit-via-mcp` — Exposes AgentKit tools through MCP for MCP-compatible runtimes.
- `production-readiness-agentkit` — Structured production readiness checklist for AgentKit integrations.
diff --git a/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md b/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md
deleted file mode 100644
index 4d55bc9..0000000
--- a/plugins/agentkit/skills/testing-agentkit-tools/SKILL.md
+++ /dev/null
@@ -1,93 +0,0 @@
----
-name: testing-agentkit-tools
-description: Tests live Scalekit AgentKit flows by generating authorization links, fetching tool metadata, and executing a tool for a connected account. Use when a user wants to validate a connector, inspect the exact payload for execute_tool, or build a workflow step by step.
----
-
-# Testing AgentKit Tools
-
-This skill is the live playground for AgentKit. Use it to:
-
-- generate an authorization link for a connection
-- fetch live tool metadata for a connector or tool name
-- execute a tool with real inputs
-- inspect the exact JSON payload sent to AgentKit
-
-## Prerequisites
-
-Confirm the environment variables are available:
-- `SCALEKIT_ENV_URL`
-- `SCALEKIT_CLIENT_ID`
-- `SCALEKIT_CLIENT_SECRET`
-
-## Operations
-
-### Generate authorization link
-
-Creates or fetches the connected account and prints an authorization link if the account is not yet `ACTIVE`.
-
-**Python**
-```python
-response = actions.get_or_create_connected_account(
- connection_name="",
- identifier=""
-)
-if response.connected_account.status != "ACTIVE":
- link_response = actions.get_authorization_link(
- connection_name="",
- identifier=""
- )
- print("Authorize here:", link_response.link)
-```
-
-### Fetch tool metadata
-
-Fetches live tool metadata. Omitting `tool_name` returns all matching tools for the filter.
-
-**Python**
-```python
-tools = actions.get_tools(providers=["GMAIL"], page_size=100)
-for tool in tools:
- print(tool.name, tool.input_schema)
-```
-
-**Node.js**
-```typescript
-const tools = await scalekitClient.connectedAccounts.getTools({
- providers: ['GMAIL'],
- pageSize: 100,
-});
-```
-
-### Execute a tool
-
-Creates or fetches the connected account, prints an authorization link if needed, and executes the tool.
-
-**Python**
-```python
-result = actions.execute_tool(
- tool_name="gmail_fetch_mails",
- connection_name="",
- identifier="",
- tool_input={"query": "is:unread", "max_results": 5}
-)
-```
-
-## Default workflow
-
-1. Discover the tool first when the schema is unknown.
-2. Generate an authorization link if the connected account is not `ACTIVE`.
-3. Execute the tool with the smallest valid `tool_input`.
-4. Show the exact command and payload used so the user can translate it into app code.
-
-## Guardrails
-
-- Treat live metadata as the source of truth for `input_schema` and `output_schema`.
-- Do not assume the dashboard `connection_name` matches the connector slug.
-- Ask for missing credentials instead of inventing placeholder values.
-- Keep the tool set constrained to the current workflow.
-
-## Deep reference
-
-- Integration workflow: [../integrating-agentkit/SKILL.md](../integrating-agentkit/SKILL.md)
-- Connector reference: [../../references/agent-connectors/README.md](../../references/agent-connectors/README.md)
-- Connected accounts: [../../references/connected-accounts.md](../../references/connected-accounts.md)
From 4f4eac9f6988562f941e70677805635f5f63b239 Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 14:28:35 +0530
Subject: [PATCH 03/49] trim agents: remove sdk-version-advisor,
session-management-reviewer, mcp-helper
Removed 3 agents that don't justify being separate agents.
Session management content preserved as references/session-management-patterns.md.
Also removed duplicate setup-scalekit from agentkit (kept in saaskit).
Remaining agents: setup-scalekit, scalekit-mcp-auth-troubleshooter.
---
plugins/agentkit/agents/setup-scalekit.md | 43 ---------
plugins/saaskit/agents/scalekit-mcp-helper.md | 21 -----
plugins/saaskit/agents/sdk-version-advisor.md | 93 -------------------
.../session-management-patterns.md} | 41 ++------
4 files changed, 9 insertions(+), 189 deletions(-)
delete mode 100644 plugins/agentkit/agents/setup-scalekit.md
delete mode 100644 plugins/saaskit/agents/scalekit-mcp-helper.md
delete mode 100644 plugins/saaskit/agents/sdk-version-advisor.md
rename plugins/saaskit/{agents/session-management-reviewer.md => references/session-management-patterns.md} (83%)
diff --git a/plugins/agentkit/agents/setup-scalekit.md b/plugins/agentkit/agents/setup-scalekit.md
deleted file mode 100644
index ed43763..0000000
--- a/plugins/agentkit/agents/setup-scalekit.md
+++ /dev/null
@@ -1,43 +0,0 @@
----
-name: scalekit-setup
-description: Sets up Scalekit env vars, installs/initializes the SDK, and verifies credentials by listing organizations. Use proactively when user asks to set up, install, initialize, configure, or verify Scalekit.
-model: sonnet
-tools: Read, Grep, Glob, Bash, Write, Edit
-maxTurns: 20
----
-
-You are a Scalekit setup and verification specialist.
-
-Mission:
-- Help the user configure Scalekit credentials via environment variables.
-- Help them install and initialize the official Scalekit SDK for their language.
-- Verify the setup with the smallest reliable check (prefer listing organizations).
-- Keep secrets out of chat and out of the repo.
-
-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
-
-Workflow:
-1) Determine language/runtime (Node.js, Python, Go, Java) and where env vars should live (.env, shell, CI secrets).
-2) Confirm required env vars exist:
- - SCALEKIT_ENVIRONMENT_URL
- - SCALEKIT_CLIENT_ID
- - SCALEKIT_CLIENT_SECRET
-3) Install the SDK (pick the official package for that language).
-4) Initialize the SDK client using env vars.
-5) Verify credentials by listing organizations with a small page size.
-6) If verification fails, diagnose systematically:
- - Wrong environment URL (dev vs prod)
- - Missing env vars in current shell/process
- - Incorrect client id/secret
- - Network/DNS issues
-7) Only after verification succeeds, proceed to feature work and route to the correct Skill:
- - SSO → plugins/modular-sso/skills/modular-sso/SKILL.md
- - SCIM → plugins/modular-scim/skills/modular-scim/SKILL.md
- - MCP auth → plugins/mcp-auth/skills/*/SKILL.md
- - Full-stack auth → plugins/full-stack-auth/skills/full-stack-auth/SKILL.md
-
-When you reference files, use exact repo-relative paths and read them before advising.
diff --git a/plugins/saaskit/agents/scalekit-mcp-helper.md b/plugins/saaskit/agents/scalekit-mcp-helper.md
deleted file mode 100644
index 39a155b..0000000
--- a/plugins/saaskit/agents/scalekit-mcp-helper.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-name: scalekit-mcp-helper
-description: Helps configure Scalekit MCP client settings (Claude Desktop, Cursor, Windsurf, VS Code) and explains the OAuth connection flow. Use when user asks about MCP setup, Claude Desktop config, Cursor MCP, Windsurf MCP, or VS Code MCP.
-model: sonnet
-tools: Read, Grep, Glob
-maxTurns: 15
----
-
-You are a Scalekit MCP setup assistant.
-
-Scope:
-- Provide correct MCP client configuration snippets.
-- Explain what the user should expect during the OAuth authorization flow.
-- Do not write files unless explicitly asked.
-
-Rules:
-- Do not request secrets.
-- Prefer the exact documented JSON snippets the user can paste into their MCP client configuration.
-- If the repo contains MCP-specific docs, read them and follow the repo’s guidance.
-
-
diff --git a/plugins/saaskit/agents/sdk-version-advisor.md b/plugins/saaskit/agents/sdk-version-advisor.md
deleted file mode 100644
index 404b8f5..0000000
--- a/plugins/saaskit/agents/sdk-version-advisor.md
+++ /dev/null
@@ -1,93 +0,0 @@
----
-name: scalekit-sdk-version-advisor
-description: Determine the user’s current tech stack (language, framework, runtime, package manager) and recommend the correct Scalekit SDK version(s) and integration path (MCP Auth, Agent Auth, SSO, or full-stack), including install commands and minimal setup snippets.
-maxTurns: 12
-permissionMode: plan
-tools:
- - Read
- - Glob
- - Grep
- - Bash
-disallowedTools:
- - Write
- - Edit
----
-
-# Role
-You are a Scalekit SDK & integration advisor. Your job is to recommend the *right SDK version(s)* to install for the user’s *current* tech stack, and the right modular auth component(s): MCP Auth, Agent Auth, SSO, or full-stack. Scalekit provides official SDKs across Node.js (TypeScript/ESM, Express/NestJS/Next.js), Python (async-first, Pydantic v2, FastAPI/Django/Flask), Go (zero-dependency, Gin/Echo/Chi), and Java (Spring Boot, Maven Central). [web:3]
-
-# Hard rules
-- Do not modify files. Only inspect and propose changes/commands.
-- Prefer compatibility over “latest”: pick the newest version that fits the user’s runtime constraints and dependency ecosystem.
-- If key facts are missing (runtime versions, framework, deployment target), ask short, specific questions before finalizing.
-- Output must be actionable: exact package coordinates + install commands + minimal initialization snippet + auth module choice.
-
-# Workflow (follow in order)
-
-## 1) Detect the user’s stack (evidence-based)
-Inspect the repo to infer:
-- Languages/services present (Node/Python/Go/Java/Expo).
-- Frameworks (Next.js, Express, NestJS, FastAPI, Django, Flask, Gin/Echo/Chi, Spring Boot).
-- Package managers and lockfiles (pnpm/yarn/npm; uv/poetry/pip; go modules; maven/gradle).
-- Runtime versions & module systems:
- - Node: `package.json` engines, `.nvmrc`, `.node-version`, `type: module`, tsconfig, bundler.
- - Python: `pyproject.toml` requires-python, dependency pins (esp. pydantic major), `requirements.txt`, `uv.lock`, `poetry.lock`.
- - Go: `go.mod` go version.
- - Java: `pom.xml` / `build.gradle` (Java target, Spring Boot version).
- - Expo: `app.json`, `package.json` + React Native / Expo SDK version.
-
-Commands you may run (read-only):
-- `node -v`, `python --version`, `go version`, `java -version` when available.
-- `cat`/`grep` on config files; `ls` to discover structure.
-
-## 2) Decide the Scalekit integration path (module choice)
-Choose one (or more) based on what the project is building:
-- MCP Auth: if the repo is an MCP server or exposes MCP tools to an LLM runtime.
-- Agent Auth: if the app runs autonomous agents that need scoped access to external tools/APIs on behalf of users or orgs.
-- SSO: if this is a B2B SaaS that needs enterprise SSO discovery/enforcement.
-- Full-stack: if the app needs a broader auth platform approach (user/org/session management + multiple auth methods).
-
-Explain the reasoning in 2–4 bullets.
-
-## 3) Pick the correct SDK(s) and versioning strategy
-For each service in the repo:
-1. Pick the correct language SDK.
-2. Select a version strategy:
- - If the user has an existing Scalekit SDK already installed, prefer upgrading within the same major unless they ask for a major bump.
- - If new install, prefer the newest stable release for that SDK *that matches stack constraints*.
-3. Compatibility checks you must do:
- - Node: confirm ESM vs CJS expectations; confirm TS usage; note Next.js/Express/NestJS integration expectations. [web:3]
- - Python: confirm Pydantic major version alignment (Scalekit Python SDK is “Pydantic v2 validated”). [web:3]
- - Java: confirm Spring Boot and build tool (Maven/Gradle) alignment. [web:3]
- - Go: confirm module mode and service framework. [web:3]
-
-If you cannot reliably determine the newest compatible version (no network / no registry access), ask the user whether to:
-- Use the version shown in Scalekit Docs they referenced, or
-- Keep the current installed version and only adjust integration code.
-
-## 4) Produce the final recommendation (strict output format)
-Return a single Markdown response with these sections:
-
-### A) Detected stack (with evidence)
-- Bullet list of findings, each referencing the file/command output you used (e.g., “package.json engines.node = …”).
-
-### B) Recommended Scalekit components
-- MCP Auth / Agent Auth / SSO / Full-stack, with rationale.
-
-### C) SDK install plan
-For each relevant service/language:
-- Package name + recommended version range or exact pin.
-- Install command(s) for the detected package manager.
-- Any required peer dependency notes (e.g., Pydantic v2 alignment for Python). [web:3]
-
-### D) Minimal setup snippet
-Provide the smallest “hello-world” initialization snippet for that language/framework (no secrets hardcoded; env vars only).
-
-### E) Risks & gotchas
-List 3–6 concise bullets tailored to the repo (ESM/CJS mismatch, Pydantic major mismatch, Spring Boot/JDK target mismatch, monorepo workspace constraints, etc.).
-
-## 5) Clarifying questions (only if needed)
-Ask at most 3 questions, each answerable in one line.
-
-# Quality bar
-Your recommendation should let a developer copy/paste install commands and the init snippet, and confidently proceed without version conflicts.
diff --git a/plugins/saaskit/agents/session-management-reviewer.md b/plugins/saaskit/references/session-management-patterns.md
similarity index 83%
rename from plugins/saaskit/agents/session-management-reviewer.md
rename to plugins/saaskit/references/session-management-patterns.md
index b7fe1f6..5eb795e 100644
--- a/plugins/saaskit/agents/session-management-reviewer.md
+++ b/plugins/saaskit/references/session-management-patterns.md
@@ -1,33 +1,10 @@
----
-name: scalekit-session-management-reviewer
-description: >
- Reviews existing session management implementation in the codebase and suggests
- options for implementing or improving it using Scalekit. Use proactively when
- working on authentication flows, middleware, token handling, or session-related
- code. Invoke explicitly for session security audits or Scalekit integration planning.
-tools: Read, Grep, Glob, Bash
-model: sonnet
-maxTurns: 30
----
-
-# Scalekit Session Management Reviewer
+# Session Management Patterns
-You are a senior authentication architect specializing in Scalekit's session management
-system. Your goal is to analyze the existing codebase for session-related patterns and
-provide concrete, tiered implementation options using Scalekit.
+Reference guide for evaluating and implementing session management with Scalekit. Covers audit checklists, implementation options (FSA, Modular SSO, Remote API, Agent Auth), and code patterns.
-Hard rules:
-- Never suggest an implementation path without completing Phase 1 first.
-- Always reference actual file paths found during discovery, not hypothetical ones.
-- Never give generic advice — every recommendation must be grounded in what you found.
-- When analyzing user identity, token claims, or profile data in session payloads,
- consult `plugins/full-stack-auth/references/scalekit-user-profiles.md` for Scalekit's
- attribute schema and SDK method reference before suggesting implementation.
-- When a session failure pattern is suspected or a webhook-triggered auth flow is being
- debugged, consult `plugins/full-stack-auth/references/scalekit-logs.md` for filter
- strategies and status definitions before suggesting next steps.
-
----
+Related references:
+- [scalekit-user-profiles.md](scalekit-user-profiles.md) — attribute schema and SDK methods
+- [scalekit-logs.md](scalekit-logs.md) — filter strategies and status definitions
## Phase 1: Discovery — Understand the Existing Setup
@@ -294,9 +271,9 @@ Produce this structured report after completing all phases:
After delivering the report, offer to route to the appropriate skill for implementation:
-- Option A selected → `plugins/full-stack-auth/skills/full-stack-auth/SKILL.md`
-- Option B selected → `plugins/modular-sso/skills/modular-sso/SKILL.md`
-- Option D selected → `plugins/agent-auth/skills/agent-auth/SKILL.md`
+- Option A selected → `plugins/saaskit/skills/implementing-saaskit/SKILL.md`
+- Option B selected → `plugins/saaskit/skills/implementing-modular-sso/SKILL.md`
+- Option D selected → `plugins/agentkit/skills/integrating-agentkit/SKILL.md`
If Scalekit is not yet set up, route to setup first:
-- `plugins/full-stack-auth/agents/setup-scalekit.md`
+- `plugins/saaskit/agents/setup-scalekit.md`
From d56faff42526a3b6c614215e7e5bea1d6902c10e Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 16:46:04 +0530
Subject: [PATCH 04/49] add install scripts and fix README install examples
- Add install.sh bootstrap and scripts/install_copilot_marketplace.sh
- Handle migration from old v1.x plugin names
- Update README install section with new plugin names
---
README.md | 17 +++++------
install.sh | 35 +++++++++++++++++++++++
scripts/install_copilot_marketplace.sh | 39 ++++++++++++++++++++++++++
3 files changed, 81 insertions(+), 10 deletions(-)
create mode 100755 install.sh
create mode 100755 scripts/install_copilot_marketplace.sh
diff --git a/README.md b/README.md
index 755834b..613e959 100644
--- a/README.md
+++ b/README.md
@@ -29,16 +29,18 @@ Setting up auth for B2B and AI apps is complex. This marketplace adds the comple
### Installation
-Add this marketplace to your Copilot CLI:
+Use the one-command bootstrap installer:
```bash
-copilot plugin marketplace add https://github.com/scalekit-inc/github-copilot-authstack
+curl -fsSL https://raw.githubusercontent.com/scalekit-inc/github-copilot-authstack/main/install.sh | bash
```
-Install a plugin:
+Or add the marketplace manually:
```bash
-copilot plugin install scalekit-inc/github-copilot-authstack:plugins/mcp-auth
+copilot plugin marketplace add scalekit-inc/github-copilot-authstack
+copilot plugin install agentkit
+copilot plugin install saaskit
```
List available plugins:
@@ -47,12 +49,6 @@ List available plugins:
copilot plugin list
```
-Run a skill:
-
-```bash
-copilot mcp-auth add-auth-fastmcp
-```
-
---
### Repository Structure
@@ -62,6 +58,7 @@ copilot mcp-auth add-auth-fastmcp
├── plugins/
│ ├── agentkit/ # AI agent authentication (AgentKit)
│ └── saaskit/ # B2B SaaS authentication (SaaSKit)
+├── scripts/ # Install scripts
├── images/ # Documentation images
├── AGENTS.md # Contribution guidelines
└── LICENSE # MIT License
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..95bfb5a
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+REPO_SLUG="${COPILOT_AUTHSTACK_REPO:-scalekit-inc/github-copilot-authstack}"
+REPO_REF="${COPILOT_AUTHSTACK_REF:-main}"
+SOURCE_DIR="${COPILOT_AUTHSTACK_SOURCE_DIR:-}"
+
+if [[ -n "$SOURCE_DIR" ]]; then
+ exec "${SOURCE_DIR%/}/scripts/install_copilot_marketplace.sh"
+fi
+
+TMP_DIR="$(mktemp -d)"
+cleanup() {
+ rm -rf "$TMP_DIR"
+}
+trap cleanup EXIT
+
+ARCHIVE_URL="https://github.com/${REPO_SLUG}/archive/refs/heads/${REPO_REF}.tar.gz"
+ARCHIVE_PATH="$TMP_DIR/github-copilot-authstack.tar.gz"
+
+echo "Downloading Scalekit Auth Stack for GitHub Copilot from:"
+echo " $ARCHIVE_URL"
+
+curl -fsSL "$ARCHIVE_URL" -o "$ARCHIVE_PATH"
+tar -xzf "$ARCHIVE_PATH" -C "$TMP_DIR"
+
+EXTRACTED_DIR="$(find "$TMP_DIR" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
+
+if [[ -z "$EXTRACTED_DIR" ]] || [[ ! -x "$EXTRACTED_DIR/scripts/install_copilot_marketplace.sh" ]]; then
+ echo "Failed to find installer in downloaded archive." >&2
+ exit 1
+fi
+
+exec "$EXTRACTED_DIR/scripts/install_copilot_marketplace.sh"
diff --git a/scripts/install_copilot_marketplace.sh b/scripts/install_copilot_marketplace.sh
new file mode 100755
index 0000000..92061a4
--- /dev/null
+++ b/scripts/install_copilot_marketplace.sh
@@ -0,0 +1,39 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+if ! command -v copilot >/dev/null 2>&1; then
+ echo "GitHub Copilot CLI is not installed or not on PATH." >&2
+ echo "Install Copilot CLI first, then re-run this installer." >&2
+ exit 1
+fi
+
+MARKETPLACE_SLUG="${COPILOT_AUTHSTACK_MARKETPLACE:-scalekit-inc/github-copilot-authstack}"
+OLD_PLUGINS=("agent-auth" "full-stack-auth" "mcp-auth" "modular-sso" "modular-scim")
+
+echo "Installing Scalekit Auth Stack for GitHub Copilot"
+echo "Marketplace: $MARKETPLACE_SLUG"
+echo
+
+copilot plugin marketplace add "$MARKETPLACE_SLUG"
+
+# Remove old plugin names from v1.x (now consolidated into agentkit + saaskit)
+for old in "${OLD_PLUGINS[@]}"; do
+ copilot plugin uninstall "${old}" 2>/dev/null || true
+done
+
+copilot plugin install agentkit
+copilot plugin install saaskit
+
+cat <
Date: Wed, 13 May 2026 16:53:03 +0530
Subject: [PATCH 05/49] rename scripts/install_copilot_marketplace.sh to
scripts/install.sh
---
install.sh | 6 +++---
scripts/{install_copilot_marketplace.sh => install.sh} | 0
2 files changed, 3 insertions(+), 3 deletions(-)
rename scripts/{install_copilot_marketplace.sh => install.sh} (100%)
diff --git a/install.sh b/install.sh
index 95bfb5a..14d0cdb 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,7 @@ REPO_REF="${COPILOT_AUTHSTACK_REF:-main}"
SOURCE_DIR="${COPILOT_AUTHSTACK_SOURCE_DIR:-}"
if [[ -n "$SOURCE_DIR" ]]; then
- exec "${SOURCE_DIR%/}/scripts/install_copilot_marketplace.sh"
+ exec "${SOURCE_DIR%/}/scripts/install.sh"
fi
TMP_DIR="$(mktemp -d)"
@@ -27,9 +27,9 @@ tar -xzf "$ARCHIVE_PATH" -C "$TMP_DIR"
EXTRACTED_DIR="$(find "$TMP_DIR" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
-if [[ -z "$EXTRACTED_DIR" ]] || [[ ! -x "$EXTRACTED_DIR/scripts/install_copilot_marketplace.sh" ]]; then
+if [[ -z "$EXTRACTED_DIR" ]] || [[ ! -x "$EXTRACTED_DIR/scripts/install.sh" ]]; then
echo "Failed to find installer in downloaded archive." >&2
exit 1
fi
-exec "$EXTRACTED_DIR/scripts/install_copilot_marketplace.sh"
+exec "$EXTRACTED_DIR/scripts/install.sh"
diff --git a/scripts/install_copilot_marketplace.sh b/scripts/install.sh
similarity index 100%
rename from scripts/install_copilot_marketplace.sh
rename to scripts/install.sh
From adeae054a19b3adb49aba7a2c1c73d3b016c7e2c Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 17:21:00 +0530
Subject: [PATCH 06/49] Improve post-install message with plugin activation and
auto-update guidance
---
scripts/install.sh | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/scripts/install.sh b/scripts/install.sh
index 92061a4..730466d 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -33,7 +33,12 @@ Installed plugins:
agentkit — AI agent authentication (connectors, tool discovery, token vault)
saaskit — B2B SaaS authentication (login, SSO, SCIM, RBAC, MCP server auth)
-Next steps:
-1. Run \`copilot plugin list\` to verify the plugins are installed.
-2. Try a skill: \`copilot agentkit integrating-agentkit\`
+To activate the plugins in GitHub Copilot:
+1. Open GitHub Copilot (VS Code, CLI, or your preferred client).
+2. Run \`copilot plugin list\` to verify both plugins are installed.
+3. Set update policy to "Auto-update (recommended)" to stay current.
+
+To verify:
+ Run \`copilot plugin list\` and confirm agentkit and saaskit are present.
+ Try a skill: ask "help me integrate agentkit" or "test my auth setup".
EOF
From 58cd1c768d8b10fc8b4c5e858b09996c6c5986da Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 17:30:56 +0530
Subject: [PATCH 07/49] Simplify post-install message to focus on what to look
for, not UI steps
---
scripts/install.sh | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/scripts/install.sh b/scripts/install.sh
index 730466d..8c57966 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -33,12 +33,11 @@ Installed plugins:
agentkit — AI agent authentication (connectors, tool discovery, token vault)
saaskit — B2B SaaS authentication (login, SSO, SCIM, RBAC, MCP server auth)
-To activate the plugins in GitHub Copilot:
-1. Open GitHub Copilot (VS Code, CLI, or your preferred client).
-2. Run \`copilot plugin list\` to verify both plugins are installed.
-3. Set update policy to "Auto-update (recommended)" to stay current.
-
-To verify:
- Run \`copilot plugin list\` and confirm agentkit and saaskit are present.
- Try a skill: ask "help me integrate agentkit" or "test my auth setup".
+What to do next in GitHub Copilot:
+- Look for "agentkit" and "saaskit" in your plugin settings.
+- Make sure both are installed and enabled.
+- Set the update policy to auto-update so you always have the latest skills.
+
+To verify it works:
+ Ask Copilot to "help me integrate agentkit" or "test my auth setup".
EOF
From 4ece3c1e9f2fd8b5e8b3bf7c68f50fdc13d12396 Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 18:14:56 +0530
Subject: [PATCH 08/49] Make bootstrap installer resilient to missing execute
bit in tarball
---
install.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
index 14d0cdb..597b7b2 100755
--- a/install.sh
+++ b/install.sh
@@ -27,9 +27,10 @@ tar -xzf "$ARCHIVE_PATH" -C "$TMP_DIR"
EXTRACTED_DIR="$(find "$TMP_DIR" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
-if [[ -z "$EXTRACTED_DIR" ]] || [[ ! -x "$EXTRACTED_DIR/scripts/install.sh" ]]; then
+if [[ -z "$EXTRACTED_DIR" ]] || [[ ! -f "$EXTRACTED_DIR/scripts/install.sh" ]]; then
echo "Failed to find installer in downloaded archive." >&2
exit 1
fi
+chmod +x "$EXTRACTED_DIR/scripts/install.sh"
exec "$EXTRACTED_DIR/scripts/install.sh"
From 97044a156da8e91193cb698c755466d1579e051d Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 20:55:11 +0530
Subject: [PATCH 09/49] Add 4 missing agent-connectors docs (attention, chorus,
clari_copilot, google_slides)
Copilot had 39 connector docs while other auth stacks had 43.
Added the missing 4 to maintain parity.
---
plugins/agentkit/README.md | 2 ++
.../references/agent-connectors/attention.md | 3 ++
.../references/agent-connectors/chorus.md | 3 ++
.../agent-connectors/clari_copilot.md | 3 ++
.../agent-connectors/google_slides.md | 32 +++++++++++++++++++
5 files changed, 43 insertions(+)
create mode 100644 plugins/agentkit/references/agent-connectors/attention.md
create mode 100644 plugins/agentkit/references/agent-connectors/chorus.md
create mode 100644 plugins/agentkit/references/agent-connectors/clari_copilot.md
create mode 100644 plugins/agentkit/references/agent-connectors/google_slides.md
diff --git a/plugins/agentkit/README.md b/plugins/agentkit/README.md
index 8ebfaba..89516b2 100644
--- a/plugins/agentkit/README.md
+++ b/plugins/agentkit/README.md
@@ -4,6 +4,8 @@ Authentication for AI agents. This plugin brings Scalekit AgentKit into Codex so
AgentKit handles the full OAuth lifecycle — authorization, token vault, and automatic refresh — across 40+ connectors (Gmail, Slack, Salesforce, Notion, and more).
+The plugin treats live AgentKit metadata as the source of truth for tool names, `input_schema`, and `output_schema`. Per-connector reference docs in `references/agent-connectors/` provide curated guidance on scopes, quirks, and tool categories.
+
## Skills
- `integrating-agentkit` — Core integration: SDK setup, connected accounts, OAuth flows, token fetching, downstream API calls, and agent framework examples.
diff --git a/plugins/agentkit/references/agent-connectors/attention.md b/plugins/agentkit/references/agent-connectors/attention.md
new file mode 100644
index 0000000..9af975e
--- /dev/null
+++ b/plugins/agentkit/references/agent-connectors/attention.md
@@ -0,0 +1,3 @@
+Connect to Attention for AI insights, conversations, teams, and workflows
+
+Supports authentication: API Key
diff --git a/plugins/agentkit/references/agent-connectors/chorus.md b/plugins/agentkit/references/agent-connectors/chorus.md
new file mode 100644
index 0000000..b57dd23
--- /dev/null
+++ b/plugins/agentkit/references/agent-connectors/chorus.md
@@ -0,0 +1,3 @@
+Connect to Chorus.ai to sync calls, transcripts, conversation intelligence, and analytics.
+
+Supports authentication: Basic Auth
diff --git a/plugins/agentkit/references/agent-connectors/clari_copilot.md b/plugins/agentkit/references/agent-connectors/clari_copilot.md
new file mode 100644
index 0000000..2949e94
--- /dev/null
+++ b/plugins/agentkit/references/agent-connectors/clari_copilot.md
@@ -0,0 +1,3 @@
+Connect to Clari Copilot for sales call transcripts, analytics, call data, and insights.
+
+Supports authentication: API Key
diff --git a/plugins/agentkit/references/agent-connectors/google_slides.md b/plugins/agentkit/references/agent-connectors/google_slides.md
new file mode 100644
index 0000000..242ef37
--- /dev/null
+++ b/plugins/agentkit/references/agent-connectors/google_slides.md
@@ -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 |
From dccdd2a24f2aae9660cd06c32850cf87df82bb8f Mon Sep 17 00:00:00 2001
From: Saif Shines
Date: Wed, 13 May 2026 20:58:42 +0530
Subject: [PATCH 10/49] Remove agent-connectors directory, point to live docs
instead
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Per-connector docs are unmaintainable — live AgentKit metadata and
docs.scalekit.com/agentkit/connectors/ are the source of truth.
---
plugins/agentkit/README.md | 2 +-
.../references/agent-connectors/README.md | 67 ----
.../references/agent-connectors/airtable.md | 3 -
.../references/agent-connectors/asana.md | 3 -
.../references/agent-connectors/attention.md | 3 -
.../references/agent-connectors/bigquery.md | 3 -
.../references/agent-connectors/chorus.md | 3 -
.../agent-connectors/clari_copilot.md | 3 -
.../references/agent-connectors/clickup.md | 3 -
.../references/agent-connectors/confluence.md | 3 -
.../references/agent-connectors/dropbox.md | 3 -
.../references/agent-connectors/fathom.md | 3 -
.../references/agent-connectors/freshdesk.md | 149 ---------
.../references/agent-connectors/github.md | 137 --------
.../references/agent-connectors/gmail.md | 79 -----
.../references/agent-connectors/gong.md | 3 -
.../references/agent-connectors/google_ads.md | 3 -
.../agent-connectors/google_docs.md | 3 -
.../agent-connectors/google_drive.md | 3 -
.../agent-connectors/google_forms.md | 3 -
.../agent-connectors/google_meets.md | 3 -
.../agent-connectors/google_sheets.md | 3 -
.../agent-connectors/google_slides.md | 32 --
.../agent-connectors/googlecalendar.md | 128 -------
.../references/agent-connectors/hubspot.md | 143 --------
.../references/agent-connectors/intercom.md | 3 -
.../references/agent-connectors/jira.md | 3 -
.../references/agent-connectors/linear.md | 58 ----
.../agent-connectors/microsoft_excel.md | 3 -
.../agent-connectors/microsoft_teams.md | 3 -
.../agent-connectors/microsoft_word.md | 3 -
.../references/agent-connectors/monday.md | 3 -
.../references/agent-connectors/notion.md | 189 -----------
.../references/agent-connectors/onedrive.md | 3 -
.../references/agent-connectors/onenote.md | 3 -
.../references/agent-connectors/outlook.md | 3 -
.../references/agent-connectors/salesforce.md | 316 ------------------
.../references/agent-connectors/servicenow.md | 3 -
.../references/agent-connectors/sharepoint.md | 3 -
.../references/agent-connectors/slack.md | 197 -----------
.../references/agent-connectors/snowflake.md | 3 -
.../references/agent-connectors/trello.md | 3 -
.../references/agent-connectors/zendesk.md | 3 -
.../references/agent-connectors/zoom.md | 3 -
plugins/agentkit/references/providers.md | 4 +-
.../discovering-connector-tools/SKILL.md | 2 +-
.../skills/integrating-agentkit/SKILL.md | 2 +-
47 files changed, 5 insertions(+), 1596 deletions(-)
delete mode 100644 plugins/agentkit/references/agent-connectors/README.md
delete mode 100644 plugins/agentkit/references/agent-connectors/airtable.md
delete mode 100644 plugins/agentkit/references/agent-connectors/asana.md
delete mode 100644 plugins/agentkit/references/agent-connectors/attention.md
delete mode 100644 plugins/agentkit/references/agent-connectors/bigquery.md
delete mode 100644 plugins/agentkit/references/agent-connectors/chorus.md
delete mode 100644 plugins/agentkit/references/agent-connectors/clari_copilot.md
delete mode 100644 plugins/agentkit/references/agent-connectors/clickup.md
delete mode 100644 plugins/agentkit/references/agent-connectors/confluence.md
delete mode 100644 plugins/agentkit/references/agent-connectors/dropbox.md
delete mode 100644 plugins/agentkit/references/agent-connectors/fathom.md
delete mode 100644 plugins/agentkit/references/agent-connectors/freshdesk.md
delete mode 100644 plugins/agentkit/references/agent-connectors/github.md
delete mode 100644 plugins/agentkit/references/agent-connectors/gmail.md
delete mode 100644 plugins/agentkit/references/agent-connectors/gong.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_ads.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_docs.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_drive.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_forms.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_meets.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_sheets.md
delete mode 100644 plugins/agentkit/references/agent-connectors/google_slides.md
delete mode 100644 plugins/agentkit/references/agent-connectors/googlecalendar.md
delete mode 100644 plugins/agentkit/references/agent-connectors/hubspot.md
delete mode 100644 plugins/agentkit/references/agent-connectors/intercom.md
delete mode 100644 plugins/agentkit/references/agent-connectors/jira.md
delete mode 100644 plugins/agentkit/references/agent-connectors/linear.md
delete mode 100644 plugins/agentkit/references/agent-connectors/microsoft_excel.md
delete mode 100644 plugins/agentkit/references/agent-connectors/microsoft_teams.md
delete mode 100644 plugins/agentkit/references/agent-connectors/microsoft_word.md
delete mode 100644 plugins/agentkit/references/agent-connectors/monday.md
delete mode 100644 plugins/agentkit/references/agent-connectors/notion.md
delete mode 100644 plugins/agentkit/references/agent-connectors/onedrive.md
delete mode 100644 plugins/agentkit/references/agent-connectors/onenote.md
delete mode 100644 plugins/agentkit/references/agent-connectors/outlook.md
delete mode 100644 plugins/agentkit/references/agent-connectors/salesforce.md
delete mode 100644 plugins/agentkit/references/agent-connectors/servicenow.md
delete mode 100644 plugins/agentkit/references/agent-connectors/sharepoint.md
delete mode 100644 plugins/agentkit/references/agent-connectors/slack.md
delete mode 100644 plugins/agentkit/references/agent-connectors/snowflake.md
delete mode 100644 plugins/agentkit/references/agent-connectors/trello.md
delete mode 100644 plugins/agentkit/references/agent-connectors/zendesk.md
delete mode 100644 plugins/agentkit/references/agent-connectors/zoom.md
diff --git a/plugins/agentkit/README.md b/plugins/agentkit/README.md
index 89516b2..b0d4588 100644
--- a/plugins/agentkit/README.md
+++ b/plugins/agentkit/README.md
@@ -4,7 +4,7 @@ Authentication for AI agents. This plugin brings Scalekit AgentKit into Codex so
AgentKit handles the full OAuth lifecycle — authorization, token vault, and automatic refresh — across 40+ connectors (Gmail, Slack, Salesforce, Notion, and more).
-The plugin treats live AgentKit metadata as the source of truth for tool names, `input_schema`, and `output_schema`. Per-connector reference docs in `references/agent-connectors/` provide curated guidance on scopes, quirks, and tool categories.
+The plugin treats live AgentKit metadata as the source of truth for tool names, `input_schema`, and `output_schema`. For per-connector details, see the [AgentKit connectors catalog](https://docs.scalekit.com/agentkit/connectors/).
## Skills
diff --git a/plugins/agentkit/references/agent-connectors/README.md b/plugins/agentkit/references/agent-connectors/README.md
deleted file mode 100644
index 337bfb4..0000000
--- a/plugins/agentkit/references/agent-connectors/README.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# Agent Connectors Reference
-
-This directory contains documentation for all supported agent connectors in the Scalekit Agent Auth platform.
-
-## Available Connectors
-
-| Connector | Description | Auth Type |
-|-----------|-------------|-----------|
-| [Airtable](airtable.md) | Connect to Airtable bases for data management | OAuth 2.0 |
-| [Asana](asana.md) | Project management and task tracking | OAuth 2.0 |
-| [BigQuery](bigquery.md) | Google BigQuery data warehouse | OAuth 2.0 |
-| [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 |
-| [Fathom](fathom.md) | Website analytics | OAuth 2.0 |
-| [Freshdesk](freshdesk.md) | Customer support ticketing | OAuth 2.0 |
-| [GitHub](github.md) | Code repository and development tools | OAuth 2.0 |
-| [Gmail](gmail.md) | Google Gmail email service | OAuth 2.0 |
-| [Google Ads](google_ads.md) | Google advertising platform | OAuth 2.0 |
-| [Google Calendar](googlecalendar.md) | Google Calendar events and scheduling | OAuth 2.0 |
-| [Google Docs](google_docs.md) | Google Docs document editing | OAuth 2.0 |
-| [Google Drive](google_drive.md) | Google Drive file storage | OAuth 2.0 |
-| [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 |
-| [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 |
-| [Jira](jira.md) | Atlassian Jira issue tracking | OAuth 2.0 |
-| [Linear](linear.md) | Software development issue tracking | OAuth 2.0 |
-| [Microsoft Excel](microsoft_excel.md) | Microsoft Excel spreadsheet editing | OAuth 2.0 |
-| [Microsoft Teams](microsoft_teams.md) | Microsoft Teams collaboration | OAuth 2.0 |
-| [Microsoft Word](microsoft_word.md) | Microsoft Word document editing | OAuth 2.0 |
-| [Monday](monday.md) | Work management platform | OAuth 2.0 |
-| [Notion](notion.md) | Notion workspace and pages | OAuth 2.0 |
-| [OneDrive](onedrive.md) | Microsoft OneDrive file storage | OAuth 2.0 |
-| [OneNote](onenote.md) | Microsoft OneNote note-taking | OAuth 2.0 |
-| [Outlook](outlook.md) | Microsoft Outlook email | OAuth 2.0 |
-| [Salesforce](salesforce.md) | Salesforce CRM platform | OAuth 2.0 |
-| [ServiceNow](servicenow.md) | IT service management | OAuth 2.0 |
-| [SharePoint](sharepoint.md) | Microsoft SharePoint collaboration | OAuth 2.0 |
-| [Slack](slack.md) | Slack messaging and collaboration | OAuth 2.0 |
-| [Snowflake](snowflake.md) | Snowflake data warehouse | OAuth 2.0 |
-| [Trello](trello.md) | Trello project boards | OAuth 2.0 |
-| [Zendesk](zendesk.md) | Customer support platform | OAuth 2.0 |
-| [Zoom](zoom.md) | Zoom video conferencing | OAuth 2.0 |
-
-## Getting Started
-
-Each connector documentation includes:
-
-- Service description and capabilities
-- Authentication requirements
-- Complete API reference for all available tools
-- Parameter specifications and examples
-- Usage guidelines and best practices
-
-## Authentication
-
-Most connectors use OAuth 2.0 authentication through the AgentKit platform; some use API Key or Basic Auth. You'll need to:
-
-1. Create a connection for the desired service
-2. Configure OAuth credentials in your connection
-3. Create connected accounts for your users
-4. Use the connection in your agent workflows
-
-For detailed authentication setup, see the [Connected Accounts](../connected-accounts.md) documentation.
\ No newline at end of file
diff --git a/plugins/agentkit/references/agent-connectors/airtable.md b/plugins/agentkit/references/agent-connectors/airtable.md
deleted file mode 100644
index f3acf0b..0000000
--- a/plugins/agentkit/references/agent-connectors/airtable.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Airtable. Manage databases, tables, records, and collaborate on structured data
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/asana.md b/plugins/agentkit/references/agent-connectors/asana.md
deleted file mode 100644
index cea2fc7..0000000
--- a/plugins/agentkit/references/agent-connectors/asana.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Asana. Manage tasks, projects, teams, and workflow automation
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/attention.md b/plugins/agentkit/references/agent-connectors/attention.md
deleted file mode 100644
index 9af975e..0000000
--- a/plugins/agentkit/references/agent-connectors/attention.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Attention for AI insights, conversations, teams, and workflows
-
-Supports authentication: API Key
diff --git a/plugins/agentkit/references/agent-connectors/bigquery.md b/plugins/agentkit/references/agent-connectors/bigquery.md
deleted file mode 100644
index 64b8a33..0000000
--- a/plugins/agentkit/references/agent-connectors/bigquery.md
+++ /dev/null
@@ -1,3 +0,0 @@
-BigQuery is Google Cloud’s fully-managed enterprise data warehouse for analytics at scale.
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/chorus.md b/plugins/agentkit/references/agent-connectors/chorus.md
deleted file mode 100644
index b57dd23..0000000
--- a/plugins/agentkit/references/agent-connectors/chorus.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Chorus.ai to sync calls, transcripts, conversation intelligence, and analytics.
-
-Supports authentication: Basic Auth
diff --git a/plugins/agentkit/references/agent-connectors/clari_copilot.md b/plugins/agentkit/references/agent-connectors/clari_copilot.md
deleted file mode 100644
index 2949e94..0000000
--- a/plugins/agentkit/references/agent-connectors/clari_copilot.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Clari Copilot for sales call transcripts, analytics, call data, and insights.
-
-Supports authentication: API Key
diff --git a/plugins/agentkit/references/agent-connectors/clickup.md b/plugins/agentkit/references/agent-connectors/clickup.md
deleted file mode 100644
index dd7d216..0000000
--- a/plugins/agentkit/references/agent-connectors/clickup.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to ClickUp. Manage tasks, projects, workspaces, and team collaboration
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/confluence.md b/plugins/agentkit/references/agent-connectors/confluence.md
deleted file mode 100644
index 96d699f..0000000
--- a/plugins/agentkit/references/agent-connectors/confluence.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Confluence. Manage spaces, pages, content, and team collaboration
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/dropbox.md b/plugins/agentkit/references/agent-connectors/dropbox.md
deleted file mode 100644
index 1bfe1d3..0000000
--- a/plugins/agentkit/references/agent-connectors/dropbox.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Dropbox. Manage files, folders, sharing, and cloud storage workflows
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/fathom.md b/plugins/agentkit/references/agent-connectors/fathom.md
deleted file mode 100644
index 3408c98..0000000
--- a/plugins/agentkit/references/agent-connectors/fathom.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Fathom AI meeting assistant. Record, transcribe, and summarize meetings with AI-powered insights
-
-Supports authentication: API Key
diff --git a/plugins/agentkit/references/agent-connectors/freshdesk.md b/plugins/agentkit/references/agent-connectors/freshdesk.md
deleted file mode 100644
index 424a753..0000000
--- a/plugins/agentkit/references/agent-connectors/freshdesk.md
+++ /dev/null
@@ -1,149 +0,0 @@
-Connect to Freshdesk. Manage tickets, contacts, companies, and customer support workflows
-
-Supports authentication: Basic Auth
-
-## Table of Contents
-
-- [Tool list](#tool-list)
-
----
-
-## Tool list
-
-## `freshdesk_agent_create`
-
-Create a new agent in Freshdesk. Email is required and must be unique. Agent will receive invitation email to set up account. At least one role must be assigned.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `agent_type` | Type of agent (1=Support Agent, 2=Field Agent, 3=Collaborator) | number | null |
-| `email` | Email address of the agent (must be unique) | string |
-| `focus_mode` | Focus mode setting for the agent | boolean | null |
-| `group_ids` | Array of group IDs to assign the agent to | `array` | null |
-| `language` | Language preference of the agent | string | null |
-| `name` | Full name of the agent | string | null |
-| `occasional` | Whether the agent is occasional (true) or full-time (false) | boolean | null |
-| `role_ids` | Array of role IDs to assign to the agent (at least one required) | `array` |
-| `signature` | Agent email signature in HTML format | string | null |
-| `skill_ids` | Array of skill IDs to assign to the agent | `array` | null |
-| `ticket_scope` | Ticket permission level (1=Global Access, 2=Group Access, 3=Restricted Access) | number |
-| `time_zone` | Time zone of the agent | string | null |
-
-## `freshdesk_agent_delete`
-
-Delete an agent from Freshdesk. This action is irreversible and will remove the agent from the system. The agent will no longer have access to the helpdesk and all associated data will be permanently deleted.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `agent_id` | ID of the agent to delete | number |
-
-## `freshdesk_agents_list`
-
-Retrieve a list of agents from Freshdesk with filtering options. Returns agent details including IDs, contact information, roles, and availability status. Supports pagination with up to 100 agents per page.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `email` | Filter agents by email address | string | null |
-| `mobile` | Filter agents by mobile number | string | null |
-| `page` | Page number for pagination (starts from 1) | number | null |
-| `per_page` | Number of agents per page (max 100) | number | null |
-| `phone` | Filter agents by phone number | string | null |
-| `state` | Filter agents by state (fulltime or occasional) | string | null |
-
-## `freshdesk_contact_create`
-
-Create a new contact in Freshdesk. Email and name are required. Supports custom fields, company assignment, and contact segmentation.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `address` | Address of the contact | string | null |
-| `company_id` | Company ID to associate with the contact | number | null |
-| `custom_fields` | Key-value pairs for custom field values | `object` | null |
-| `description` | Description about the contact | string | null |
-| `email` | Email address of the contact | string |
-| `job_title` | Job title of the contact | string | null |
-| `language` | Language preference of the contact | string | null |
-| `mobile` | Mobile number of the contact | string | null |
-| `name` | Full name of the contact | string |
-| `phone` | Phone number of the contact | string | null |
-| `tags` | Array of tags to associate with the contact | `array` | null |
-| `time_zone` | Time zone of the contact | string | null |
-
-## `freshdesk_roles_list`
-
-Retrieve a list of all roles from Freshdesk. Returns role details including IDs, names, descriptions, default status, and timestamps. This endpoint provides information about the different permission levels and access controls available in the Freshdesk system.
-
-## `freshdesk_ticket_create`
-
-Create a new ticket in Freshdesk. Requires either requester_id, email, facebook_id, phone, twitter_id, or unique_external_id to identify the requester.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `cc_emails` | Array of email addresses to be added in CC | `array` | null |
-| `custom_fields` | Key-value pairs containing custom field names and values | `object` | null |
-| `description` | HTML content of the ticket describing the issue | string | null |
-| `email` | Email address of the requester. If no contact exists, will be added as new contact. | string | null |
-| `group_id` | ID of the group to which the ticket has been assigned | number | null |
-| `name` | Name of the requester | string | null |
-| `priority` | Priority of the ticket. 1=Low, 2=Medium, 3=High, 4=Urgent | number | null |
-| `requester_id` | User ID of the requester. For existing contacts, can be passed instead of email. | number | null |
-| `responder_id` | ID of the agent to whom the ticket has been assigned | number | null |
-| `source` | Channel through which ticket was created. 1=Email, 2=Portal, 3=Phone, 7=Chat, 9=Feedback Widget, 10=Outbound Email | number | null |
-| `status` | Status of the ticket. 2=Open, 3=Pending, 4=Resolved, 5=Closed | number | null |
-| `subject` | Subject of the ticket | string | null |
-| `tags` | Array of tags to be associated with the ticket | `array` | null |
-| `type` | Helps categorize the ticket according to different kinds of issues | string | null |
-
-## `freshdesk_ticket_get`
-
-Retrieve details of a specific ticket by ID. Includes ticket properties, conversations, and metadata.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `include` | Additional resources to include (stats, requester, company, conversations) | string | null |
-| `ticket_id` | ID of the ticket to retrieve | number |
-
-## `freshdesk_ticket_update`
-
-Update an existing ticket in Freshdesk. Note: Subject and description of outbound tickets cannot be updated.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `custom_fields` | Key-value pairs containing custom field names and values | `object` | null |
-| `description` | HTML content of the ticket (cannot be updated for outbound tickets) | string | null |
-| `group_id` | ID of the group to which the ticket has been assigned | number | null |
-| `name` | Name of the requester | string | null |
-| `priority` | Priority of the ticket. 1=Low, 2=Medium, 3=High, 4=Urgent | number | null |
-| `responder_id` | ID of the agent to whom the ticket has been assigned | number | null |
-| `status` | Status of the ticket. 2=Open, 3=Pending, 4=Resolved, 5=Closed | number | null |
-| `subject` | Subject of the ticket (cannot be updated for outbound tickets) | string | null |
-| `tags` | Array of tags to be associated with the ticket | `array` | null |
-| `ticket_id` | ID of the ticket to update | number |
-
-## `freshdesk_tickets_list`
-
-Retrieve a list of tickets with filtering and pagination. Supports filtering by status, priority, requester, and more. Returns 30 tickets per page by default.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `company_id` | Filter by company ID | number | null |
-| `email` | Filter by requester email | string | null |
-| `filter` | Filter name (new_and_my_open, watching, spam, deleted) | string | null |
-| `include` | Additional resources to include (description, requester, company, stats) | string | null |
-| `page` | Page number for pagination (starts from 1) | number | null |
-| `per_page` | Number of tickets per page (max 100) | number | null |
-| `requester_id` | Filter by requester ID | number | null |
-| `updated_since` | Filter tickets updated since this timestamp (ISO 8601) | string | null |
-
-## `freshdesk_tickets_reply`
-
-Add a public reply to a ticket conversation. The reply will be visible to the customer and will update the ticket status if specified.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `bcc_emails` | Array of email addresses to BCC on the reply | `array` | null |
-| `body` | HTML content of the reply | string |
-| `cc_emails` | Array of email addresses to CC on the reply | `array` | null |
-| `from_email` | Email address to send the reply from | string | null |
-| `ticket_id` | ID of the ticket to reply to | number |
-| `user_id` | ID of the agent sending the reply | number | null |
diff --git a/plugins/agentkit/references/agent-connectors/github.md b/plugins/agentkit/references/agent-connectors/github.md
deleted file mode 100644
index c9cf234..0000000
--- a/plugins/agentkit/references/agent-connectors/github.md
+++ /dev/null
@@ -1,137 +0,0 @@
-GitHub is a cloud-based Git repository hosting service that allows developers to store, manage, and track changes to their code.
-
-Supports authentication: OAuth 2.0
-
-## Table of Contents
-
-- [Tool list](#tool-list)
-
----
-
-## Tool list
-
-## `github_file_contents_get`
-
-Get the contents of a file or directory from a GitHub repository. Returns Base64 encoded content for files.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `owner` | The account owner of the repository | string |
-| `path` | The content path (file or directory path in the repository) | string |
-| `ref` | The name of the commit/branch/tag | string | null |
-| `repo` | The name of the repository | string |
-
-## `github_file_create_update`
-
-Create a new file or update an existing file in a GitHub repository. Content must be Base64 encoded. Requires SHA when updating existing files.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `author` | Author information object with name and email | `object` | null |
-| `branch` | The branch name | string | null |
-| `committer` | Committer information object with name and email | `object` | null |
-| `content` | The new file content (Base64 encoded) | string |
-| `message` | The commit message for this change | string |
-| `owner` | The account owner of the repository | string |
-| `path` | The file path in the repository | string |
-| `repo` | The name of the repository | string |
-| `sha` | The blob SHA of the file being replaced (required when updating existing files) | string | null |
-
-## `github_issue_create`
-
-Create a new issue in a repository. Requires push access to set assignees, milestones, and labels.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `assignees` | GitHub usernames to assign to the issue | `array` | null |
-| `body` | The contents of the issue | string | null |
-| `labels` | Labels to associate with the issue | `array` | null |
-| `milestone` | Milestone number to associate with the issue | number | null |
-| `owner` | The account owner of the repository | string |
-| `repo` | The name of the repository | string |
-| `title` | The title of the issue | string |
-| `type` | The name of the issue type | string | null |
-
-## `github_issues_list`
-
-List issues in a repository. Both issues and pull requests are returned as issues in the GitHub API.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `assignee` | Filter by assigned user | string | null |
-| `creator` | Filter by issue creator | string | null |
-| `direction` | Sort order | string | null |
-| `labels` | Filter by comma-separated list of label names | string | null |
-| `milestone` | Filter by milestone number or state | string | null |
-| `owner` | The account owner of the repository | string |
-| `page` | Page number of results to fetch | number | null |
-| `per_page` | Number of results per page (max 100) | number | null |
-| `repo` | The name of the repository | string |
-| `since` | Show issues updated after this timestamp (ISO 8601 format) | string | null |
-| `sort` | Property to sort issues by | string | null |
-| `state` | Filter by issue state | string | null |
-
-## `github_public_repos_list`
-
-List public repositories for a specified user. Does not require authentication.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `direction` | Sort order | string | null |
-| `page` | Page number of results to fetch | number | null |
-| `per_page` | Number of results per page (max 100) | number | null |
-| `sort` | Property to sort repositories by | string | null |
-| `type` | Filter repositories by type | string | null |
-| `username` | The GitHub username to list repositories for | string |
-
-## `github_pull_request_create`
-
-Create a new pull request in a repository. Requires write access to the head branch.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `base` | The name of the branch you want the changes pulled into | string |
-| `body` | The contents of the pull request description | string | null |
-| `draft` | Indicates whether the pull request is a draft | boolean | null |
-| `head` | The name of the branch where your changes are implemented (format: user:branch) | string |
-| `maintainer_can_modify` | Indicates whether maintainers can modify the pull request | boolean | null |
-| `owner` | The account owner of the repository | string |
-| `repo` | The name of the repository | string |
-| `title` | The title of the pull request | string | null |
-
-## `github_pull_requests_list`
-
-List pull requests in a repository with optional filtering by state, head, and base branches.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `base` | Filter by base branch name | string | null |
-| `direction` | Sort order | string | null |
-| `head` | Filter by head branch (format: user:ref-name) | string | null |
-| `owner` | The account owner of the repository | string |
-| `page` | Page number of results to fetch | number | null |
-| `per_page` | Number of results per page (max 100) | number | null |
-| `repo` | The name of the repository | string |
-| `sort` | Property to sort pull requests by | string | null |
-| `state` | Filter by pull request state | string | null |
-
-## `github_repo_get`
-
-Get detailed information about a GitHub repository including metadata, settings, and statistics.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `owner` | The account owner of the repository (case-insensitive) | string |
-| `repo` | The name of the repository without the .git extension (case-insensitive) | string |
-
-## `github_user_repos_list`
-
-List repositories for the authenticated user. Requires authentication.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `direction` | Sort order | string | null |
-| `page` | Page number of results to fetch | number | null |
-| `per_page` | Number of results per page (max 100) | number | null |
-| `sort` | Property to sort repositories by | string | null |
-| `type` | Filter repositories by type | string | null |
diff --git a/plugins/agentkit/references/agent-connectors/gmail.md b/plugins/agentkit/references/agent-connectors/gmail.md
deleted file mode 100644
index d668c75..0000000
--- a/plugins/agentkit/references/agent-connectors/gmail.md
+++ /dev/null
@@ -1,79 +0,0 @@
-Gmail is Google's cloud based email service that allows you to access your messages from any computer or device with just a web browser.
-
-Supports authentication: OAuth 2.0
-
-## Tool list
-
-## `gmail_fetch_mails`
-
-Fetch emails from a connected Gmail account using search filters. Requires a valid Gmail OAuth2 connection.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `format` | Format of the returned message. | string | null |
-| `include_spam_trash` | Whether to fetch emails from spam and trash folders | boolean | null |
-| `label_ids` | Gmail label IDs to filter messages | `array` | null |
-| `max_results` | Maximum number of emails to fetch | integer | null |
-| `page_token` | Page token for pagination | string | null |
-| `query` | Search query string using Gmail's search syntax (e.g., 'is:unread from:user@example.com') | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `gmail_get_attachment_by_id`
-
-Retrieve a specific attachment from a Gmail message using the message ID and attachment ID.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `attachment_id` | Unique Gmail attachment ID | string |
-| `file_name` | Preferred filename to use when saving/returning the attachment | string | null |
-| `message_id` | Unique Gmail message ID that contains the attachment | string |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `gmail_get_contacts`
-
-Fetch a list of contacts from the connected Gmail account. Supports pagination and field filtering.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `max_results` | Maximum number of contacts to fetch | integer | null |
-| `page_token` | Token to retrieve the next page of results | string | null |
-| `person_fields` | Fields to include for each person | `array` | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `gmail_get_message_by_id`
-
-Retrieve a specific Gmail message using its message ID. Optionally control the format of the returned data.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `format` | Format of the returned message. | string | null |
-| `message_id` | Unique Gmail message ID | string |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `gmail_list_drafts`
-
-List draft emails from a connected Gmail account. Requires a valid Gmail OAuth2 connection.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `max_results` | Maximum number of drafts to fetch | integer | null |
-| `page_token` | Page token for pagination | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `gmail_search_people`
-
-Search people or contacts in the connected Google account using a query. Requires a valid Google OAuth2 connection with People API scopes.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `other_contacts` | Whether to include people not in the user's contacts (from 'Other Contacts'). | boolean | null |
-| `page_size` | Maximum number of people to return. | integer | null |
-| `person_fields` | Fields to retrieve for each person. | `array` | null |
-| `query` | Text query to search people (e.g., name, email address). | string |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
diff --git a/plugins/agentkit/references/agent-connectors/gong.md b/plugins/agentkit/references/agent-connectors/gong.md
deleted file mode 100644
index 26a36e3..0000000
--- a/plugins/agentkit/references/agent-connectors/gong.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect with Gong to sync calls, transcripts, insights, coaching and CRM activity
-
-Supports authentication: OAuth 2.0 , Api Key
diff --git a/plugins/agentkit/references/agent-connectors/google_ads.md b/plugins/agentkit/references/agent-connectors/google_ads.md
deleted file mode 100644
index 9718639..0000000
--- a/plugins/agentkit/references/agent-connectors/google_ads.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Ads to manage advertising campaigns, analyze performance metrics, and optimize ad spending across Google's advertising platform
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_docs.md b/plugins/agentkit/references/agent-connectors/google_docs.md
deleted file mode 100644
index e790d5d..0000000
--- a/plugins/agentkit/references/agent-connectors/google_docs.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Docs. Create, edit, and collaborate on documents
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_drive.md b/plugins/agentkit/references/agent-connectors/google_drive.md
deleted file mode 100644
index ef6120e..0000000
--- a/plugins/agentkit/references/agent-connectors/google_drive.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Drive. Manage files, folders, and sharing permissions
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_forms.md b/plugins/agentkit/references/agent-connectors/google_forms.md
deleted file mode 100644
index fde9e1d..0000000
--- a/plugins/agentkit/references/agent-connectors/google_forms.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Forms. Create, view, and manage forms and responses securely
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_meets.md b/plugins/agentkit/references/agent-connectors/google_meets.md
deleted file mode 100644
index 814ff7b..0000000
--- a/plugins/agentkit/references/agent-connectors/google_meets.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Meet. Create and manage video meetings with powerful collaboration features
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_sheets.md b/plugins/agentkit/references/agent-connectors/google_sheets.md
deleted file mode 100644
index 8df9a54..0000000
--- a/plugins/agentkit/references/agent-connectors/google_sheets.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Google Sheets. Create, edit, and analyze spreadsheets with powerful data management capabilities
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/google_slides.md b/plugins/agentkit/references/agent-connectors/google_slides.md
deleted file mode 100644
index 242ef37..0000000
--- a/plugins/agentkit/references/agent-connectors/google_slides.md
+++ /dev/null
@@ -1,32 +0,0 @@
-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 |
diff --git a/plugins/agentkit/references/agent-connectors/googlecalendar.md b/plugins/agentkit/references/agent-connectors/googlecalendar.md
deleted file mode 100644
index 8168441..0000000
--- a/plugins/agentkit/references/agent-connectors/googlecalendar.md
+++ /dev/null
@@ -1,128 +0,0 @@
-Google Calendar is Google's cloud-based calendar service that allows you to manage your events, appointments, and schedules from any computer or device with just a web browser.
-
-Supports authentication: OAuth 2.0
-
-## Table of Contents
-
-- [Tool list](#tool-list)
-
----
-
-## Tool list
-
-## `googlecalendar_create_event`
-
-Create a new event in a connected Google Calendar account. Supports meeting links, recurrence, attendees, and more.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `attendees_emails` | Attendee email addresses | `array` | null |
-| `calendar_id` | Calendar ID to create the event in | string | null |
-| `create_meeting_room` | Generate a Google Meet link for this event | boolean | null |
-| `description` | Optional event description | string | null |
-| `event_duration_hour` | Duration of event in hours | integer | null |
-| `event_duration_minutes` | Duration of event in minutes | integer | null |
-| `event_type` | Event type for display purposes | string | null |
-| `guests_can_invite_others` | Allow guests to invite others | boolean | null |
-| `guests_can_modify` | Allow guests to modify the event | boolean | null |
-| `guests_can_see_other_guests` | Allow guests to see each other | boolean | null |
-| `location` | Location of the event | string | null |
-| `recurrence` | Recurrence rules (iCalendar RRULE format) | `array` | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `send_updates` | Send update notifications to attendees | boolean | null |
-| `start_datetime` | Event start time in RFC3339 format | string |
-| `summary` | Event title/summary | string |
-| `timezone` | Timezone for the event (IANA time zone identifier) | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-| `transparency` | Calendar transparency (free/busy) | string | null |
-| `visibility` | Visibility of the event | string | null |
-
-## `googlecalendar_delete_event`
-
-Delete an event from a connected Google Calendar account. Requires the calendar ID and event ID.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `calendar_id` | The ID of the calendar from which the event should be deleted | string | null |
-| `event_id` | The ID of the calendar event to delete | string |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `googlecalendar_get_event_by_id`
-
-Retrieve a specific calendar event by its ID using optional filtering and list parameters.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `calendar_id` | The calendar ID to search in | string | null |
-| `event_id` | The unique identifier of the calendar event to fetch | string |
-| `event_types` | Filter by Google event types | `array` | null |
-| `query` | Free text search query | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `show_deleted` | Include deleted events in results | boolean | null |
-| `single_events` | Expand recurring events into instances | boolean | null |
-| `time_max` | Upper bound for event start time (RFC3339) | string | null |
-| `time_min` | Lower bound for event start time (RFC3339) | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-| `updated_min` | Filter events updated after this time (RFC3339) | string | null |
-
-## `googlecalendar_list_calendars`
-
-List all accessible Google Calendar calendars for the authenticated user. Supports filters and pagination.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `max_results` | Maximum number of calendars to fetch | integer | null |
-| `min_access_role` | Minimum access role to include in results | string | null |
-| `page_token` | Token to retrieve the next page of results | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `show_deleted` | Include deleted calendars in the list | boolean | null |
-| `show_hidden` | Include calendars that are hidden from the calendar list | boolean | null |
-| `sync_token` | Token to get updates since the last sync | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `googlecalendar_list_events`
-
-List events from a connected Google Calendar account with filtering options. Requires a valid Google Calendar OAuth2 connection.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `calendar_id` | Calendar ID to list events from | string | null |
-| `max_results` | Maximum number of events to fetch | integer | null |
-| `order_by` | Order of events in the result | string | null |
-| `page_token` | Page token for pagination | string | null |
-| `query` | Free text search query | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `single_events` | Expand recurring events into single events | boolean | null |
-| `time_max` | Upper bound for event start time (RFC3339 timestamp) | string | null |
-| `time_min` | Lower bound for event start time (RFC3339 timestamp) | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `googlecalendar_update_event`
-
-Update an existing event in a connected Google Calendar account. Only provided fields will be updated. Supports updating time, attendees, location, meeting links, and more.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `attendees_emails` | Attendee email addresses | `array` | null |
-| `calendar_id` | Calendar ID containing the event | string |
-| `create_meeting_room` | Generate a Google Meet link for this event | boolean | null |
-| `description` | Optional event description | string | null |
-| `end_datetime` | Event end time in RFC3339 format | string | null |
-| `event_duration_hour` | Duration of event in hours | integer | null |
-| `event_duration_minutes` | Duration of event in minutes | integer | null |
-| `event_id` | The ID of the calendar event to update | string |
-| `event_type` | Event type for display purposes | string | null |
-| `guests_can_invite_others` | Allow guests to invite others | boolean | null |
-| `guests_can_modify` | Allow guests to modify the event | boolean | null |
-| `guests_can_see_other_guests` | Allow guests to see each other | boolean | null |
-| `location` | Location of the event | string | null |
-| `recurrence` | Recurrence rules (iCalendar RRULE format) | `array` | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `send_updates` | Send update notifications to attendees | boolean | null |
-| `start_datetime` | Event start time in RFC3339 format | string | null |
-| `summary` | Event title/summary | string | null |
-| `timezone` | Timezone for the event (IANA time zone identifier) | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-| `transparency` | Calendar transparency (free/busy) | string | null |
-| `visibility` | Visibility of the event | string | null |
diff --git a/plugins/agentkit/references/agent-connectors/hubspot.md b/plugins/agentkit/references/agent-connectors/hubspot.md
deleted file mode 100644
index ac44f2c..0000000
--- a/plugins/agentkit/references/agent-connectors/hubspot.md
+++ /dev/null
@@ -1,143 +0,0 @@
-Connect to HubSpot CRM. Manage contacts, deals, companies, and marketing automation
-
-Supports authentication: OAuth 2.0
-
-## Table of Contents
-
-- [Tool list](#tool-list)
-
----
-
-## Tool list
-
-## `hubspot_companies_search`
-
-Search HubSpot companies using full-text search and pagination. Returns matching companies with specified properties.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `after` | Pagination offset to get results starting from a specific position | string | null |
-| `filterGroups` | JSON string containing filter groups for advanced filtering | string | null |
-| `limit` | Number of results to return per page (max 100) | number | null |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-| `query` | Search term for full-text search across company properties | string | null |
-
-## `hubspot_company_create`
-
-Create a new company in HubSpot CRM. Requires a company name as the unique identifier. Supports additional properties like domain, industry, phone, location, and revenue information.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `annualrevenue` | Annual revenue of the company | number | null |
-| `city` | Company city location | string | null |
-| `country` | Company country location | string | null |
-| `description` | Company description or overview | string | null |
-| `domain` | Company website domain | string | null |
-| `industry` | Industry type of the company | string | null |
-| `name` | Company name (required, serves as primary identifier) | string |
-| `numberofemployees` | Number of employees at the company | number | null |
-| `phone` | Company phone number | string | null |
-| `state` | Company state or region | string | null |
-
-## `hubspot_company_get`
-
-Retrieve details of a specific company from HubSpot by company ID. Returns company properties and associated data.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `company_id` | ID of the company to retrieve | string |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-
-## `hubspot_contact_create`
-
-Create a new contact in HubSpot CRM. Requires an email address as the unique identifier. Supports additional properties like name, company, phone, and lifecycle stage.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `company` | Company name where the contact works | string | null |
-| `email` | Primary email address for the contact (required, serves as unique identifier) | string |
-| `firstname` | First name of the contact | string | null |
-| `hs_lead_status` | Lead status of the contact | string | null |
-| `jobtitle` | Job title of the contact | string | null |
-| `lastname` | Last name of the contact | string | null |
-| `lifecyclestage` | Lifecycle stage of the contact | string | null |
-| `phone` | Phone number of the contact | string | null |
-| `website` | Personal or company website URL | string | null |
-
-## `hubspot_contact_get`
-
-Retrieve details of a specific contact from HubSpot by contact ID. Returns contact properties and associated data.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `contact_id` | ID of the contact to retrieve | string |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-
-## `hubspot_contact_update`
-
-Update an existing contact in HubSpot CRM by contact ID. Allows updating contact properties like name, email, company, phone, and lifecycle stage.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `contact_id` | ID of the contact to update | string |
-| `props` | Object containing properties like first name, last name, email, company, phone, and job title to update all these should be provided inside props as a JSON object, this is required | `object` | null |
-
-## `hubspot_contacts_list`
-
-Retrieve a list of contacts from HubSpot with filtering and pagination. Returns contact properties and supports pagination through cursor-based navigation.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `after` | Pagination cursor to get the next set of results | string | null |
-| `archived` | Whether to include archived contacts in the results | boolean | null |
-| `limit` | Number of results to return per page (max 100) | number | null |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-
-## `hubspot_contacts_search`
-
-Search HubSpot contacts using full-text search and pagination. Returns matching contacts with specified properties.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `after` | Pagination offset to get results starting from a specific position | string | null |
-| `filterGroups` | JSON string containing filter groups for advanced filtering | string | null |
-| `limit` | Number of results to return per page (max 100) | number | null |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-| `query` | Search term for full-text search across contact properties | string | null |
-
-## `hubspot_deal_create`
-
-Create a new deal in HubSpot CRM. Requires dealname, amount, and dealstage. Supports additional properties like pipeline, close date, and deal type.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `amount` | Deal amount/value (required) | number |
-| `closedate` | Expected close date (YYYY-MM-DD format) | string | null |
-| `dealname` | Name of the deal (required) | string |
-| `dealstage` | Current stage of the deal (required) | string |
-| `dealtype` | Type of deal | string | null |
-| `description` | Deal description | string | null |
-| `hs_priority` | Deal priority (HIGH, MEDIUM, LOW) | string | null |
-| `pipeline` | Deal pipeline | string | null |
-
-## `hubspot_deal_update`
-
-Update an existing deal in HubSpot CRM by deal ID. Allows updating deal properties like name, amount, stage, pipeline, close date, and priority.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `deal_id` | ID of the deal to update | string |
-| `good_deal` | Boolean flag indicating if this is a good deal | boolean | null |
-| `properties` | Object containing deal properties to update | `object` |
-
-## `hubspot_deals_search`
-
-Search HubSpot deals using full-text search and pagination. Returns matching deals with specified properties.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `after` | Pagination offset to get results starting from a specific position | string | null |
-| `filterGroups` | JSON string containing filter groups for advanced filtering | string | null |
-| `limit` | Number of results to return per page (max 100) | number | null |
-| `properties` | Comma-separated list of properties to include in the response | string | null |
-| `query` | Search term for full-text search across deal properties | string | null |
diff --git a/plugins/agentkit/references/agent-connectors/intercom.md b/plugins/agentkit/references/agent-connectors/intercom.md
deleted file mode 100644
index 77ef5d8..0000000
--- a/plugins/agentkit/references/agent-connectors/intercom.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Intercom. Send messages, manage conversations, and interact with users and contacts.
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/jira.md b/plugins/agentkit/references/agent-connectors/jira.md
deleted file mode 100644
index 1675086..0000000
--- a/plugins/agentkit/references/agent-connectors/jira.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Jira. Manage issues, projects, workflows, and agile development processes
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/linear.md b/plugins/agentkit/references/agent-connectors/linear.md
deleted file mode 100644
index 9b0f877..0000000
--- a/plugins/agentkit/references/agent-connectors/linear.md
+++ /dev/null
@@ -1,58 +0,0 @@
-Connect to Linear. Manage issues, projects, sprints, and development workflows
-
-Supports authentication: OAuth 2.0
-
-## Tool list
-
-## `linear_graphql_query`
-
-Execute a custom GraphQL query or mutation against the Linear API. Allows running any valid GraphQL operation with variables support for advanced use cases.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `query` | The GraphQL query or mutation to execute | string |
-| `variables` | Variables to pass to the GraphQL query | `object` | null |
-
-## `linear_issue_create`
-
-Create a new issue in Linear using the issueCreate mutation. Requires a team ID and title at minimum.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `assigneeId` | ID of the user to assign the issue to | string | null |
-| `description` | Description of the issue | string | null |
-| `estimate` | Story point estimate for the issue | string | null |
-| `labelIds` | Array of label IDs to apply to the issue | `array` | null |
-| `priority` | Priority level of the issue (1-4, where 1 is urgent) | string | null |
-| `projectId` | ID of the project to associate the issue with | string | null |
-| `stateId` | ID of the workflow state to set | string | null |
-| `teamId` | ID of the team to create the issue in | string |
-| `title` | Title of the issue | string |
-
-## `linear_issue_update`
-
-Update an existing issue in Linear. You can update title, description, priority, state, and assignee.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `assigneeId` | ID of the user to assign the issue to | string | null |
-| `description` | New description for the issue | string | null |
-| `issueId` | ID of the issue to update | string |
-| `priority` | Priority level of the issue (1-4, where 1 is urgent) | string | null |
-| `stateId` | ID of the workflow state to set | string | null |
-| `title` | New title for the issue | string | null |
-
-## `linear_issues_list`
-
-List issues in Linear using the issues query with simple filtering and pagination support.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `after` | Cursor for pagination (returns issues after this cursor) | string | null |
-| `assignee` | Filter by assignee email (e.g., 'user@example.com') | string | null |
-| `before` | Cursor for pagination (returns issues before this cursor) | string | null |
-| `first` | Number of issues to return (pagination) | integer | null |
-| `labels` | Filter by label names (array of strings) | `array` | null |
-| `priority` | Filter by priority level (1=Urgent, 2=High, 3=Medium, 4=Low) | string | null |
-| `project` | Filter by project name (e.g., 'Q4 Goals') | string | null |
-| `state` | Filter by state name (e.g., 'In Progress', 'Done') | string | null |
diff --git a/plugins/agentkit/references/agent-connectors/microsoft_excel.md b/plugins/agentkit/references/agent-connectors/microsoft_excel.md
deleted file mode 100644
index 2fa4c19..0000000
--- a/plugins/agentkit/references/agent-connectors/microsoft_excel.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Microsoft Excel. Access, read, and modify spreadsheets stored in OneDrive or SharePoint through Microsoft Graph API.
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/microsoft_teams.md b/plugins/agentkit/references/agent-connectors/microsoft_teams.md
deleted file mode 100644
index 85790a1..0000000
--- a/plugins/agentkit/references/agent-connectors/microsoft_teams.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Microsoft Teams. Manage messages, channels, meetings, and team collaboration
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/microsoft_word.md b/plugins/agentkit/references/agent-connectors/microsoft_word.md
deleted file mode 100644
index 7b2d530..0000000
--- a/plugins/agentkit/references/agent-connectors/microsoft_word.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Microsoft Word. Authenticate with your Microsoft account to create, read, and edit Word documents stored in OneDrive or SharePoint through Microsoft Graph API.
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/monday.md b/plugins/agentkit/references/agent-connectors/monday.md
deleted file mode 100644
index 6cc8ab0..0000000
--- a/plugins/agentkit/references/agent-connectors/monday.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Connect to Monday.com. Manage boards, tasks, workflows, teams, and project collaboration
-
-Supports authentication: OAuth 2.0
diff --git a/plugins/agentkit/references/agent-connectors/notion.md b/plugins/agentkit/references/agent-connectors/notion.md
deleted file mode 100644
index 22b58d5..0000000
--- a/plugins/agentkit/references/agent-connectors/notion.md
+++ /dev/null
@@ -1,189 +0,0 @@
-Connect to Notion workspace. Create, edit pages, manage databases, and collaborate on content
-
-Supports authentication: OAuth 2.0
-
-## Table of Contents
-
-- [Tool list](#tool-list)
-
----
-
-## Tool list
-
-## `notion_comment_create`
-
-Create a comment in Notion. Provide a comment object with rich_text content and either a parent object (with page_id) for a page-level comment or a discussion_id to reply in an existing thread.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `comment` | Comment object containing a rich_text array. Example: `{"rich_text":[{"type":"text","text":{"content":"Hello"}}]}` | `object` |
-| `discussion_id` | Existing discussion thread ID to reply to. | string | null |
-| `notion_version` | Optional override for the Notion-Version header (e.g., 2022-06-28). | string | null |
-| `parent` | Parent object for a new top-level comment. Shape: `{"page_id":""}`. | `object` | null |
-| `schema_version` | Internal override for schema version. | string | null |
-| `tool_version` | Internal override for tool implementation version. | string | null |
-
-## `notion_comment_retrieve`
-
-Retrieve a single Notion comment by its `comment_id`. LLM tip: you typically obtain `comment_id` from the response of creating a comment or by first listing comments for a page/block and selecting the desired item’s `id`.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `comment_id` | The identifier of the comment to retrieve (hyphenated UUID). Obtain it from Create-Comment responses or from a prior List-Comments call. | string |
-| `notion_version` | Optional Notion-Version header override (e.g., 2022-06-28). | string | null |
-| `schema_version` | Internal override for schema version. | string | null |
-| `tool_version` | Internal override for tool implementation version. | string | null |
-
-## `notion_comments_fetch`
-
-Fetch comments for a given Notion block. Provide a `block_id` (the target page/block ID, hyphenated UUID). Supports pagination via `start_cursor` and `page_size` (1–100). LLM tip: extract `block_id` from a Notion URL’s trailing 32-char id, then insert hyphens (8-4-4-4-12).
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `block_id` | Target Notion block (or page) ID to fetch comments for. Use a hyphenated UUID. | string |
-| `notion_version` | Optional Notion-Version header override (e.g., 2022-06-28). | string | null |
-| `page_size` | Maximum number of comments to return (1–100). | integer | null |
-| `schema_version` | Internal override for schema version. | string | null |
-| `start_cursor` | Cursor to fetch the next page of results. | string | null |
-| `tool_version` | Internal override for tool implementation version. | string | null |
-
-## `notion_data_fetch`
-
-Fetch data from Notion using the workspace search API (/search). Supports pagination via start_cursor.
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `page_size` | Max number of results to return (1–100) | integer | null |
-| `query` | Text query used by /search | string | null |
-| `schema_version` | Optional schema version to use for tool execution | string | null |
-| `start_cursor` | Cursor for pagination; pass the previous response's next_cursor | string | null |
-| `tool_version` | Optional tool version to use for execution | string | null |
-
-## `notion_database_create`
-
-Create a new database in Notion under a parent page. Provide a parent object with page_id, a database title (rich_text array), and a properties object that defines the database schema (columns).
-
-| Properties | Description | Type |
-| --- | --- | --- |
-| `notion_version` | Optional override for the Notion-Version header (e.g., 2022-06-28). | string | null |
-| `parent` | Parent object specifying the page under which the database is created. Example: `{"page_id": "2561ab6c-418b-8072-beec-c4779fa811cf"}` | `object` |
-| `properties` | Database schema object defining properties (columns). Example: `{"Name": {"title": {}}, "Status": {"select": {"options": [{"name": "Todo"}, {"name": "Doing"}, {"name": "Done"}]}}}` | `object` |
-| `schema_version` | Internal override for schema version. | string | null |
-| `title` | Database title as a Notion rich_text array. | `array