firebase-auth-better-auth SKILL.md skillA

firebase-auth-better-auth from yultyyev/better-auth-firebase-auth is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yultyyev/better-auth-firebase-auth/firebase-auth-better-auth@git:20260707.2543653

Pins git:20260707.2543653 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yultyyev/better-auth-firebase-auth
Path
SKILL.md
Versions recorded
2
Latest version
git:20260707.2543653, committed Jul 7, 2026
First version recorded
Jun 4, 2026
Size
7,316 bytes
Repository stars
20
License
MIT

Add Firebase Authentication (Phone SMS OTP, Google Sign-In, Email/Password) to a Better Auth app using the better-auth-firebase-auth plugin. Use when adding phone authentication to Better Auth without Twilio, integrating Firebase Auth with Better Auth sessions, working with the better-auth-firebase-auth package, or deciding between Firebase Phone Auth and Better Auth's built-in phoneNumber plugin.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Firebase Auth + Better Auth

`better-auth-firebase-auth` bridges Firebase Authentication identity providers into Better Auth sessions. Firebase verifies the user; Better Auth owns the session, users, and plugins.

**Package:** `better-auth-firebase-auth` — [GitHub](https://github.com/yultyyev/better-auth-firebase-auth) · [npm](https://www.npmjs.com/package/better-auth-firebase-auth)

---

## Decision: Firebase Phone Auth vs Better Auth `phoneNumber` plugin

**Use `better-auth-firebase-auth`** when:
- You want phone auth without setting up Twilio or any SMS provider
- You are already using Firebase in your project
- You want Google to manage SMS delivery, reCAPTCHA, and fraud prevention

**Use Better Auth's built-in `phoneNumber` plugin** when:
- You want no Firebase dependency
- You need a specific SMS provider for compliance or cost reasons

---

## Install

```bash
pnpm add better-auth-firebase-auth firebase-admin firebase better-auth
```

---

## Import paths — CRITICAL

Always split server and client imports. Never import `firebase-admin` into client bundles.

```ts
// Server ONLY (API routes, server components, server actions)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yultyyev/better-auth-firebase-auth/firebase-auth-better-auth@sha256:44710fe81ecdfad0

The line at the top of this page pins the label git:20260707.2543653, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tnqaehoohfpbbsyc.svg)](https://markdownregistry.com/a/art_tnqaehoohfpbbsyc)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jun 4, 2026 and Jul 7, 2026, about one every 33 days.

versioncommittedcommitsizeaudit
git:20260707.2543653 latest2026-07-07 2543653 7,316 BA view · diff
git:20260604.3ac0dc22026-06-04 3ac0dc2 5,951 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7316 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yultyyev/better-auth-firebase-auth · 20 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tnqaehoohfpbbsyc
GET https://markdownregistry.com/api/v1/resolve?ref=yultyyev/better-auth-firebase-auth/firebase-auth-better-auth
GET https://markdownregistry.com/api/v1/blob/44710fe81ecdfad02271bbad5de54507946ca31742d93113e354177cdb0c28f9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yultyyev/better-auth-firebase-auth

AGENTS.md AGENTS.md file
yultyyev/better-auth-firebase-auth · AGENTS.md
git:20261009.75b2126 · audit A · 20 stars
CLAUDE.md CLAUDE.md file
yultyyev/better-auth-firebase-auth · CLAUDE.md
git:20261009.076b252 · audit B · 20 stars
AGENTS.md@examples/minimal AGENTS.md file
yultyyev/better-auth-firebase-auth · examples/minimal/AGENTS.md
git:20260326.881431a · audit A · 20 stars

Every file in yultyyev/better-auth-firebase-auth

Browse by kind, by grade A, or by owner.