Firebase's official skill for adding Crashlytics crash reporting to Android, iOS and web apps, customising reports, and reading crash data through the Firebase CLI's MCP server.
Firebase AI Logic Basics Skill
Firebase's official skill for calling Gemini from Android, iOS, web and Flutter apps with Firebase AI Logic: provisioning, SDK setup, chat, streaming, TTS, structured output and App Check.
Install
Other ways to install
About
- Provisions Firebase AI Logic with firebase init ailogic
- SDK setup for Android (Kotlin), iOS (Swift), web and Flutter
- Text, multimodal, chat and streaming generation with Gemini
- Client-side text-to-speech and Nano Banana image generation
- Structured JSON output, Search grounding and hybrid on-device inference
- App Check protection and Remote Config model switching
firebase-ai-logic-basics comes from firebase/agent-skills, Google's official skills for Firebase. It teaches an agent to add Firebase AI Logic (formerly Vertex AI for Firebase) to a mobile or web app, so client code can call Gemini models without the developer running a backend.
Setup. Identify the target platform (Android, iOS, web or Flutter) first. Then, through the Firebase CLI on Node.js 20+, confirm the active project, make sure an app for that platform is registered, and run firebase init ailogic. The skill is emphatic that this provisioning step is required even for apps that already use Firebase, since the config files alone lead to PERMISSION_DENIED, and that if the agent cannot run it, it must tell the user to. It defaults to the Gemini Developer API (free tier for prototyping) over the Agent Platform Gemini API, which needs the Blaze plan.
Capabilities covered. Text and multimodal generation (images, audio, video, PDF, with Cloud Storage for files over 20 MB), multi-turn chat with startChat, streaming with generateContentStream, text-to-speech with single or two-speaker voices, image generation with Nano Banana (Blaze plan), Google Search grounding, structured JSON output and hybrid on-device inference.
Production. Firebase App Check, including debug tokens for local development and CI, and Remote Config for switching model names without a release. It warns the agent never to use Gemini 1.x or 2.x model names and to check the current models page. Per-platform reference files hold the initialization code. Authored by Google.
Try it
Once installed, ask your agent something like:
Add Firebase AI Logic to this Flutter app and build a screen that streams a Gemini answer about a photo the user picks.
SKILL.md
The instructions your agent loads, as published by Firebase.
Related Skills
See all Firebase AI Logic Basics alternativesExpo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.
Expo's official skill for building development clients with EAS Build, locally or in the cloud, and shipping them to testers through TestFlight or direct installs.
Skill: React Native Best Practices
by Callstack
Callstack's official React Native performance skill: a priority-ordered framework for FPS, time-to-interactive, bundle size, memory leaks and re-render problems.