Firebase AI Logic Basics
Skill Verified ActiveOfficial skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
To enable developers to easily integrate Google's Gemini AI models into their web and mobile applications using Firebase services, simplifying setup, usage, and security considerations.
Features
- Firebase AI Logic (Gemini API) integration
- Setup and initialization guidance
- Multimodal inference (text, images, audio, video, PDF)
- Chat session management (multi-turn)
- Streaming response handling
- Structured JSON output enforcement
- Security best practices (App Check, backend provisioning)
Use Cases
- Adding generative AI features to web applications using Firebase.
- Implementing image analysis and captioning within a mobile app.
- Building conversational AI interfaces powered by Gemini models within Flutter apps.
- Enforcing structured output for AI-generated content in a project.
Non-Goals
- Providing a backend for AI model hosting (Firebase handles this).
- Replacing the core Firebase SDKs or CLI functionalities.
- Implementing AI model training or fine-tuning.
Prerequisites
- Node.js 16+
- Firebase CLI
- Firebase Project setup
Documentation
- info:Configuration & parameter referenceWhile the SKILL.md mentions Node.js 16+ as a prerequisite and references Firebase docs for setup, it does not explicitly document all potential configuration parameters or their defaults for the AI Logic SDK itself. The core initialization is shown, but detailed parameter options are likely found in external Firebase documentation.
Practical Utility
- info:Edge casesWhile the skill mentions prerequisites like Node.js 16+ and points to Firebase docs for unsupported platforms, it doesn't explicitly document failure modes (e.g., network issues, rate limits, invalid API keys) with specific symptoms and recovery steps. The critical safety requirement for App Check is highlighted, but other edge cases could be more detailed.
Installation
First, add the marketplace
/plugin marketplace add firebase/agent-skills/plugin install agent-skills@firebaseQuality Score
VerifiedTrust Signals
Similar Extensions
Auth0 Quickstart
99Use when adding authentication or login to any app - detects your stack (React, Next.js, Vue, Nuxt, Angular, Express, Fastify, FastAPI, ASP.NET Core, React Native, Expo, Android, Swift), sets up an Auth0 account if needed, and routes to the correct SDK setup workflow.
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Trading Memory
100Domain knowledge for AI trading memory — Outcome-Weighted Memory (OWM) architecture, 5 memory types, recall scoring, and behavioral analysis. Use when recording trades, recalling similar contexts, analyzing performance, or checking behavioral drift. Triggers on "record trade", "remember trade", "recall", "similar trades", "performance", "behavioral", "disposition", "affective state", "confidence".
TradeMemory Protocol
100Domain knowledge for the Evolution Engine — LLM-powered autonomous strategy discovery from raw OHLCV data. Covers the generate-backtest-select-evolve loop, vectorized backtesting, out-of-sample validation, and strategy graduation. Use when discovering trading patterns, running backtests, evolving strategies, or reviewing evolution logs. Triggers on "evolve", "discover patterns", "backtest", "evolution", "strategy generation", "candidate strategy".
Image Transformation API
100Transform images with resize, crop, smart crop, upscale, remove background, and 20+ operations.
Azure Ai Document Intelligence Dotnet
100Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".