PlugWiki

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. 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. 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

  1. Setup
  2. Client-Side Setup
  3. Creating Organizations
  4. Controlling Organization Creation
  5. Creating Organizations on Behalf of Users
  6. Active Organizations
  7. Members
  8. Adding Members (Server-Side)
  9. Assigning Multiple Roles
  10. Removing Members
  11. Updating Member Roles
  12. Membership Limits
  13. Invitations
  14. Setting Up Invitation Emails
  15. Sending Invitations
  16. Shareable Invitation URLs

Key facts

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 · Setup

  • Creation, limits on who can create, and creating on behalf of users.

    Creating organizations

  • Setting and reading the user's current organization.

    Active organizations

  • Add, remove, update roles, assign multiple roles and set membership limits.

    Members

  • Invitation emails, sending, shareable URLs and config.

    Invitations

  • Checking permissions and dynamic access control with custom roles.

    Roles and permissions

  • Enabling teams, creating them, managing members and limits.

    Teams

  • Hooks around organization actions, and schema customization.

    Lifecycle hooks and schema

  • Owner 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 tonpm registry (npx auth@latest)
Scopes
  • Database connection string (yours)

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

Folder
better-auth/organization

better-auth/skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 5
  1. SKILL.md · github.com
  2. skills.sh listing · skills.sh
  3. Repository · github.com
  4. Using skills in Claude · support.claude.com
  5. Claude Code skills · code.claude.com

Updated Nov 2, 2026.