Agent skill · Better Auth
Better Auth Best Practices
Officialname: better-auth-best-practices★ 225 (repo)pushed 2026-10-19SKILL.md on GitHubchecked 2026-10-24
Install
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
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (auth-skills), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add better-auth/skills /plugin install <plugin>@better-auth-agent-skills # or only this skill: npx skills add better-auth/skills --skill better-auth-best-practices -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/better-auth/skills.git /tmp/best-practices-src cp -r /tmp/best-practices-src/better-auth/best-practices ./better-auth-best-practices zip -r better-auth-best-practices.zip better-auth-best-practices
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add better-auth/skills --skill better-auth-best-practices -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install better-auth/skills better-auth-best-practices
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add better-auth/skills --skill better-auth-best-practices -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/better-auth/skills.git --path better-auth/best-practices
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add better-auth/skills --skill better-auth-best-practices -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add better-auth/skills --skill better-auth-best-practices -a windsurf
More from better-auth/skills
- Create Auth (Better Auth): Scaffolds sign-in for a TypeScript app with Better Auth, OAuth providers and auth pages.
Other security & auth skills
- Security Best Practices Review · OpenAI
- Security Threat Model · OpenAI
- Sign In With Google (Web) · Google
- Agentic Actions Auditor · Trail of Bits
- CodeQL Scan · Trail of Bits
- Constant-Time Analysis · Trail of Bits
- Differential Security Review · Trail of Bits
- Semgrep Rule Creator · Trail of Bits
FAQ
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.
Which agents can use Better Auth Best Practices?+
Any agent that reads the Agent Skills format (SKILL.md): 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. All agent skills · MCP servers