Skip to content

Consolidate 5 plugins into AgentKit and SaaSKit (v2.0.0)#20

Open
saif-at-scalekit wants to merge 36 commits into
mainfrom
restructure/agentkit-saaskit-consolidation
Open

Consolidate 5 plugins into AgentKit and SaaSKit (v2.0.0)#20
saif-at-scalekit wants to merge 36 commits into
mainfrom
restructure/agentkit-saaskit-consolidation

Conversation

@saif-at-scalekit
Copy link
Copy Markdown
Collaborator

@saif-at-scalekit saif-at-scalekit commented May 8, 2026

Summary

Restructures the marketplace from 5 separate plugins into 2 focused plugins: AgentKit and SaaSKit.

This PR incorporates the work from #19 (docs/agent-auth-hybrid-layout) and builds the full restructure on top.

Backward Compatibility

Old plugin names are preserved as symlinks so existing install commands keep working:

Old name (symlink) Points to Rationale
plugins/agent-auth agentkit Direct rename
plugins/full-stack-auth saaskit Consolidated into SaaSKit
plugins/mcp-auth saaskit MCP server auth is now part of SaaSKit
plugins/modular-sso saaskit SSO is now part of SaaSKit
plugins/modular-scim saaskit SCIM is now part of SaaSKit

Tested: claude plugin install agent-auth@scalekit-auth-stack resolves through the symlink and loads AgentKit skills. Claude Code's marketplace uses git clone, which preserves symlinks on disk.

The install script (scripts/install_claude_marketplace.sh) now:

  • Installs both agentkit and saaskit (previously only installed agent-auth)
  • Cleans up old v1.x plugin names on reinstall

Namespace Change

  • All slash commands now use /agentkit: or /saaskit: namespace

AgentKit (5 skills)

Renamed from agent-auth, adopting Scalekit AgentKit branding with docs/ + rules/ + thin skills/ content model.

Skill Purpose
integrating-agentkit Core AgentKit integration
discovering-connector-tools Live tool metadata discovery
exposing-agentkit-via-mcp Configure AgentKit MCP endpoint
production-readiness-agentkit Production checklist
scalekit-code-doctor Generate and review Scalekit code with verified SDK signatures

SaaSKit (13 skills)

New plugin consolidating FSA, SSO, SCIM, and MCP server auth into one coherent surface.

Skill Consolidates
implementing-saaskit Core auth flow (+ Go, Spring Boot, Laravel reference files)
managing-saaskit-sessions Session management
implementing-access-control RBAC and permissions
implementing-saaskit-python Django + FastAPI + Flask (merged)
implementing-saaskit-nextjs Next.js App Router
implementing-modular-sso SSO + admin portal (merged)
implementing-scim-provisioning SCIM directory sync
adding-mcp-oauth MCP server auth (+ FastMCP, Express, FastAPI refs)
adding-api-auth API keys + client credentials (merged)
migrating-to-saaskit Migration from Auth0/Firebase/Cognito/custom
production-readiness-saaskit Unified production checklist (4 sources merged)
testing-auth-setup Validate auth integration via dryrun CLI
scalekit-code-doctor Generate and review Scalekit code with verified SDK signatures

Content model

Both plugins follow: docs/ (canonical documentation) + rules/ (cross-cutting guidance) + thin skills/ (routing layers pointing to docs)

