flutter-firebase-core-engineering

flutter-firebase-core-engineering is a skill for Codex from ariaramin/flutter-skills. It costs 172 tokens per session (2,075 once invoked), scanned A, original, MIT.

A guide for configuring Firebase Core in Flutter, the foundation that connects an app to one or more Firebase projects. It covers app instances, platform settings, build variants, and startup initialization.

In plain words
What is it for?
Use it to set up or review Firebase initialization, platform files, flavors, secondary Firebase apps, package and bundle identifiers, and startup or background configuration.
Why use it?
It helps prevent an app from connecting to the wrong Firebase project or starting Firebase incorrectly on a supported platform. It also separates shared setup from the configuration of individual Firebase products.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to set up or review Firebase initialization, platform files, flavors, secondary Firebase apps, package and bundle identifiers, and startup or background configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-firebase-core-engineering
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 ariaramin/flutter-skills --skill flutter-firebase-core-engineering
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: 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 flutter-firebase-core-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering/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 flutter-firebase-core-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-firebase-core-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,075 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.00172 $0.02075
Opus 5.5 $0.00069 $0.00830
Sonnet 5.5 $0.00034 $0.00415
Haiku 4.5 $0.00017 $0.00208

Measured 1mo ago against content hash 7244346e358c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-firebase-core-engineering 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 1mo 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/flutter-firebase-core-engineering/SKILL.md · 150 lines

How it starts

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

Flutter Firebase Core Engineering

Treat Firebase Core as app-instance and configuration infrastructure. Keep its lifecycle distinct from every downstream FlutterFire product.

Start with evidence

Before changing code or configuration:

  1. Inspect pubspec.yaml, pubspec.lock, Flutter/Dart constraints, target platforms, flavors/build configurations, and downstream FlutterFire plugins.
  2. Identify the locked firebase_core and platform implementation versions, plus the installed flutterfire CLI version.
  3. Find every Firebase.initializeApp, Firebase.app, Firebase.apps, secondary-app creation/deletion, and background entry point.
  4. Inspect firebase_options.dart, Android service files/Gradle wiring, Apple plist/bundle wiring, Web configuration, and Windows development setup.
  5. Map each build flavor/configuration to its exact Firebase project and app registration; compare project IDs, app IDs, package names, and bundle IDs.
  6. Audit privileged credentials and all Firebase/product work before runApp.
  7. Verify the platform matrix of every downstream plugin; Core support alone is not sufficient.

The bundled guide was validated against firebase_core 4.13.0 and FlutterFire CLI 1.4.0 on 2026-08-11. Use the installed package/CLI documentation and changelogs as the source of truth when versions differ.

Preserve these invariants

  • Initialize Firebase once per intended app instance.
  • Use one [DEFAULT] app for the normal application case.
  • Centralize bootstrap ownership; do not initialize Firebase from screens, repositories, or unrelated services.
  • Call WidgetsFlutterBinding.ensureInitialized() when plugin access precedes runApp, and keep binding initialization and runApp in the same zone.
  • Still call Firebase.initializeApp() from Flutter when native Android/Apple files auto-configure the native default app.
  • Initialize Core before using any FlutterFire product plugin.
  • Do not eagerly initialize every Firebase product merely because Core exists.
  • Prefer flutterfire configure and generated platform-aware firebase_options.dart; do not hand-edit generated options.
  • Treat Firebase client options and API keys as client configuration, not Admin authorization. Protect access with product security rules and API-key restrictions where applicable.
  • Never ship service-account JSON, Admin SDK credentials, private keys, signing secrets, database credentials, or privileged server tokens in Flutter.
  • Select dev/staging/production projects deterministically at build time and keep Dart options aligned with native service files for the same build.
  • Prefer separate Firebase projects for isolated environments.
  • Do not use kDebugMode as the complete environment-selection model.
  • Do not dynamically delete/recreate or switch the default app for ordinary user tenancy or logout.
  • Create secondary apps only for genuine simultaneous multi-project needs, then verify every downstream plugin supports the named app.
  • Do not use Firebase.apps.isEmpty as a scattered lifecycle guard.
  • Treat core/duplicate-app and configuration mismatch as deterministic defects, not transient failures to retry blindly.
  • Initialize explicitly in background entry points that execute in a separate Dart isolate when their workflow requires Firebase.
  • Do not use production Firebase projects for automated tests.
  • Do not assume Core configures each product's emulator automatically.
  • Do not claim Linux support when no platform implementation is registered.
  • Treat Windows Firebase support as development-oriented unless current official guidance explicitly establishes production support.
  • Measure startup in profile/release-like builds and separate Core cost from registered plugin and remote-service work.

Read the full file on GitHub · 150 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. 1mo ago First seen · 150 lines · 172 tokens per session scan A 7244346e358c

Subscribe to this mod's changes

flutter-firebase-core-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 172 tokens to every session and 2,075 once invoked, about $0.0007 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-10-11.

Related

flutter-firebase-core-engineering compared with skills from other repositories

flutter-firebase-core-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-firebase-core-engineeringariaramin/flutter-skillsSkill1123d agoMITA172Codex
omh-apple-designrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
platform-conventionsOwl-Listener/designer-skillsSkill3.5k11d agoMITA55Claude Code, Codex
redteam-mobile-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA57Claude Code, Codex
android-pentestNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA32Claude Code, Codex
offline-syncWrongStack/WrongStackSkill444todayMITA85Claude Code, Codex
flutter-mobileWrongStack/WrongStackSkill444todayMITA86Claude Code