better-auth-plugins by bobmatnyc/claude-mpm-skills
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill better-auth-pluginsbetter-auth/plugins 导入插件并将其添加到 plugins 中。generate 或 migrate)。better-auth/client/plugins 添加客户端插件。import { betterAuth } from "better-auth";
import { twoFactor } from "better-auth/plugins";
export const auth = betterAuth({
plugins: [twoFactor()],
});
import { createAuthClient } from "better-auth/client";
import { twoFactorClient } from "better-auth/client/plugins";
export const authClient = createAuthClient({
plugins: [twoFactorClient({ twoFactorPage: "/two-factor" })],
});
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
当插件添加表时,运行 CLI:
npx @better-auth/cli generate
npx @better-auth/cli migrate
nextCookies(如果使用)在服务器插件列表的最后。toolchains/platforms/auth/better-auth/better-auth-plugins/references/plugins-index.md每周安装量
75
代码仓库
GitHub 星标数
20
首次出现
2026年1月23日
安全审计
已安装于
opencode55
codex54
claude-code54
cursor52
gemini-cli50
github-copilot50
better-auth/plugins and add it to plugins.generate or migrate) when required.better-auth/client/plugins.import { betterAuth } from "better-auth";
import { twoFactor } from "better-auth/plugins";
export const auth = betterAuth({
plugins: [twoFactor()],
});
import { createAuthClient } from "better-auth/client";
import { twoFactorClient } from "better-auth/client/plugins";
export const authClient = createAuthClient({
plugins: [twoFactorClient({ twoFactorPage: "/two-factor" })],
});
Run the CLI when a plugin adds tables:
npx @better-auth/cli generate
npx @better-auth/cli migrate
nextCookies (if used) last in the server plugin list.toolchains/platforms/auth/better-auth/better-auth-plugins/references/plugins-index.mdWeekly Installs
75
Repository
GitHub Stars
20
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
opencode55
codex54
claude-code54
cursor52
gemini-cli50
github-copilot50
xdrop 文件传输脚本:Bun 环境下安全上传下载工具,支持加密分享
40,400 周安装