All skills
firebase avatar

/firebase-basics

@073edf7
by firebasefirebase/skills461 stars
102

Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.

Use this Skill: https://skilld.dev/gh/firebase/skills/firebase-basics

This session only. Nothing lands on disk.

referencessetupgemini_cli.md

≈510 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Gemini CLI Setup

To get the most out of Firebase in the Gemini CLI, follow these steps to install the agent extension and the MCP server.

Recommended: Installing Extensions

The best way to get both the agent skills and the MCP server is via the Gemini extension.

1. Install and Verify Firebase Extension

Check if the extension is already installed before proceeding:

  1. Check Existing Extensions: Run gemini extensions list. If the output includes firebase, the extension is already installed.
  2. Install Extension: If not found, run the following command to install the Firebase agent skills and MCP server:
    gemini extensions install https://github.com/firebase/agent-skills
  3. Verify Installation: Run the following checks to confirm installation:
    • gemini mcp list -> Output should include firebase-tools.
    • gemini skills list -> Output should include firebase-basic.

2. Restart and Verify Connection

  1. Restart Gemini CLI: Instruct the user to restart the Gemini CLI if any new installation occurred. Stop and wait for their confirmation before proceeding.

Alternative: Manual MCP Configuration (Project Scope)

If the user only wants to use the MCP server for the current project:

1. Configure and Verify Firebase MCP Server

  1. Check Existing Configuration: Run gemini mcp list. If the output includes firebase-tools, the MCP server is already configured.
  2. Add the MCP Server: If not found, run the following command to configure the Firebase MCP Server:
    gemini mcp add -e IS_GEMINI_CLI_EXTENSION=true firebase npx -y firebase-tools@latest mcp
  3. Verify Configuration: Re-run gemini mcp list to confirm firebase-tools is connected.

2. Restart and Verify Connection

  1. Restart Gemini CLI: Instruct the user to restart the Gemini CLI. Stop and wait for their confirmation before proceeding.

Source: SKILL.md on GitHub

2 warningstoday5 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill provides a comprehensive suite of instructions for initializing and managing Firebase projects across various development environments. It follows standard industry practices for setting up cloud infrastructure, including downloading tools from official sources (npm, Google, GitHub) and configuring local environments. The 'low' verdict is assigned due to the inherent attack surface for indirect prompt injection when processing user-supplied identifiers like Project IDs in shell commands, though no malicious intent was detected.

  • Sockettoday

    1 alert: gptAnomaly

  • Snyktoday

    Risk: LOW · No issues

  • Runlayer6mo

    2 files scanned · No issues

  • ZeroLeaks5mo

    1 finding · Score: 69/100

Signed by skilld at 073edf7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 months ago
metadata
{
  "category": "CloudInfrastructureAndServices"
}
  • firebase
  • firebase-cli
  • authentication
  • project-setup
  • google-services
  • web
  • android
  • ios

README badge

README badge for firebase/skills/firebase-basics

Provides foundational Firebase CLI setup, authentication, and project management for initializing Firebase environments. Use for checking the Firebase CLI version, logging in, setting active projects, and retrieving config files like google-services.json for Android or GoogleService-Info.plist for iOS.

Generated from the current SKILL.md.

Does this skill handle Firebase authentication setup?
Yes. It covers Firebase CLI authentication via `npx -y firebase-tools@latest login`, including the `--no-localhost` flag for environments without a browser.
What Firebase operations does this skill support?
It provides CLI-based workflows for checking Firebase CLI version, initializing Firebase environments, authenticating, managing active projects, and retrieving `google-services.json` and `GoogleService-Info.plist` config files for Android and iOS apps.
Can I use this skill to create a new Firebase project?
Yes. The skill includes the `npx -y firebase-tools@latest projects:create` command to create new projects with a globally unique project ID.
Does this skill work with Genkit?
The skill acknowledges Genkit usage and notes that the genkit-ai/skills package should be installed separately when using Genkit.

Generated from the current SKILL.md. These answers refresh after source changes.