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.
npx agentmods add skills/cookiemonsterdev/agents-skills/firebase-docsnpx skills add cookieMonsterDev/agents-skills --skill firebase-docsgit clone --depth 1 https://github.com/cookieMonsterDev/agents-skillsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00091 | $0.01190 |
| Opus 5 | $0.00046 | $0.00595 |
| Sonnet 5 | $0.00018 | $0.00238 |
| Haiku 4.5 | $0.00009 | $0.00119 |
Grade A, and why
firebase-docs 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Firebase questions are easy to answer from stale memory or by conflating Firestore with the older Realtime Database. Use this skill to ground answers in the official Firebase documentation and return the closest authoritative page instead of generic backend-as-a-service advice.
When to Use
Use this skill when the request is about:
- Firebase Authentication: sign-in methods, session management, and the Admin SDK
- Cloud Firestore: data model, queries, indexes, and security rules
- Realtime Database: JSON tree structure, queries, and security rules
- Cloud Functions for Firebase: triggers, HTTP functions, and deployment
- Firebase Hosting: deploys, rewrites, and custom domains
- Cloud Storage for Firebase: uploads, downloads, and storage security rules
- Cloud Messaging (FCM), Remote Config, Crashlytics, App Check, and Firebase Extensions
- Client SDK setup for Web, iOS, Android, Flutter, Unity, and C++
- Firebase Security Rules language and testing rules with the emulator suite
- Firebase project setup, pricing tiers, and the Firebase CLI
Do not use this skill for:
- Underlying Google Cloud Platform services (Cloud Run, BigQuery, Compute Engine) unless accessed specifically through a Firebase product. Use general GCP documentation for those.
- MongoDB, DynamoDB, or other NoSQL databases unless the user is explicitly comparing them to Firestore or Realtime Database.
- General mobile or web app architecture questions unless they concern a specific Firebase SDK or service.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Project setup and SDK installation (Web, iOS, Android, Flutter)
- Authentication
- Firestore vs Realtime Database
- Cloud Functions
- Hosting
- Cloud Storage
- Messaging, Remote Config, Crashlytics, App Check
- Security Rules and the emulator suite
- Extensions and pricing
If you need a quick starting point, load references/topic-map.md and jump to the closest section.
2. Search official Firebase docs first
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.
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.
- 3d ago First seen · 102 lines · 91 tokens per session scan A 86b2aed075f5
firebase-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (4 stars, last pushed 13d ago), licensed MIT. It adds 91 tokens to every session and 1,190 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
alloydb-basics
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations. Use when creating, configuring, or administering AlloyDB databases. Do NOT use for general PostgreSQL instances (e.g. Cloud SQL) or other GCP databases.
bigtable-basics
Assists in provisioning instances/tables, designing performant schemas, and querying data in Bigtable. Use when designing Bigtable row keys, configuring column families, writing SQL queries or client library code (Java, Go, Python) for Bigtable, or diagnosing performance/hotspotting issues. Also use when provisioning…
cloud-databases-onboarding
Guides users through discovering their database requirements, recommends a Google Cloud database based on a recommendation matrix, and assists in database creation. Use when a user asks 'What database service should I use?', 'Help me pick a database', or when a user wants to create a new database on Google Cloud.…
cloud-sql-basics
This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server. Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source…
bigquery-basics
Manages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views), or perform basic data ingestion and analysis.
clinpgx-database
Access ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genotype-guided dosing decisions.