kinde-b2b

kinde-b2b is a skill for Claude Code, Codex from ski043/kinde-agent-skills. It costs 90 tokens per session (1,857 once invoked), scanned A, original, MIT.

A guide for designing how Kinde organizations isolate a business’s data, identify the active tenant, and handle tenant credentials in B2B applications.

In plain words
What is it for?
It helps choose a tenancy model, define trusted tenant sources and partitions, specify active or missing-tenant behavior, and produce a tenant contract for other Kinde-related work.
Why use it?
It prevents different businesses’ data from being mixed and makes no-organization, membership, identity, and machine-access cases explicit before implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps choose a tenancy model, define trusted tenant sources and partitions, specify active or missing-tenant behavior, and produce a tenant contract for other Kinde-related work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ski043/kinde-agent-skills/kinde-b2b
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ski043/kinde-agent-skills --skill kinde-b2b
Clone the repo
git clone --depth 1 https://github.com/ski043/kinde-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kinde-b2b

README.md
[![agentmods](https://agentmods.dev/badge/skills/ski043/kinde-agent-skills/kinde-b2b/github.svg)](https://agentmods.dev/skills/ski043/kinde-agent-skills/kinde-b2b)
Your own site
<a href="https://agentmods.dev/skills/ski043/kinde-agent-skills/kinde-b2b"><img src="https://agentmods.dev/badge/skills/ski043/kinde-agent-skills/kinde-b2b/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kinde-b2b

Your own site · 80×15
<a href="https://agentmods.dev/skills/ski043/kinde-agent-skills/kinde-b2b"><img src="https://agentmods.dev/badge/skills/ski043/kinde-agent-skills/kinde-b2b.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01857
Opus 5 $0.00045 $0.00928
Sonnet 5 $0.00018 $0.00371
Haiku 4.5 $0.00009 $0.00186

Measured 12d ago against content hash c7929aafb9fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kinde-b2b scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/kinde-b2b/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kinde B2B

Produces a tenant contract for isolation, partitioning, active/no-tenant behavior, and tenant credentials. Conditional annexes carry identity, authorization, machine-access, and control-plane decisions only when those branches are in scope. Owning skills consume this contract rather than redefining its tenancy invariants.

Stance

Treat the run as design-only until the user asks to implement. Inspect the application stack and actively invoke the loaded framework adapter for framework work. If no adapter is available, mark that implementation handoff blocked; keep the tenant contract as the completed design artifact.

Dated sources and first-party conflicts live in REFERENCES.md. Read it before relying on a product claim that is not already recorded in a sibling file, and whenever two official pages disagree.

Guardrails

  • Tenant source. Retain verified access-token org_code by default. An intentional token workflow removal requires the contract to name a trusted server-side tenant/membership resolver and a no-membership discriminator; otherwise tenant implementation is blocked. Client hints never qualify. Details: TENANCY.md.
  • Exact API audience. Register every protected product API, request its audience, and verify the exact aud before authorization. Details: AUTHORIZATION.md.
  • Permission and scope split. User requests use verified permission keys; M2M uses granted scope; organization API keys use verification-response scopes. Details: AUTHORIZATION.md.
  • Credential class. A global M2M credential and a user API key without contract-defined tenant resolution are not tenant credentials. Details: MACHINE-ACCESS.md.

Read map

  • TENANCY.md: isolation models, Kinde mapping, data partition, missing organization, threats, and the contract template. Read in steps 1–4.
  • IDENTITY.md: membership, onboarding, invitations, active organization, enterprise SSO, home-realm discovery. Read in step 3 when filling those contract fields.
  • AUTHORIZATION.md: role/permission catalog vs assignment, JWT checks, server enforcement. Read in step 3 when filling authorization, and in step 6 for permission rows.
  • MACHINE-ACCESS.md: user tokens, global M2M, org-scoped M2M, organization API keys. Read in step 3 when filling machine access, and in step 6 for credential rows.
  • CONTROL-PLANES.md: dashboard, Management API, Account API, Management MCP, MCP connections, adapter handoff. Read in step 5.
  • REFERENCES.md: dated sources and conflicts. Read when a product claim might have drifted or official pages disagree.

Read the full file on GitHub · 117 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 117 lines · 90 tokens per session scan A c7929aafb9fb

Subscribe to this mod's changes

kinde-b2b is a skill published in the GitHub repository ski043/kinde-agent-skills (2 stars, last pushed 21d ago), licensed MIT. It adds 90 tokens to every session and 1,857 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

implement-saaskit-nextjs

Implements SaaSKit login in the Next.js App Router so an agent can add login, callback, session cookies, and logout. Use when the user wants SaaSKit Next.js or App Router auth. It does not write generic Node login (that's implement-saaskit) or write Django, FastAPI, or Flask auth (that's implement-saaskit-python).

scalekit-inc/skills · 84 tokens

implement-sso

Implements Modular SSO so an agent can add SAML/OIDC, IdP-initiated login, and the admin portal. Use when the user wants SSO, SAML, OIDC, Modular SSO, or IdP. It does not write SaaSKit login (that's implement-saaskit) or provision users from a directory (that's implement-scim).

scalekit-inc/skills · 83 tokens

expose-agentkit-mcp

Exposes AgentKit tools over MCP so a client can call them on a per-user instance URL. Use when the user wants to expose AgentKit over MCP, generate a per-user MCP URL, or connect LangChain via MCP. It does not list connectors (that's discover-connectors) or create a connected account and token in app code (that's…

scalekit-inc/skills · 84 tokens

implement-saaskit-python

Implements SaaSKit login in Django, FastAPI, or Flask so an agent can add login, callback, session cookies, and logout. Use when the user wants SaaSKit Django, FastAPI, or Flask auth. It does not write Node or Next.js login (that's implement-saaskit or implement-saaskit-nextjs).

scalekit-inc/skills · 79 tokens

implement-saaskit

Implements SaaSKit login so an agent can add a login route, a callback, session cookies, and logout. Use when the user wants to add SaaSKit login, a callback, or logout. It does not store, validate, refresh, or revoke a session after login (that's manage-saaskit-sessions) or write Next.js App Router auth (that's…

scalekit-inc/skills · 109 tokens

implement-scim

Implements SCIM so an agent can provision users and groups from a directory. Use when the user wants SCIM or to provision users. It does not write SaaSKit login (that's implement-saaskit) or add SSO (that's implement-sso).

scalekit-inc/skills · 60 tokens