Agent skill · Better Auth

Create Auth (Better Auth) skill for Claude Code, Codex and Cursor

Scaffolds sign-in for a TypeScript app with Better Auth, OAuth providers and auth pages.

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

What it does, in the publisher's words

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

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 Create Auth (Better Auth)

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 create-auth

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

19 sections
  • Phase 1: Planning (REQUIRED before implementation)
  • Step 1: Scan the project
  • Step 2: Ask planning questions
  • Step 3: Summarize the plan
  • Phase 2: Implementation
  • Installation
  • Environment Variables
  • Server Config (auth.ts)
  • Client Config (auth-client.ts)
  • Route Handler Setup
  • Database Migrations
  • Database Adapters
  • Drizzle + PostgreSQL Setup
  • Drizzle Config (drizzle.config.ts)
  • Common Plugins
  • Auth UI Implementation
  • Security Checklist
  • Troubleshooting
  • Resources

Facts

Skill name
create-auth
Publisher
Better Auth (official)
Repo
better-auth/skills
SKILL.md size
1,503 words, 386 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 create-auth skill do?+

Scaffolds sign-in for a TypeScript app with Better Auth, OAuth providers and auth pages. In its own SKILL.md, Better Auth describes it as: "Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages."

How do I install the create-auth skill?+

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

Does Create Auth (Better Auth) 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 Create Auth (Better Auth)?+

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