Cleanup in this PR

  • Removed legacy test-tool.md command alias
  • Removed 42 static agent-connectors/*.md files — pointed to docs.scalekit.com/agentkit/connectors/ instead
  • Renamed providers.mdconnectors.md to match product terminology
  • Renamed building-agentkit-mcp-serverexposing-agentkit-via-mcp (configuring, not building)
  • Renamed discovering-agentkit-toolsdiscovering-connector-tools (tools belong to connectors)
  • Converted dryrun command → testing-auth-setup skill (discoverable via natural language)
  • Fixed saaskit/hooks/hooks.jsontype was on wrong nesting level

Pre-merge Coordination Checklist

These items should be coordinated before or shortly after merging this PR.
Old names still work via symlinks, so there is no hard deadline — but docs should reference the new names going forward.

1. docs.scalekit.com (developer-docs repo)

Claude Code install templates — update to use new plugin names:

  • src/components/templates/coding-agents/_agentkit-claude-code.mdxagent-auth@agentkit@
  • src/components/templates/coding-agents/_fsa-claude-code.mdxfull-stack-auth@saaskit@
  • src/components/templates/coding-agents/_mcp-auth-claude-code.mdxmcp-auth@saaskit@
  • src/components/templates/coding-agents/_sso-claude-code.mdxmodular-sso@saaskit@
  • src/components/templates/coding-agents/_scim-claude-code.mdxmodular-scim@saaskit@

GitHub Copilot CLI and Codex templates — same pattern:

  • _agentkit-github-copilot-cli.mdx / _agentkit-codex.mdx
  • _fsa-github-copilot-cli.mdx / _fsa-codex.mdx
  • _mcp-auth-github-copilot-cli.mdx / _mcp-auth-codex.mdx
  • _sso-github-copilot-cli.mdx / _sso-codex.mdx
  • _scim-github-copilot-cli.mdx / _scim-codex.mdx

Docs pages with inline install commands:

  • src/content/docs/dev-kit/build-with-ai/index.mdx — master plugin install table
  • src/content/docs/cookbooks/set-up-agentkit-with-your-coding-agent.mdx
  • src/content/docs/agentkit/quickstart.mdx
  • src/content/docs/authenticate/fsa/quickstart.mdx
  • src/content/docs/authenticate/mcp/quickstart.mdx
  • src/content/docs/authenticate/sso/add-modular-sso.mdx
  • src/content/docs/directory/scim/quickstart.mdx
  • src/content/docs/home/saaskit/index.mdx
  • src/content/docs/sso/quickstart.mdx
  • src/content/docs/passwordless/quickstart.mdx
  • src/content/docs/passwordless/oidc.mdx
  • src/content/docs/agent-auth/start-agent-auth-coding-agents/ (referenced in web search)

Config files:

  • src/configs/agent-instructions.ts
  • src/configs/llms.config.ts

2. scalekit.com marketing pages

  • Homepage (scalekit.com) — has inline Claude plugin install commands with old names
  • /agent-auth product page — has agent-auth@scalekit-auth-stack install command
  • /product-updates/add-scalekit-from-your-coding-agent — has old install commands

3. scalekit.com blog posts

  • /blog/outbound-prospecting-agent-development — has agent-auth@scalekit-auth-stack
  • Audit other blog posts for old plugin install commands

4. Scalekit dashboard app (app.scalekit.com)

  • app/scalekit-web-ui/src/pages/Quickstart/snippets.ts — has old plugin install commands
  • Check onboarding/quickstart flows in the dashboard for old plugin names

5. build-with-ai/skills repo (scalekit-inc/skills)

17 files reference old plugin names:

  • skills/setup-scalekit/SKILL.md
  • skills/integrating-agent-auth/SKILL.md
  • skills/building-agent-mcp-server/SKILL.md
  • skills/production-readiness-agent-auth/SKILL.md
  • skills/production-readiness-full-stack-auth/SKILL.md
  • skills/production-readiness-mcp-auth/SKILL.md
  • skills/modular-sso/SKILL.md
  • skills/mcp-auth-expressjs-scalekit/SKILL.md
  • skills/mcp-auth-fastmcp-scalekit/SKILL.md
  • skills/mcp-auth-fastapi-fastmcp-scalekit/SKILL.md
  • skills/mcp-oauth-fastmcp/SKILL.md
  • skills/adding-mcp-oauth/SKILL.md
  • skills/express-mcp-server/SKILL.md
  • skills/fastapi-fastmcp/SKILL.md
  • skills/README.md

6. Third-party listings

These are external and may update automatically, but worth tracking:

  • LobeHub skills marketplace (lobehub.com/skills/scalekit-inc-skills-setup-scalekit)
  • claudemarketplaces.com plugin listing
  • dev.to posts by scalekit-inc

7. Install script — Windows compatibility

  • install.sh uses bash (set -euo pipefail, curl, tar, mktemp) — does not work on Windows
  • Add a PowerShell equivalent (install.ps1) or cross-platform alternative
  • Or document that Windows users should use the manual /plugin marketplace add method

8. Post-merge verification

  • Verify symlinks resolve correctly via claude --plugin-dir (tested locally)
  • Verify symlinks resolve correctly via marketplace git clone (tested end-to-end)
  • Test fresh install: /plugin marketplace add scalekit-inc/claude-code-authstack/plugin install agentkit@scalekit-auth-stack
  • Test fresh install: /plugin install saaskit@scalekit-auth-stack
  • Test backward compat: /plugin install agent-auth@scalekit-auth-stack (should resolve via symlink)
  • Verify --plugin-dir local testing works for both plugins

saif-shines and others added 6 commits May 5, 2026 21:20
Shift the agent-auth plugin toward a Tessl-like docs/skills/rules layout so durable AgentKit guidance is separated from Claude-specific runtime files. This makes live metadata the documented source of truth for tools while keeping existing connector notes available as secondary references.

Co-authored-by: Cursor <cursoragent@cursor.com>
Raise the agent-auth plugin manifest to 2.0.0 so the hybrid AgentKit reorganization can ship as a major update and users can pick up the new version cleanly.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add a one-line Claude Code installer that adds the marketplace, installs the agent-auth plugin, and points users to enable auto-update. Also thread official docs.scalekit.com AgentKit links through the new canonical docs so the plugin can point back to the published product documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add the stable llms.txt and sitemap-0.xml links to the main Claude Code auth stack docs and the canonical agent-auth docs entrypoints so users and agents have clear fallback indexes into published Scalekit documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move the live AgentKit discovery and execution workflow into the testing skill so the plugin follows the modern skills-first structure. Keep `/test-tool` only as a legacy compatibility alias to preserve older usage without making `commands/` the source of truth.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restructure the marketplace from 5 separate plugins (agent-auth,
full-stack-auth, mcp-auth, modular-sso, modular-scim) into 2 focused
plugins: AgentKit (AI agent authentication) and SaaSKit (B2B SaaS auth).

AgentKit (5 skills):
- Renamed from agent-auth, adopting Scalekit AgentKit branding
- Added docs/ + rules/ content model from PR #19
- Skills: integrating, discovering tools, testing tools, MCP server, production readiness

SaaSKit (11 skills):
- New plugin consolidating FSA, SSO, SCIM, and MCP server auth
- 13 docs files including framework guides (Python, Next.js, Go, Spring Boot, Laravel)
- Thin skills routing into docs/ layer
- Skills: core auth, sessions, access control, SSO, SCIM, MCP OAuth, API auth,
  Python frameworks, Next.js, migration, production readiness
- Consolidated agents, commands, hooks, and references from all 4 source plugins

Both plugins at version 2.0.0 with the docs/ + rules/ + thin skills/ content model.
The Scalekit MCP server at mcp.scalekit.com provides tool discovery,
auth link generation, and tool execution natively. The testing skill
forced users to set up env vars, remember slash command syntax, and
wait for a Python script — all to get the same result.

Updated discovering-connector-tools, integrating-agentkit, and docs
to point to the MCP server as the live playground.
… mcp-helper

Removed 3 agents that don't justify being separate agents:
- sdk-version-advisor: just a lookup, skills already cover SDK install
- session-management-reviewer: preserved as references/session-management-patterns.md
- scalekit-mcp-helper: 22 lines, MCP server + skills cover this

Also removed duplicate setup-scalekit from agentkit (kept in saaskit).
Remaining agents: setup-scalekit, scalekit-mcp-auth-troubleshooter.
Per-connector docs (scopes, quirks, tool categories) were present in
cursor and codex but missing from claude-code. Copied full set to
maintain parity across all auth stacks.
Per-connector docs are unmaintainable — live AgentKit metadata and
docs.scalekit.com/agentkit/connectors/ are the source of truth.
…n dirs

marketplace.json still listed the old 5 plugins (mcp-auth, agent-auth,
modular-sso, modular-scim, full-stack-auth). After merge, claude plugin
install agentkit@scalekit-auth-stack would fail because the marketplace
manifest didn't know about agentkit or saaskit.

- Replace 5 old plugin entries with agentkit + saaskit
- Update marketplace description
- Remove 5 old plugin directories (other repos already cleaned up)
The old 5 plugin names (agent-auth, mcp-auth, full-stack-auth,
modular-sso, modular-scim) were symlinks to the new consolidated
plugins (agentkit, saaskit). They were accidentally removed.

Restore symlinks so both old and new install commands work:
  claude plugin install agent-auth@scalekit-auth-stack  (old, still works)
  claude plugin install agentkit@scalekit-auth-stack    (new, preferred)

marketplace.json now lists all 7 names — 2 primary + 5 aliases.
Add the scalekit-code-doctor skill (SKILL.md + references) to both
agentkit and saaskit plugins. This cross-cutting developer tool skill
enables code generation and review with verified Scalekit SDK signatures
across all four SDKs (Node, Python, Go, Java) and REST API.
Adds a UserPromptSubmit hook that calls the Scalekit CLI to check if the
agentkit plugin is outdated. The CLI handles caching (8h TTL), GitHub API
calls, semver comparison, and output formatting.

- Silent when up to date
- One-line message when outdated
- Cross-platform: npx works on Windows, macOS, Linux
- 15s timeout covers npx package resolution
UserPromptSubmit fires on every single prompt, adding npx latency to
every message. SessionStart fires once when a session begins or resumes,
which is the right frequency for a version check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants