Agent skill · Better Auth

Better Auth Best Practices skill for Claude Code, Codex and Cursor

Configures Better Auth server and client, database adapters, sessions and plugins.

Officialname: better-auth-best-practices★ 225 (repo)pushed 2026-10-19SKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Better Auth Best Practices

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add better-auth/skills --skill better-auth-best-practices

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

18 sections
  • Documentation Version
  • Setup Workflow
  • Quick Reference
  • Environment Variables
  • File Location
  • CLI Commands
  • Core Config Options
  • Database
  • Session Management
  • User & Account Config
  • Email Flows
  • Security
  • Hooks
  • Plugins
  • Client
  • Type Safety
  • Common Gotchas
  • Resources

Facts

Skill name
better-auth-best-practices
Publisher
Better Auth (official)
Repo
better-auth/skills
SKILL.md size
952 words, 188 lines
Repo stars
225 (as of 2026-10-24)
SKILL.md checked
2026-11-07

More skills from better-auth/skills

Related security & auth skills

FAQ

What does the better-auth-best-practices skill do?+

Configures Better Auth server and client, database adapters, sessions and plugins. In its own SKILL.md, Better Auth describes it as: "Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration."

How do I install the better-auth-best-practices skill?+

Run npx skills add better-auth/skills --skill better-auth-best-practices and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/better-auth-best-practices/SKILL.md; in Codex and Cursor in .agents/skills/better-auth-best-practices/.

Does Better Auth Best Practices work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains Better Auth Best Practices?+

Better Auth, the company or project behind it, in the better-auth/skills repo on GitHub, last pushed 2026-10-19.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers