firebase

firebase is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 40 tokens per session (1,976 once invoked), scanned A, original, MIT.

A guide to Firebase, Google’s hosted platform for user sign-in, databases, file storage, server functions, web hosting, and push notifications. It explains how client apps, server code, and Firebase security rules should work together.

In plain words
What is it for?
Use it to add Firebase authentication and data storage, write and test security rules locally, build cloud functions, send notifications, and set service permissions.
Why use it?
It helps prevent exposed server credentials, weak database access rules, unsafe queries, and untested production changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit Use it to add Firebase authentication and data storage, write and test security rules locally, build cloud functions, send notifications, and set service permissions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/firebase
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill firebase
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for firebase

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/firebase/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/firebase)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/firebase"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/firebase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for firebase

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/firebase"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/firebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,976 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01976
Opus 5.5 $0.00016 $0.00790
Sonnet 5.5 $0.00008 $0.00395
Haiku 4.5 $0.00004 $0.00198

Measured 6d ago against content hash f7ba34e7309d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

firebase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/firebase/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Firebase Platform AI Skill Guide (Claude)

Overview & Engine Architecture

Firebase sits on a Google Cloud project: Auth, Firestore / Realtime Database, Storage, Cloud Functions, Hosting, and FCM. Client config is public; authorization is Security Rules + ID tokens, not obscurity. The Admin SDK bypasses Rules and must stay server-only. Agents write Rules first, test with the Emulator Suite, never set FIREBASE_AUTH_EMULATOR_HOST in production, and remember the Firestore emulator does not enforce composite indexes.

┌─────────────────────────────────────────────────────────────┐
│                 Firebase client → data plane                  │
│                                                             │
│  Client SDKs (web / iOS / Android / Flutter)                │
│  ├── Public firebaseConfig (apiKey is not a secret)         │
│  └── ID token → Auth                                        │
│                                                             │
│  Firestore / Storage                                        │
│  ├── Security Rules (request.auth, resource.data, claims)   │
│  └── Indexes required in prod (emulator may skip)           │
│                                                             │
│  Trusted server                                             │
│  ├── Cloud Functions / your backend + Admin SDK             │
│  ├── Custom claims (small; force token refresh)             │
│  └── FCM (no full emulator — can hit real messaging)        │
└─────────────────────────────────────────────────────────────┘

When to use / when not to

Use when

  • Adding Auth + Firestore/Storage to mobile/web apps with Rules and Emulator tests.
  • Implementing callable/HTTP Cloud Functions with least-privilege service accounts.
  • Wiring FCM with server-side sends and careful prod/emulator boundaries.

Do not use when

  • You need relational SQL, joins, and Postgres RLS as the primary model → @supabase.
  • The task is only deploying a static/Next frontend with no Firebase backend → @vercel / @nextjs.
  • Someone asks for allow read, write: if true in production, embedding service-account JSON in apps, or inventing GCP keys → refuse.

Read the full file on GitHub · 191 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +90 lines · +16 tokens per session f7ba34e7309d
  2. 1mo ago Changed · -7 tokens per session 154655abdac6
  3. 1mo ago First seen · 101 lines · 31 tokens per session scan A 5fe8ab603f79

Subscribe to this mod's changes

firebase is a skill published in the GitHub repository alivirgo/Major-AI-Skills (2 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,976 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

firebase

Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…

ericrisco/rsc-harness · 77 tokens

api-rate-limit-handler

Implement bounded, idempotency-aware API throttling, backoff, and retry handling for 429 and transient 5xx responses.

sickn33/agentic-awesome-skills · 32 tokens

api-endpoint-builder

Builds reviewable REST API endpoint scaffolds with validation, error handling, authentication, and documentation. Follows best practices for security and scalability.

sickn33/agentic-awesome-skills · 34 tokens

api-contract-testing

Design and review API contract tests across providers and consumers. Use for schema changes, compatibility regressions and client integration failures.

sickn33/agentic-awesome-skills · 28 tokens

firestore-better-auth

Use Firestore as the database adapter for Better Auth (Firebase Admin SDK). Use when storing Better Auth users, sessions, accounts, and verification tokens in Firestore, migrating from Auth.js/NextAuth Firebase adapter to Better Auth, setting up Better Auth with a Firebase/Firestore backend, upgrading a…

yultyyev/better-auth-firestore · 100 tokens

algolia-search-v2

Algolia Search Integration workflow skill. Use this skill when the user needs Expert patterns for Algolia search implementation, indexing and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 50 tokens