firebase

firebase is a skill for Claude Code, Codex from fmind/dot. It costs 37 tokens per session (1,055 once invoked), scanned A, original, MIT.

A workflow for building and deploying Firebase backends, including user sign-in, Firestore data storage, server functions, and web hosting. Firebase is Google's managed platform for these application services.

In plain words
What is it for?
Use it to initialize Firebase features, configure Firestore rules and indexes, run local emulators, connect a TypeScript or Angular app, and deploy hosting or server-rendered applications.
Why use it?
It gives an app a documented local development and deployment path, including emulators that let you test services without using the live project.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fmind/dot/firebase
Any agent
npx skills add fmind/dot --skill firebase
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

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/fmind/dot/firebase.svg)](https://agentmods.dev/skills/fmind/dot/firebase)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/firebase"><img src="https://agentmods.dev/badge/skills/fmind/dot/firebase.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,055 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.01055
Opus 5 $0.00018 $0.00528
Sonnet 5 $0.00007 $0.00211
Haiku 4.5 $0.00004 $0.00105

Measured today against content hash e6610732b6e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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 · 67 lines

How it starts

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

Firebase Standard

Firebase is the default backend and hosting for TypeScript web apps: Auth, Firestore, Cloud Functions, Hosting for static bundles, App Hosting for SSR. The firebase CLI comes from mise; the upstream skills carry the product detail, so this skill fixes the workflow, the local loop, and the deploy authority.

1. Setup

  1. Authenticate once: firebase login (or firebase login --no-localhost on a headless machine); firebase projects:create <project-id> or firebase use <project-id> in the repo.
  2. Initialize features: firebase init <feature> for firestore, hosting, functions, or apphosting; answers land in firebase.json, .firebaserc, firestore.rules, and firestore.indexes.json, all committed.
  3. Angular integration: ng add @angular/fire in the app per angular; keep the Firebase config in src/environments/ and never commit service-account keys.

2. Local Loop

firebase emulators:start                      # Auth, Firestore, Functions, Hosting on localhost with the Emulator UI
firebase emulators:exec "mise run test"       # run the suite against emulators, then stop them
  • Point the app at the emulators in development (connectAuthEmulator, connectFirestoreEmulator) behind an environment flag, never in production builds.
  • Rules are tested with @firebase/rules-unit-testing against the emulator; run them from mise run test so hooks and CI cover them.

3. Deploy

firebase deploy --only firestore:rules,firestore:indexes   # rules first, reviewed as code
firebase deploy --only hosting                            # static bundle from mise run build
firebase hosting:channel:deploy preview-<branch> --expires 7d   # preview URL for review
firebase deploy --only functions                          # Cloud Functions (2nd gen, Node LTS)
firebase deploy --only apphosting                         # SSR backends (Blaze plan)
  • Expose deployment as an explicit deploy mise task per mise; it never runs from a hook because it mutates production and can cost money.
  • CI deploys authenticate with Workload Identity Federation (google-github-actions/auth) and firebase deploy --project <id>; no FIREBASE_TOKEN secrets — see github-actions.
  • Audit the rules with the upstream security-rules skill before every rules deploy; its score and findings go in the PR.

Read the full file on GitHub · 67 lines

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. today Changed e6610732b6e2
  2. yesterday First seen · 67 lines · 37 tokens per session scan A 8fdf46b14552

Subscribe to this mod's changes

firebase is a skill published in the GitHub repository fmind/dot (4 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,055 once invoked, about $0.0002 per session on Opus 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-03.