Better Auth organization skill for Claude Code: teams, roles and invitations
Helps Claude set up Better Auth organizations: members, invitations, roles, teams and access control.
- Installs
- 37.5K
- on skills.sh
- Stars
- 228
- on GitHub
- Updated
- Oct 2026
- last repo commit
This skill makes Claude set up Better Auth's organization plugin. Its description covers multi-tenant organizations, members and invitations, custom roles and permissions, teams and RBAC.
SKILL.md also has a Security Considerations section: the last owner cannot be removed, deleting an organization removes its members, invitations and teams, and invitations expire after 48 hours by default. It bundles no scripts.
Good for
- SaaS developers building multi-tenant workspaces
- Teams that need invitations, roles and sub-teams
- Anyone adding role-based access control (RBAC) to Better Auth
Install organization-best-practices
Claude Code
- 1
Copy this prompt.
Install the organization-best-practices skill in Claude Code. Run this command: npx skills add https://github.com/better-auth/skills --skill organization-best-practices Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.
Sections in SKILL.md
- Setup
- Client-Side Setup
- Creating Organizations
- Controlling Organization Creation
- Creating Organizations on Behalf of Users
- Active Organizations
- Members
- Adding Members (Server-Side)
- Assigning Multiple Roles
- Removing Members
- Updating Member Roles
- Membership Limits
- Invitations
- Setting Up Invitation Emails
- Sending Invitations
- Shareable Invitation URLs
Key facts
- Repository
- better-auth/skills
- Installs on skills.sh
- 37,524 (Nov 2, 2026)
- GitHub stars (repo)
- 228 (Nov 2, 2026)
- Last repo commit
- Oct 19, 2026
What it includes
Add the plugin on server and client, then migrate.
Runs npx auth@latest migrate or generate plus a Drizzle or Prisma push.
Runs code ·
SetupCreation, limits on who can create, and creating on behalf of users.
Creating organizationsSetting and reading the user's current organization.
Active organizationsAdd, remove, update roles, assign multiple roles and set membership limits.
MembersInvitation emails, sending, shareable URLs and config.
InvitationsChecking permissions and dynamic access control with custom roles.
Roles and permissionsEnabling teams, creating them, managing members and limits.
TeamsHooks around organization actions, and schema customization.
Lifecycle hooks and schemaOwner protection, organization deletion and invitation security.
Deleting an organization removes its members, invitations and teams.
Delete ·
Security considerations
From the official docs
Permissions
Low risk
The skill holds instructions, but its setup step runs a CLI command that can change your database schema. Try it on a dev database first.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Migrate commands change your database
The setup steps run npx auth@latest migrate, or generate plus a Drizzle or Prisma push. Run them against a dev database first. github.com
Organization deletion removes members and teams
SKILL.md says deleting an organization removes members, invitations and teams. It shows disableOrganizationDeletion: true as a guard. github.com
Technical details
| Talks to | npm registry (npx auth@latest) |
|---|---|
| Scopes |
|
Questions
How do I install it?
Use the install box above. It installs only organization-best-practices, not the other five skills in the repo.
Which Better Auth skill should I install?
The better-auth/skills repo has six: best-practices (setup and config), create-auth (planning and scaffolding), security, emailAndPassword, organization and twoFactor. Start with create-auth for a new project and best-practices for config questions, then add the topic skill you need.
Can it delete organizations?
The plugin can. SKILL.md warns that deleting an organization removes members, invitations and teams, and shows disableOrganizationDeletion: true and a soft-delete hook to prevent accidents.
Is it safe to install?
The folder is one Markdown file with no scripts, so installing adds instructions only. Organization deletion removes members, invitations and teams, so use the disable option the skill shows for production.
Does it work in the Claude app or Codex?
The install box lists a zip upload for the Claude app and a skills folder for Codex. The repo has no README, so the author does not say which clients it supports.
Information
updated Nov 2, 2026
- Repository
- better-auth/skills
- Folder
better-auth/organization
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- SKILL.md · github.com
- skills.sh listing · skills.sh
- Repository · github.com
- Using skills in Claude · support.claude.com
- Claude Code skills · code.claude.com